I developed a RESTful Web Service using Jersey between my mySQL server database and my Mobile Apps (Android, iPhone).
I used Hibernate in the Web Service to talk to the database and then wired my DAOs to the Jersey services.
My Operating System is Windows7-64bit.
Right now the Web Service is running on Tomcat 7 in locathost. How can I publish my Web Service on the Internet? what is the best approach? for instance can I use Amazon Web Services or Apache HTTP Server?
Or perhaps other Web-Servers like : Web Servers – Examples
I’ll just refer you to this:
How to publish a JSP project on the Internet using Tomcat web server?
Note, most providers frown on running servers on your home machine, but if you’re not pushing crazy volume, it’s likely not a big deal.
Addenda:
The premise is using your personal machine for the host. Using a service like DynDNS gives you a “presence” on the internet, since now you have a name that can be resolved. URLs that don’t have a port number in them go to port 80, so you have to have your service configured for that port. This assumes you have a 100% connection to the internet, and that you can configure your networking hardware properly to accept and route the incoming traffic (beyond scope here).
ISPs frowning on running a server at home has nothing to do with Windows, it’s more policy, infrastructure, pricing etc.