This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes how to migrate EJB 2.0 to EJb 3.0 using XML descriptors 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 "how to migrate EJB 2.0 to EJb 3.0 using XML descriptors" Watch "how to migrate EJB 2.0 to EJb 3.0 using XML descriptors" New topic
Author

how to migrate EJB 2.0 to EJb 3.0 using XML descriptors

Alok Agrawal
Greenhorn

Joined: Feb 01, 2008
Posts: 12

I want to migrate an EJB 2.0 based application to EJB 3.0 using XML descriptors (without annotations).

I have following queries:

1) How to migrate Entity bean life cycle methods without annotatios?
2) How to migrate Session bean life cycle methods without annotatios?

Please let me know if anyone have idea about it.

Thanks

Alok Agrawal
Learn Thru PPT Sports Info
amit punekar
Ranch Hand

Joined: May 14, 2004
Posts: 513
Hello,
Have you checked out EJB by OReily. I believe they have a chapter that talks about the EJB 2 and 3 beans interoperability. That might help you.
I have one doubt though, when you migrate your entity beans to JPA entities, would you be modifying the existing code base? If yes then why not take annotations?

regards,
amit
 
wood burning stoves
 
subject: how to migrate EJB 2.0 to EJb 3.0 using XML descriptors