Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate or EJB3.0?

 
Pras Tiwari
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I want to use some ORM Persistence Technologies (Hibernate/EJB) for My application . I already have knowledge of EJB2.1, as I developed CMP EJB's for an application using it. So now among Hibernate & EJB3.0 which one will be easier for me to learn? Which Technology should I use?
Thank you,
Pras
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, it actually really isn't a this or that choice. Hibernate 3.0 is an implementation of EJB 3.0. So if you choose Hibernate 3.0 you are using EJB 3.0, they are one n the same. Now with Hibernate, you will also get extension to EJB 3.0. And you should still think of EJB 3.0 Entity beans as JPA (Java Persistence API), so that you don't even need a container to work with the database.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic