Clustering web applications

The configuration of a clusterable web application is slightly more complex than other components, so it deserves a section on its own. In order to achieve a scalable and consistent state for a web application across the cluster, two distinct functions are required:

  • Session state replication
  • Load-balancing of incoming invocations

Session state replication occurs when we replicate the information (that is session attributes) stored in your HttpSession across the nodes of the cluster. Load balancing, on the other hand, is not directly handled by JBoss AS and requires an external load balancer, either hardware or software. The following section explains how you can configure and possibly override the default web container ...

Get JBoss AS 5 Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.