how to set up a java web service on ubuntu server

0

Good morning the reason for my question is how to upload a web service that performs in java to a server ubuntu server 16.04 when looking for information found as it is done in php, I do not have much knowledge about I already have the apache tomcat installed but I have no idea how to upload the web services if someone can tell me how to perform the procedure or where I can find information thanks to your attention

    
asked by esteban fabian patiño 28.11.2017 в 18:27
source

1 answer

1

Already having your war of your java web application then you should only upload the war to tomcat.

You have to create a folder in apache-tomcat-7.0.22 / webapps / here you create and paste the war file, if you realize a war is a compressed you just have to unzip it is that folder.

Finally we must start Tomcat by running the following file:

apache-tomcat-7.0.22 / bin / startup.sh

Then we can access our web application from the browser, the most common would be: link in your folder

Here is a link on how to do it

tomcat

    
answered by 28.11.2017 / 18:46
source