aspose file tools*
The moose likes Object Relational Mapping and the fly likes difference betweet Hibernate and JPA Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "difference betweet Hibernate and JPA" Watch "difference betweet Hibernate and JPA" New topic
Author

difference betweet Hibernate and JPA

Rauhl Roy
Ranch Hand

Joined: Aug 01, 2006
Posts: 401

May I know what is the difference between JPA and hibernate and please let me know if i can avoid hibernate if i am using JPA.
2/ am i supposed to use EJB and application server to use JPA.

please let me know.

rahul
Vinod Tiwari
Ranch Hand

Joined: Feb 06, 2008
Posts: 459
    
    1
Please refer this post


Vinod Tiwari | Twitter
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

As far as the second question goes, you do not need an application server to use JPA.

I wrote a fairly popular book on Hibernate and JPA, and all of the examples (with the exception of two that actually create a web-based user interface) are run and tested on nothing more than an installation of the JDK. That's the beauty of JPA - it's only dependent on an implementation of the JPA spec, which is what Hibernate provides; it does not require any special application server or anything.

-Cameron McKenzie
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: difference betweet Hibernate and JPA