views:

158

answers:

3

Are the extra J2EE libraries required to run Hibernate standalone Java applications, or is the standard SDK sufficient?

Thank you.

+4  A: 

Hibernate works just fine on JSE. It can be used as a JPA implementation on JEE, but JPA, as well, can be used just fine on JSE.

Daniel Ribeiro
+1  A: 

Any JPA provider, including Hibernate, can be used outside of a J(2)EE container. There are some instructions for a few providers in ORMs vs SQL: The JPA Story.

cletus
+3  A: 

J2EE is not required to run Hibernate. I think a good place to start is with the Hibernate documentation. I think it is very intuitive and easy to follow.
http://docs.jboss.org/hibernate/stable/core/reference/en/html/tutorial-firstapp.html

You can also find the jar files to download here: https://www.hibernate.org/344.html