• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

How to deploy one Web application on multiple server?

 
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

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?

Any help will be very appreciated!

Thank you very much.
 
Rancher
Posts: 43081
77
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic