• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

How to Migrate WAS 5.1 to WAS 7.0

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm new to Code Ranch.

I need to migrate one JAVA EJB application from WAS 5.1 to WAS 7.0. Need steps for migration.

Thanks in advance.
 
author & internet detective
Posts: 40035
809
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to CodeRanch!

Wow. WebSphere 5 is old. What version of EJB are you using?

There are a number of posts about migration in this forum. The highlights are to look for reserved words that were added in later versions of Java. And if you are using an unsupported version of EJB, you may need to upgrade.

Also, consider upgrading straight to WebSphere 8. It's been out for some time.
 
Bartender
Posts: 1268
39
IBM DB2 Netbeans IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Jeanne Boyarsky wrote: Also, consider upgrading straight to WebSphere 8. It's been out for some time.


A wise advice. Moreover, it may be a good opportunity to prune from your code older Java specifications, that may be not supporter in future releases.
By the way, a couple of years ago I migrated from WAS 6.1 to 8.5.x without any problem.
 
Muneendra Kumar
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jeanne Boyarsky and Claude Moore,

Thanks for your advise, yes ours application is very old - EJB 1.0 was used in this. But as per our client request we need to migrate to WAS 7.0 only. Me too advised WAS 8.5 but they denied.

Earlier I was supporting this application though I don't know EJB (most of the changes JSP related) with WebSphere Studio Application Developer 5.1.1, hence no need to write any configurations. But that license expired. I'm having only Eclipse (Both Indigo and Luna), Jboss 4.0.1 and Apache Tomcat 7.

Kindly help me, to know the steps(code and config changes) for migrating with above available softwares. It'll be very helpful to me to complete this migration. For the same I googled a lot but couldn't found solution.

Thanks.
 
Jeanne Boyarsky
author & internet detective
Posts: 40035
809
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EJB 1! Wow, that's hold. I'm not sure if WebSphere even supports WebSphere 1 anymore.
 
Claude Moore
Bartender
Posts: 1268
39
IBM DB2 Netbeans IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EJB 1.0 is not supported in WAS 8.x, and I'm afraid isn't supported in WAS 7.x either. So a first step should be migrate to EJB 2.x; as far as I know Eclipse doesn't provide a tool to perform this migration automatically.
With Eclipse you may try and install WebSphere app server specific adapters,but you should have a target WebSphere runtime to work with. The most challenging part is to deal with deployment descriptors, if your IDE somehow doesn't help you in working with them.
 
Rancher
Posts: 989
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Claude Moore wrote: So a first step should be migrate to EJB 2.x ...



Shouldn't that be to EJB 3 instead? The supported specifications page says 3.0 is supported.
 
Claude Moore
Bartender
Posts: 1268
39
IBM DB2 Netbeans IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, if was 7.0 supports ejb 3, it would be a choice.Anyway in OP's described scenario even application code seems obsolete. I'm afraid he is going to do a lot of work...
 
Ruth Stout was famous for gardening naked. Just like this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic