aspose file tools*
The moose likes Servlets and the fly likes clustered environment? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "clustered environment?" Watch "clustered environment?" New topic
Author

clustered environment?

ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
I just want to confim this.
clustered environment means distributed environment, having multiple web server for one application, so there will be different instance of any servlet (or any resource) on each web server.

please comments.

If it is right then, how any request goes to any particular web server?

Thanks.
[ October 19, 2005: Message edited by: rathi ji ]
Paul Bourdeaux
Ranch Hand

Joined: May 24, 2004
Posts: 783
Basically yes, a clustered environment is one where an application is serviced by multiple servers running in different nodes in a network. Usually there will be some type of load balancer used in front of the cluster that will direct the request to one of the servers based on current load and processing, although this isn't mandatory.

If you are looking into using a clustered environment, you might want to brush up on session migration too, so you understand the high level view of how sessions are maintained accross JVMs.


“Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.” - Rich Cook
Satish Chilukuri
Ranch Hand

Joined: Jun 23, 2005
Posts: 266
This might be of help:
Uncover the hood of J2EE clustering
 
Consider Paul's rocket mass heater.
 
subject: clustered environment?