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 GlassFish container architecture


Containers provide runtime support for Java EE application components. They also implement the required protocols and mechanisms, so that application components can communicate with the other components and services.

As a fully Java EE compliant GlassFish, GlassFish implements a container-based architecture, as illustrated in the following figure.

GlassFish implements a web container and an EJB container. The web container provides an environment to run Java servlets and JavaServer Pages (JSP) files, and it relies on the HTTP services to allow web components to be accessed through the HTTP and HTTPS protocols. The EJB container is responsible for hosting EJB components, and it uses the ORB service to allow EJB clients to access enterprise beans remotely.

Furthermore, GlassFish also implements a container mechanism for Java EE application clients. This mechanism, called the Application Client Container (ACC) can be used to quickly set...