View Review Details


Book:   Programming Jakarta Struts
Subject:   Programming Jakarta Struts Review
Date:   2003-05-29 06:55:52
From:   chuck cavaness
Rating:  StarStarStarStarStar

Bryan,


The good news is that Struts has no requirements or constraints other than those that standard web applications require and/or expect. That is, each node in the cluster would need to have a copy of the web application, all objects stored in the session would need to be serializable in order to facilitate failover and a good rule of thumb is to try and make as much as possible stateless. The less stateful objects you have, the easier it becomes to transfer session information. Other than these types of items, just build your Struts applications like you would any other web application where failover is a requirement.


In terms of load balancing, you can sometimes use the container as the load balancer (like WebLogic) or you can use a plugin for something like IIS. There are also commercial third-party products that provide more robust functionality. Most of the containers that provide a load balancer support things like "round robin", but some of the fancier products can use "least used" or other types of schemes.



See larger cover