Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 266
xeon Avatar asked Jul 23 '26 15:07

xeon


2 Answers

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.

like image 128
Daniel Ribeiro Avatar answered Jul 25 '26 06:07

Daniel Ribeiro


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