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

Application deployment in GlassFish


In this section, we discuss the application deployment features of GlassFish, and then introduce the tools we use to deploy and configure applications.

Application deployment features of GlassFish

GlassFish also implements several additional features for Java EE applications development and deployment. In the following sections, let's get familiar with several of the most important and useful features.

Automatic deployment

By default, GlassFish supports the automatic deployment of Java EE applications and components. All we need to do is to copy the application archive files to the $AS_INSTALL/domains/domain1/autodeploy directory. At runtime, GlassFish Server polls this directory at a default frequency of 2 seconds. Upon finding a new archive, it extracts it to the appropriate directory, loads the application, and makes it available for access.

Dynamic reload

GlassFish also supports dynamic deployment and reload of applications. With dynamic deployment...