Skip to main content

Deploying Web services remotely

1 reply [Last post]
dewangan
Offline
Joined: 2009-04-27
Points: 0

Is it possible to deploy web service jar file directly to axis(tomcat web server or any web server) through java code rather than opening and uploading (assuming that server is up)?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
brandontyler
Offline
Joined: 2006-05-05
Points: 0

I am not sure about using java code to deploy a .war but you can use the administration deployment utility in tomcat to deploy a war through http without having to open and upload the war.

Looking at the docs you might be able to do it programatically:
http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html#Deploy%20A%20...