Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ejb 2.0 migration

 
Anthony Karta
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi author,

Does the book cover how to migrate from ejb 2.0?
I know it's a vast topic and depends on implementation of ejb containers.

thanks
tony
 
Jon Wetherbee
author
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Tony-
Yes, we have a chapter on migrating EJB 2.x beans to EJB 3. There are many possible routes to take during migration, the easiest being to simply leave the EJB meta data in the ejb-jar.xml file. In our chapter we explain how to map EJB 2.x constructs to annotations in EJB 3, under the assumption that if you are migrating an existing application, you wish to leverage the new development model for subsequent development work.

In particular, attention is given to mapping EJB 2.x entity beans to JPA entities.

Regards,
Jon
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic