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
About the Author
About the Reviewers

Working with GlassFish containers

As a fully Java EE compliant application server, GlassFish implements all the mandatory containers for Java EE application components. In previous version of the GlassFish Server, the server software distribution always includes all the containers. GlassFish 3 no longer follows this monolithic approach, and its container architecture is highly dynamic and flexible. In GlassFish 3, the Web container, EJB container, and Message Driven Bean (MDB) containers are bundled as separate modules. These modules can be dynamically added to or removed from the GlassFish Server using the updatetool or the IPS package management utility, pkg.

In addition, GlassFish implements a container for Ruby on Rails applications. For example, the following command installs the JRuby container and the previous configured Ruby on Rails gems.

# pkg install jruby jruby-gems

When the GlassFish Server is running, we can use the list-containers command of the asadmin CLI to check the...