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

Understanding the administration infrastructure of GlassFish


The administration infrastructure of the GlassFish Server is built on Java Management Extensions (JMX). In this section, we will introduce the JMX technology and then explain how it is related to configuration files in the GlassFish Server.

JMX defines a standard architecture, design patterns, APIs, and the services for application management and monitoring with the Java technology. The high-level architecture of JMX is illustrated in the following figure.

In JMX, applications and resources to be managed are exposed as Java objects known as Managed Beans, or MBeans. These MBeans are registered in a managed object called an MBean Server. The MBean server behaves as an agent between management applications and the MBeans. Finally, management applications can communicate with the MBean Server with a variety of connectors and protocol adapters.

This figure highlights the architecture of JMX and the relationship among major components...