How to: Tomcat 6.0 + JAX-WS
I would like to develop a web service with jax-ws and tomcat without using net beans (but eclipse). I am quite new to web applications and web services. My problem is, I do not knowhow to set up Tomcat 6.0 with jax-ws(contained in the j2se jdk1.6) and how to build a simple web service in this environment.
Where ist the equivalent directory to ${CATALINA_HOME}/shared/lib from Tomcat 5?
Andhow do I build what kind of application hierarchy, to make a web service work?
And do I only need to put the unpacked directory of the webservice into the directory $CATALINA_HOME/webapps/?
I did not find a tutorial which answered my questions, so I really appreciate your answers!
[721 byte] By [
Nincaa] at [2007-11-27 0:28:24]

# 1
I am not very familiar with JAX-WS in terms of coding it, but I think I can help you with the first part of your request.
> Where ist the equivalent directory to
> ${CATALINA_HOME}/shared/lib from Tomcat 5?
You mentioned you did not know how to set up 6.0, then you stated you didn't know the equvalent directory... from Tomcat 5. Which are you most interested in? Well, it does not really matter, as ${CATALINA_HOME} is the equivalent of the name of the directory to which you installed your Tomcat files. In that directory you will see the shared folder, and within that folder, the lib folder.
For instance, the portion in italics below would be the equivalent to ${CATALINA_HOME}
C:/Sun/Tomcat_6_0/shared/lib
> I did not find a tutorial which answered my
> questions, so I really appreciate your answers!
Try http://www.coreservlets.com/Apache-Tomcat-Tutorial/
Hope this was helpful.
Reformer...
# 2
> For instance, the portion in italics below would be
> the equivalent to ${CATALINA_HOME}
>
> C:/Sun/Tomcat_6_0/shared/lib
For clarity, see it emboldened:
C:/Sun/Tomcat_6_0/shared/lib
To set up your classpath, and assuming you are using Windows, seeing the format of your path you would
1. Right-click on the My Computer icon (or its equivalent if you customized it) on the Desktop
2. Click Properties
3. and set up the Environmental Variables from there. Nevertheless, the link included previously will explain this all.
Reformer.
PS Hope this goes some way to getting you on your way