Hello Vassilis, If you check the below link for the SOAP Web service
http://axis.apache.org/axis/java/user-guide.html#JWS_Java_ Web_Service_Files_-_Instant_Deployment in this article axis is using the tools.jar ( not the complete JDK ) file to compile the java code just copying the java file with the name jws. It automatically compiled and ready to use. I like to do the same thing for the RESTful web-service. Thanks, Sushil Kumar On Fri, Sep 22, 2017 at 1:10 PM, Vassilis Virvilis <[email protected]> wrote: > On 09/22/2017 10:32 AM, sushil kumar wrote: > >> Hello Vassilis, >> >> I think you are not able to understand the problem. >> > > I will try :-) > > 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 ). > > In order to produce a class file from a java file you need the javac that > comes with the JDK. If you have multiple java files generally you need to > setup a build system such as ant, maven, gradle > > If you don't have JDK on the target machine then there is no point to have > java files there. I would propose to setup first your build system of your > project in a development machine. The output of the build system should be > a war file. Then you can upload (deploy) this war file to the tomcat of the > production machine. > > Hope that helps > -- Thanks and Regards, Sushil Kumar
