This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Difference between EJB2 and EJB3? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Difference between EJB2 and EJB3?" Watch "Difference between EJB2 and EJB3?" New topic
Author

Difference between EJB2 and EJB3?

Jim Baker
Ranch Hand

Joined: Mar 10, 2002
Posts: 177
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30076
    
149

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Difference between EJB2 and EJB3?
 
Similar Threads
what is the equivalent of BMP and CMP in EJB3?
overriding container settings for indivisual bean
EJB 2,0 and EJB 3.0
Exceptions
A EJB3 vs EJB2 question