• Post Reply Bookmark Topic Watch Topic
  • New Topic

Difference between EJB2 and EJB3.0  RSS feed

 
Jayashree Menon
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
Can anybody clarify what is the major differences between the two.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
 
Jayashree Menon
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,
Thanks a lot
 
subbarao N.V
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI


The Difference between Ejb2.0 and Ejb3.0 is mainly persistance.

As part of ejb2.0 we are using EntityBeans for to access the database.But as part of ejb3.0 we are using the JPA(Java Persistance API) for to access the database and some portability issues.But this Api is same as some orm products like hibernate,Toplink,JDO.But JPA is better than these orm products in case of portability.Because it is using the same api called JPA.
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Jayashree M" and "subbarao N.V"

Please click on the My Profile link above and change your display name to meet the JavaRanch Naming Policy of using your real first and real last names. Last names cannot be initialized.

Thanks

Mark
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!