The deployment of servlets to a Servlet container like Tomcat is usually a simple task: Just copy the developed servlet to a specific target directory. The container will then hot deploy it.
The proposed task is however more complex: The goal is to make a programmatical remote deployment of a Web service. In other words, an already developed Web service is to be deployed from a PC to a remote server which is running a Tomcat Servlet container. This task has three major requirements:
- First, the deployment has to be remote: The Web service is to be deployed onto a different machine.
- Second, it is to be accomplished programmatically, which means that it is necessary to develop a software component (for example in Java) which will carry out that task.
- Third, the deployment has to be “hot”, which means that the deployed Web service has to run after a short time, without the need to restart the server or its Servlet container.
As an addition to the above it is interesting to know, how to use a Servlet container like Tomcat for Web service deployment.
In short the goal is to develop an application which can “hot deploy” a Servlet containing one or more Web services onto a remote machine, which is only known to run an Apache Tomcat Servlet container. The process could be called:
“Programmatical-remote-hot-deployment of a Web service to an Apache Tomcat Servlet container.”