I would like to know how we can deploy one Web application on multiple server to share the work between them?
My first thought is that we just deploy the same war file on different servers that connect to the same database. However, what will happen when a user enter something like www.webdomain.com ?
How can multiple servers share the same domain name and how the requests from different users are redirected to these different server?
You would generally direct the incoming requests to some kind of load balancer that then distributes the requests to the various app servers. Apache httpd is frequently used for that in conjunction with the mod_proxy or mod_jk modules: http://tomcat.apache.org/tomcat-7.0-doc/balancer-howto.html
subject: How to deploy one Web application on multiple server?