• 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

Developing under VAJ & compiling using Javac

 
tumbleweed
Posts: 5089
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A development department in the bank I work for wants to create Sun compliant classes. They use VAJ 3.02 for their development work on the workstations. When the classes / jar files are ready for deployment they will be recompiled using Sun's javac to ensure that no IBM "specific" classes/api's are used.
Does anybody have any experience doing this ?
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Johannes, that's silly. We need to explain to them how Java works. ANY Java compiler will generate identical byte codes. Compiling under Javac will produce the EXACT same byte codes (to run on the exact same JVM) as the compiler in VAJ. Choosing a compiler doesn't do squat about any referenced classes or API's in your project... I don't think they understand what's going on here...
If you want, send me a private email and I'll give you my contact information -- having a senior IBM Java technologist explain how silly this is might help...
Kyle
------------------
Kyle Brown,
Author of Enterprise Java (tm) Programming with IBM Websphere
See my homepage at http://members.aol.com/kgb1001001 for other WebSphere information.
 
Ranch Hand
Posts: 1871
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Johannes ,
If you remove any IBM based classes from your classpath in VAJ it becomes a sun compliant application. Its as simple as that.
------------------

Mahindrakar
IBM Application Server Forum Moderator

Consultant - Zensar Technologies ,Pune India.
SCJP2, SCJD2 & SCJEA (Part I)
 
Johannes de Jong
tumbleweed
Posts: 5089
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the replies guys. The embarrassing thing about your statement "We need to explain to them how Java works" is that I might missing the boat somewhere along the line as well Kyle
I'm not sure about the exact details and/or reasoning behind their request Kyle. I spoke to the guy asking the question for a few seconds this morning. Unluckily I was swamped in my own IBM mainframe hell today and did not have time to ask for more info. I'l will ask him for more info tomorrow and will post here and/or e-mail you Kyle.
Again thanks for you time gents
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I build under JDK 1.3.1 on Intel and deploy to WAS 3.02 Solaris with no problems. Don't do this with JDK 1.4. I've had problems doing that.
 
Paul Craven
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't agree. Compile your code with different JDKs and look at the size. 1.3 usually compiles smaller than 1.2 for me. IBM compiled class files usually are somewhat different as well.
 
The moustache of a titan! The ad of a flea:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic