In this chapter, we will discuss how to configure clusters for the GlassFish Server, and use a load balancer to distribute load across the server instances in the cluster. We will also discuss the High Availability (HA) options supported by GlassFish, and how to enable HA. The goal of this chapter is to help you gain the knowledge necessary for planning and creating a production-ready GlassFish Server deployment.
In order to deliver the required performance, throughput, and reliability, a production environment typically needs to host enterprise applications using multiple running application server instances. In order to easily configure and maintain these server instances, most application server products, including GlassFish, allow these server instances to be grouped into a cluster and administered together. In this section, we first review the core concepts of the GlassFish cluster, and then show...