This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates 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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
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: 515
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to migrate EJB 2.0 to EJb 3.0 using XML descriptors