Book Image

GlassFish Administration

By : Xuekun Kou
Book Image

GlassFish Administration

By: Xuekun Kou

Overview of this book

To build a powerful production environment for your Java EE systems, you need a great application server, and the skills to manage it. This book gives you all that you are looking for. This book will help you gain the necessary skills to install, configure, tune, and troubleshoot GlassFish so that you can fully unleash its power. It will teach you how to use the GlassFish application server, with a special focus on administration tasks. It presents the GlassFish administrative tasks in a logical sequence, with each chapter focusing on a specific topic. Starting with installation and moving through configuration, this book takes a careful look at the administration console so that you get a complete understanding of GlassFish and its administrative features. It will help you understand how to deploy Java EE, Ruby on Rails and other supported applications to GlassFish, and how to configure the necessary resources for these applications. You will also learn how to maintain, tune, and troubleshoot your GlassFish server. Also includes a bonus chapter introducing Glassfish v3.
Table of Contents (17 chapters)
GlassFish Administration
Credits
About the Author
Acknowledgement
About the Reviewers
Preface

Configuring high availability


Availability is typically measured in the form of system down time. The single most important mechanism to achieve high availability (HA) is through redundancy and replication. For example, by running multiple server instances on different hardware, we are eliminating a single point of failure. However, in many cases, hardware redundancy alone is not sufficient, especially when the application maintains a conversation state, or session, with the client. In this case, in order to deliver high availability for the application, we must be able to replicate the session data so that in the event of a server instance failure, the session state information maintained in that server instance is not lost, and a different server instance can restore the session from the replicated session data store.

For session replication, GlassFish supports two options, using the in-memory replication, and using the High Availability Database (HADB) for more reliable state persistence...