Hello Vassilis, I think you are not able to understand the problem. Problem is after modification i have only java file on machine ( do not have compiled file (class file)) . it is possible to some how modified java file can be compiled using some tools (eg. ant ).
Thanks and Regards, Sushil Kumar On Fri, Sep 22, 2017 at 11:53 AM, Vassilis Virvilis <[email protected] > wrote: > 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_We >> b_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 > -- Thanks and Regards, Sushil Kumar
