On 09/21/2017 03:09 PM, sushil kumar wrote:
Hello All,

I new in JAVA. with the help of some blogs i am able to develop my First
RESTful web service and i am able to deploy it on tomcat. But i am stuck
further. Requirement is i have to modify the Webservice on run time without
Tomcat restart.

Make note that i do not have JDK on Tomcat machine only JRE is present.


Previous i have done same thing with SOAP web service using AXIS thanks to
user guide :
http://axis.apache.org/axis/java/user-guide.html#JWS_Java_Web_Service_Files_-_Instant_Deployment


*Environment:-*

JRE 1.8
Tomcat 8.5



You don't need to restart tomcat.

After changes in your service a redeploy is enough.

On very slow machines I was even able to deploy changes by rsyncing class files 
and browser reload. Don't remember the specifics.

Usually your build toos (e.g. ant) has some support for deploy/undeploy/redeploy

Hope that helps.

 Vassilis

Reply via email to