This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.



Only 44 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



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

Previous Versions of EJB and EJB 3.0  RSS feed

 
Mark Banker
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A question for the Authors:

Are previous versions of EJBs compatible with EJB 3.0? If I have an application currently using EJB 2.1 can I use EJB 3.0 as well or would I need to redo the whole app? What changes would be required?

Thanks,

Mark Banker
 
Mike Keith
author
Ranch Hand
Posts: 304
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All existing applications will continue to work in EJB 3.0 compliant containers. There is also the ability to interoperate between 2.1 and 3.0 session beans, so existing applications can be extended using 3.0 components (e.g. 2.1 session beans can call 3.0 session beans and vice versa).

The persistence API is a rather big change in the model, though. I don't expect that there will be much opportunity (or desire for that matter) to use both 2.1 entity beans and 3.0 entities in the same domain model. It's possible, though, as long as there are no relationships between them.

-Mike
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!