File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes migration from EJB 1.1 code to EJB 2.0 code 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 "migration from EJB 1.1 code to EJB 2.0 code " Watch "migration from EJB 1.1 code to EJB 2.0 code " New topic
Author

migration from EJB 1.1 code to EJB 2.0 code

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1381
How can i do migration from EJB 1.1 code to EJB 2.0 code for local interface ? whether EJB container takes care (or) re-write the code (or) deployment descriptor change ?
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30789
    
157

Kri,
You need to update the code and the deployment descriptor. In particular, the code needs to implement EJBLocalHome and EJBLocalObject. Some IDEs take care of this for you.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1381
HI Jeanne, Can i do any architectural change also for EJB 1.1 to EJB 2.0 conversion?
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30789
    
157

What kind of "architectural change" ?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: migration from EJB 1.1 code to EJB 2.0 code