wood burning stoves 2.0*
The moose likes Object Relational Mapping and the fly likes Hinernate and EJB 3.0 entities comparison Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hinernate and EJB 3.0 entities comparison" Watch "Hinernate and EJB 3.0 entities comparison" New topic
Author

Hinernate and EJB 3.0 entities comparison

Shahnawaz Shakil
Ranch Hand

Joined: Aug 04, 2008
Posts: 57
Hello Friends,
I have absolutely no idea about Hibernate so sorry if this is a very silly question. Is the purpose of EJB3.0 entities and Hibernate are same. If yes then which is better to use?
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

EJB 3 Entities is now called JPA, JPA is just a specification. So the question then lies in which implementation of that specification are you going to use. Hibernate implements JPA, so does TopLink.

In the cases of those two products, they are also more than just JPA. Meaning they also have a lot more implementation that goes beyond the specification. The JPA spec does not cover every single scenario you might come across, which requires you to use the products specific stuff.

Hope that helps clear things up. It is not an either or question.

Thanks

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Shahnawaz Shakil
Ranch Hand

Joined: Aug 04, 2008
Posts: 57
Hi Mark,
Thank you so much for your reply.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hinernate and EJB 3.0 entities comparison