How to put a web service in a web hosting?

3

I have an Android project that uses a Web Service, however I have to restart all that is to use or make tests, activate it in Tomcat through eclipse and sometimes when I test in different networks, I have to change the ip in the project Web Service, I would like to know how I can put this project in a fixed hosting so I do not have any more problems with it, I do not know how it works, if it has to play the whole project or some other morning.     

asked by anonymous 23.06.2015 / 17:41

1 answer

1

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

Server side:

  • Installing Java
  • Installing / configuring Tom Cat
  • Installing your Database
  • Deploy your application

Application side:

  • Get the new url for communication eg: 192.168.0.200/WebServiceREST/app
  • Perform the transitions.
28.06.2015 / 15:56