• Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate or EJB3.0?  RSS feed

 
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: 17309
11
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
Boost this thread!