This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
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.