This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes hibernate3 and EJB3 relation? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "hibernate3 and EJB3 relation?" Watch "hibernate3 and EJB3 relation?" New topic

hibernate3 and EJB3 relation?

Brendon Woodford
Ranch Hand

Joined: Jan 22, 2010
Posts: 53
hi all,
I am learning hibernate3. do I need to know EJB3 as well? Some books I have seen discussing EJB3 before discussing hibernate.

Vijitha Kumara

Joined: Mar 24, 2008
Posts: 3899

Hibernate on it's own is an ORM framework. JPA which is part of EJB3 is a standard API for Java persistence. And hibernate has an implementation of JPA which you can use. Of course Hibernate has it's own native API that you can use without JPA, which is how hibernate being used from the beginning.

[How to ask questions] [Twitter]
I agree. Here's the link:
subject: hibernate3 and EJB3 relation?
It's not a secret anymore!