Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How different EJB 3.0 is from Hibernate ?

 
Timothy Toe
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 304
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Timothy Toe
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you, Mike.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic