• 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

EJB Project upgrade from WSAD 5 to RAD 8

 
Greenhorn
Posts: 2
Oracle Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We had our application environment previously developed on WSAD 5 and deployed on WAS 5.

As part of our current project, we are upgrading the infrastructure to RAD 8 and deployed on WAS 7.
Since WSAD 5 and RAD 8 are not compatible, we copied the project structure from original code base and did the build in the new environment from scratch.

For EJB projects, we used the meet-in-middle approach to form the mapping, where we import the required tables, and then match each entity field with database column manually.
Do you have an idea on any other approach which could have been used as the above is time consuming.

EJB Architecture is a mix of 1.1 and 2.
 
author & internet detective
Posts: 41878
909
Eclipse IDE VI Editor Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Akshat,
Welcome to CodeRanch!

That's a big jump! I think you'd be better off rewriting the backend to use JPA. Entity beans end with 2.1 and then have no future. All the effort invested in getting them working isn't an investment in the future. This is still time consuming, but at least when you migrate in the future, you haven't wasted effort.

Unfortunately, there isn't going to be a magic bullet to make this easier. IBM doesn't expect people to jump over two major versions of their product.
 
Akshat Vinod Sharma
Greenhorn
Posts: 2
Oracle Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your response Jeanne, but I don't have option of rewritting/upgrading the current spec.
Am aware that this isn't a smart move but out of my control.

We are currently facing a lot of issue with EJB migration, if we switch first to RAD 7 and then upgrade to version 8.
Would that reduce efforts or lets us say, would it allow me to do a normal migration instead of setting up the whole configuration.

Many Thanks.


 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic