Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • 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
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

WAS 5 - Migration from Solaris to Linux

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am migrating some Java shared components from WAS 3.5 Solaris to WAS 5 Linux Platform.
Even though Java is "write once,run anywhere", is there any potiential risk is migrating the existing binaries without recompliation in WAS 5 Linux.
Is it more safe to recompile the Java source in WAS 5 Linux to avoid any unforseen problem. Your thoughts are appreciated. What factors should I consider to come to a decision?
Thanks
badrinath
 
badrinath Venkatraman
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just to clarify that there is no native code in these shared components.
Thanks
badrinath
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Given that you're working on two very different JVM's (JDK levels at least three levels apart between WAS 3.5 and 5.0) I would recommend recompiling your files, yes. While it probably would work fine, there may be subtle differences (optimizations) in the bytecode output of the two compilers that may result in your application running faster in the recompiled version.
Kyle
 
It's exactly the same and completely different as this tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
    Bookmark Topic Watch Topic
  • New Topic