Java – deploy jax-ws web services on Tomcat

Note that Java 6 contains javax xml. WS, I can create a stand - alone web service

Solution

Download the subway from here and execute this jar as

java -jar metro-2_0-ea.jar

The Metro directory contains two ant files, Metro on GlassFish XML and Metro on Tomcat xml. These two files are used to install Metro binaries into the corresponding web container

Tomcat installation process:

> shutdown. Bat (Tomcat off) > execute the following line at the command prompt

ant -Dtomcat. home = -f /metro-on-tomcat. XML installation

startup. Bat (Tomcat start)

During installation, copy the two metro jar files to the shared / lib directory of Tomcat The Tomcat configuration file was not modified

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>