O'Reilly logo

Building Scalable and High-Performance Java™ Web Applications Using J2EE™ Technology by Greg Barish

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

Deploying Servlets

Once you develop a servlet, you need to decide how to make it available. Recall that servlets execute within a container and that each container has an associated JVM. For many deployments, having one servlet container will be enough. However, to promote scalability, most servlet systems give you the opportunity to distribute servlets across a set of machines for improved load balancing and fault tolerance—key attributes that encourage scalability.

Session Management with Multiple Containers

Distributing servlet containers across multiple machines is a common way to improve the scalability of your servlet deployment. For the most part, it's an effective strategy—until you again get to the sticky issue of session management. ...

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