JAX-WS 2.0 Samples on Tomcat 5.5.x
Installing JAX-WS 2.0 on Tomcat
- Download
JAXWS_SI.jarfrom the nightly build and install it on your machine by giving the following command:
java -jar JAXWS_SI.jar
This will install JAX-WS binaries, samples, documentation and other files injaxws-ridirectory (JAXWS_HOME) in your current directory. - Download and save this
script (
jaxwsontomcat.xml) in JAXWS_HOME directory. - Please make sure CATALINA_HOME environment variable points to the
directory where Tomcat is installed. Go to JAXWS_HOME directory and
invoke:
ant -f jaxwsontomcat.xml install
Running the Samples
To develop and deploy the samples on Tomcat, you need to give the following command:
ant server -Dtomcat=true
To develop and deploy the samples on Application server, you need to give the following command:
ant server
If you are familiar with the samples framework, then this is the same command as before.
To invoke the deployed WAR file, follow the instructions from the samples documentation. All of your samples can now be deployed on Tomcat container, in addition to Sun's Application Server.
JAX-WS is available in Glassfish.
Hope you find this useful.
Technorati: JAX-WS Tomcat jwsdp glassfish
- Login or register to post comments
- Printer-friendly version
- arungupta's blog
- 10406 reads





