• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how to migrate EJB 2.0 to EJb 3.0 using XML descriptors

 
Greenhorn
Posts: 14
jQuery Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 544
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
reply
    Bookmark Topic Watch Topic
  • New Topic