O'Reilly logo

JBoss AS 5 Development by Francesco Marchioni

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required