File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes ejb 2.0 migration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "ejb 2.0 migration " Watch "ejb 2.0 migration " New topic

ejb 2.0 migration

Anthony Karta
Ranch Hand

Joined: Aug 09, 2004
Posts: 342
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.


Jon Wetherbee
Ranch Hand

Joined: Oct 05, 2006
Posts: 33
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.

I agree. Here's the link:
subject: ejb 2.0 migration
It's not a secret anymore!