Any J2EE container is supposed to do the same thing. So you could use WAS or Tomcat or Glassfish.
Set up each of your AXIS applications as a separate webapp. Each webapp has a WEB-INF directory. Within WEB-INF is a lib and a classes directory. Your jar files go in lib. Any classes you want to have go in classes with their full package path.
You will have to be careful to choose the versions of things. All of the webapps and Tomcat will have to use the same jvm version. Of course, you can also have multiple instances of Tomcat(or other container) as long as you can tolerate them listening on different ports.
The Tomcat classloader loads first from JAVA_HOME, then from ${catalina_home}/endorsed, then ${catalina_home}/common. After that, it starts looking in the webapp's WEB-INF lib and classes. Check the tomcat.apache.org website for configuration information specific to the version you decide to load.
Eclipse has all the stuff you need to set up a development or test environment. Take a look at setting up J2EE perspective project in Eclipse.
-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Sonin,Nikolai
Sent: Monday, October 01, 2012 2:54 PM
To: Java Programming on and around the IBM i
Subject: RE: Web Services through Java
Thanks for the fast reply. Being new to Java and all of its many features, I was not aware that tomcat used a custom classloader. I am assuming that means that after rt.jar loads that you have more control over where things are coming from? How would I install tomcat to use as a web services client with multiple versions of AXIS (1.5 and 2.1)?
Nick Sonin
-----Original Message-----
From: Dan Kimmel [mailto:dkimmel@xxxxxxxxxxxxxxx]
Sent: Monday, October 01, 2012 3:35 PM
To: Java Programming on and around the IBM i
Subject: RE: Web Services through Java
I'm using it within a Tomcat container. Tomcat has it's own classloader and ignores classpath after the bootstrap load.
-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Sonin,Nikolai
Sent: Monday, October 01, 2012 2:25 PM
To: java400-l@xxxxxxxxxxxx
Subject: Web Services through Java
Has anyone gotten AXIS 1.4 to work on the J9 JVM on the iSeries at V5R4M0? If so how?
Nick Sonin
--
This is the Java Programming on and around the IBM i (JAVA400-L) mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
http://archive.midrange.com/java400-l.
As an Amazon Associate we earn from qualifying purchases.