Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JPA vs EJB 3.0  RSS feed

 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am confused between the two terms.
 
Merrick Schincariol
author
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EJB 3.0 is the full specification that includes session beans, BMP entity beans, CMP entity beans, message driven beans and the new Java Persistence API. Because JPA wasn't split into a second document until midway through the specification lifecycle, most people still use the term "EJB 3" to refer to both the simplification changes (POJO session beans, dependency injection) and the new persistence API.

JPA refers exclusively to the new persistence portion of the EJB 3 specification.

Cheers,

Merrick
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Merrick.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!