How Can I use my system as a tomcat server ?
Like tomcat server will be running in my system, a web application is placed in CATALINA_HOME/webapps directory.
how can I run a web application in different client machines located somewhere ?
People usually deploy their web application in their web host, but I just wanted to use my personal computer as a server for learning purpose.
Can any one please give me the steps to achieve this ?
Regards,
Sadanand
Assuming that you are able to write your server in Java using Servlet technologies, yes you can.
A good place to start would be to read the Tomcat 7 documentation on the Tomcat website. Start with sections 1), 2) and 3).
The requirements for a website to be accessible from anywhere are:
A public IP address for your server; i.e. not one that is sitting on a private network with a private IP address.
A registered public DNS name that allows you to refer to your server / site by name. (This is not strictly necessary, but it is a good idea. People tend not to trust sites without a DNS name, and besides names are easier to remember.)