Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB or HIbernate better one?

 
Priya Nain
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I am working in Hibernate and planing to learn EJB, is it a good jump? I know very little about EJB so can any one gimme a small introduction ? kindly waiting for your reply.

Thanks & Regards ,

Priya.
 
Dave Salter
Ranch Hand
Posts: 293
Java Mac OS X Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This has been discussed quite a lot in the Object Relational Mapping forum.

Hibernate is considered to be a lot more lightweight because you can use it to persist POJOs, whereas EJBs (specifically Entity if we are talking persistence) are a lot more heavyweight. This however is excpected to change with the release of EJB3.

Have a look through the posts in the ORM forum and you will see all these points discussed.

Cheers,

Dave.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic