Nash
Nash

Reputation: 952

Is Java EE required for Hibernate

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

Upvotes: 3

Views: 493

Answers (3)

Daniel Ribeiro
Daniel Ribeiro

Reputation: 3119

Hibernate works just fine on Java SE. It can be used as a JPA implementation on Java EE, but JPA, as well, can be used just fine on Java SE.

Upvotes: 5

cletus
cletus

Reputation: 625097

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

Upvotes: 1

brock
brock

Reputation:

Java EE 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

Upvotes: 3

Related Questions