How to put a web service in a hosting?

Asked

Viewed 1,297 times

4

I have an Android project that uses a Web Service, but I have to reset all that use or do tests, activate it in Tomcat through the eclipse and sometimes when I test on different networks, I have to change the ip in the Web Service project, I would like to know how do I put this my project in a fixed hosting so I don’t have more problems with this, I don’t know how it does, if you have to play the whole project or some other morning.

  • You already hired the hosting?

  • If you already have a hosting, install the cat tone on the server and deploy the Webservice, then in your application ask for it to access the server ip.

1 answer

2

If you already have a hosting, set up the environment for production:

Server-side :

  • Java installation
  • Tom Cat installation/configuration
  • Install your Database
  • Deploy from your application

Application side :

  • Get the new url for communication ex: 192.168.0.200/Webservicerest/app
  • Carry out the transitions.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.