File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes EJB Project upgrade from WSAD 5 to RAD 8 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB Project upgrade from WSAD 5 to RAD 8" Watch "EJB Project upgrade from WSAD 5 to RAD 8" New topic

EJB Project upgrade from WSAD 5 to RAD 8

Akshat Vinod Sharma

Joined: Apr 11, 2012
Posts: 2

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.

Kind Regards,
Jeanne Boyarsky
internet detective

Joined: May 26, 2003
Posts: 29274

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.

[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
Akshat Vinod Sharma

Joined: Apr 11, 2012
Posts: 2

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.
subject: EJB Project upgrade from WSAD 5 to RAD 8
Similar Threads
Issues in Migrating from Websphere 5.1 to 6.1
Developing J2EE 1.4 application with WSAD
Project import from (Serena) PVCS to RAD 7.0
Migrating from WSAD 5.1.2 to RAD 7.0 - Issues with Listener Ports