*
The moose likes EJB and other Java EE Technologies and the fly likes How different EJB 3.0 is from Hibernate ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "How different EJB 3.0 is from Hibernate ?" Watch "How different EJB 3.0 is from Hibernate ?" New topic
Author

How different EJB 3.0 is from Hibernate ?

Timothy Toe
Ranch Hand

Joined: Oct 19, 2002
Posts: 156
I guess we at Javaranch are a lucky bunch to have book authors discussing Java stuff with us.

I hear that EJB 3.0 has its roots from Hibernate. But how different EJB 3.0 is from Hibernate as at today ? How have they diverged ?

Thanks.
Mike Keith
author
Ranch Hand

Joined: Jul 14, 2005
Posts: 304
The rumour that JPA is based only on Hibernate is a myth that seems to have gotten propagated. I wrote a blog about this once.
The persistence API has its roots in ORM products, which includes Hibernate, but also includes other deluxe products like TopLink that have been around for a lot longer (but weren't open source). A common set of ORM features have been adopted and implemented by ORM vendors across the board, with some of the more mature products having extra features beyond the standard set. I won't compare the features in the API to any one particular product, but it suffices to say that each product has its own value-add features that can be used by those that are prepared to go beyond the spec.


-Mike
Pro JPA 2: Mastering the Java Persistence API
Timothy Toe
Ranch Hand

Joined: Oct 19, 2002
Posts: 156
Thank you, Mike.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How different EJB 3.0 is from Hibernate ?