JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle GlassFish Server 3.1 Quick Start Guide
search filter icon
search icon

Document Information

1.  Quick Start for Basic Features

About This Quick Start Guide

Default Paths and File Names

Default Administration Values

Starting and Stopping the Default Domain

To Start the Default Domain

To Stop the Default Domain

Starting and Stopping the Database Server

To Start the Java DB Server

To Stop the Java DB Server

Starting the Administration Console

To Start the Administration Console

Deploying and Undeploying Applications

To Obtain the Sample Application

Deploying and Undeploying the Sample Application From the Command Line

To Deploy the Sample Application From the Command Line

To List Deployed Applications From the Command Line

To Undeploy the Sample Application From the Command Line

Deploying and Undeploying Applications by Using the Administration Console

To Deploy the Sample Application by Using the Administration Console

To View Deployed Applications in the Administration Console

To Undeploy the Sample Application by Using the Administration Console

Deploying and Undeploying the Sample Application Automatically

To Deploy the Sample Application Automatically

To Undeploy the Sample Application Automatically

High Availability Clustering and Load Balancing

Clusters of GlassFish Server Instances

Session Persistence and Failover

Load Balancing for Clustered Configurations

Updating and Extending an Existing Installation

To Access the Graphical Update Tool From the Command Line

To Access Update Tool by Using the Administration Console

Removing GlassFish Server 3.1 Software

To Remove GlassFish Server Software on UNIX, Linux, and Mac OS X Systems

To Remove GlassFish Server Software on Windows Systems

For More Information

Product Documentation

GlassFish Communities

Tutorials

Java EE 6 Samples

2.  Use Cases for Production Deployments

High Availability Clustering and Load Balancing

GlassFish Server enables multiple GlassFish Server instances to be clustered to provide high availability through failure protection, scalability, and load balancing. The subsections that follow provide an overview of high availability clustering and load balancing for GlassFish Server. For a complete example of setting up high availability clustering and load balancing, see Deploying an Application to a Two-Instance Cluster.

Clusters of GlassFish Server Instances

A cluster is a collection of GlassFish Server instances that work together as one logical entity. A cluster provides a runtime environment for one or more Java Platform, Enterprise Edition (Java EE) applications. A cluster provides high availability through failure protection, scalability, and load balancing.

A GlassFish Server instance is a single Virtual Machine for the Java platform (Java Virtual Machine or JVM machine) on a single node in which GlassFish Server is running. A node defines the host where the GlassFish Server instance resides. The JVM machine must be compatible with the Java Platform, Enterprise Edition (Java EE).

GlassFish Server instances form the basis of an application deployment. An instance is a building block in the clustering, load balancing, and session persistence features of GlassFish Server. Each instance belongs to a single domain and has its own directory structure, configuration, and deployed applications. Every instance contains a reference to a node that defines the host where the instance resides.

For more information, see the following documentation:

Session Persistence and Failover

Storing session state data enables the session state to be recovered after the failover of an instance in a cluster. Recovering the session state enables the session to continue without loss of information. GlassFish Server supports in-memory session replication on other servers in the cluster for maintaining HTTP session and stateful session bean data.

For more information, see Chapter 10, Configuring High Availability Session Persistence and Failover, in Oracle GlassFish Server 3.1-3.1.1 High Availability Administration Guide.

Load Balancing for Clustered Configurations

GlassFish Server supports web server and hardware-based load balancing for clustered configurations. A load balancer is deployed with a cluster, and provides the following features:

Oracle GlassFish Server includes a Load Balancer Plug-in for popular web servers such as Oracle HTTP Server, Oracle iPlanet Web Server, Apache HTTP Server, and Microsoft Windows IIS. The Load Balancer Plug-in includes a graphical Load Balancer Configurator installation wizard that makes it easy to configure the plug-in to work with your particular GlassFish Server and web server installations.

GlassFish Server load balancing configurations can vary widely depending on the needs of your enterprise. For complete information about configuring load balancing in GlassFish Server, see the following documentation: