This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes EJB3 or hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "EJB3 or hibernate" Watch "EJB3 or hibernate" New topic
Author

EJB3 or hibernate

Kalvinder Kumar
Greenhorn

Joined: Jun 05, 2007
Posts: 9
Hi I am new to Persistence. I want to use ORM in my project and i want to use JPA. As i am new, i am bit confused whether to use EJB3 entity beans or hibernate. I know both follow JPA. Can i use ejb3 entity beans following jpa without any need of hibernate or i need to use hibernate too. Someone told me that if i am using entity beans 3 still i have to use EntityManager implementation of JPA provided by Hibernate. please help.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Kalvinder, please check your private messages.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336


Can i use ejb3 entity beans following jpa without any need of hibernate

Yes, but if you don't use Hibernate's JPA implementation you'll need to use someone elses. JPA is a standard that providers implement, not a persistance mechanism in itself.
Kalvinder Kumar
Greenhorn

Joined: Jun 05, 2007
Posts: 9
Thanks a lot, Paul. It helped
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

You are welcome
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJB3 or hibernate
 
Similar Threads
EJB3 and JPA
EJB3 deployment issue
JPA v/s Hibernate
EJB3 Entity Beans or Hibernate 3.2
EJB3 and JPA