• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Difference between EJB2 and EJB3?

 
Jim Baker
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know the entity bean in EJB2 is replaced by EJB3 JPA and MDB is still part of EJB3.
What about session bean is EJB2? Is session bean still in EJB3?

I was told that EJB3 is a blend of Spring and Hibernate. Is it true?
[ March 17, 2008: Message edited by: Jim Baker ]
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34973
378
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jim Baker:
What about session bean is EJB2? Is session bean still in EJB3?

Session beans are in EJB 3.


I was told that EJB3 is a blend of Spring and Hibernate. Is it true?

JPA is a blend of Spring and Hibernate. Another way of looking at is that Spring and Hibernate are implementations of JPA.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic