GlassFish Administration


GlassFish Administration
eBook: $26.99
Formats: PDF, PacktLib, ePub and Mobi formats
$22.94
save 15%!
Print + free eBook + free PacktLib access to the book: $71.98    Print cover: $44.99
$44.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Reviews
Support
Sample Chapters
  • Get GlassFish installed and configured ready for use
  • Integrate GlassFish with popular Open Source products such as Open MQ, Open DS, and Apache Active MQ, and get them working together in a loosely-coupled manner
  • Configure resource types like JDBC, Java Connector Architecture (JCA), JavaMail Sessions, and Custom JNDI supported in GlassFish to simplify resource access and integration
  • Secure, monitor, troubleshoot, and tune your application server instance

Book Details

Language : English
Paperback : 284 pages [ 235mm x 191mm ]
Release Date : December 2009
ISBN : 1847196500
ISBN 13 : 9781847196507
Author(s) : Xuekun Kou
Topics and Technologies : All Books, Networking and Servers, Java, Open Source


Table of Contents

Preface
Chapter 1: Getting Started
Chapter 2: Understanding the GlassFish Server Architecture
Chapter 3: Managing Applications on GlassFish
Chapter 4: Configuring Containers and Essential Services
Chapter 5: Configuring GlassFish Resources
Chapter 6: Configuring JMS Resources
Chapter 7: Securing GlassFish
Chapter 8: Monitoring GlassFish
Chapter 9: Configuring Clusters and High Availability
Chapter 10: Troubleshooting and Tuning GlassFish
Chapter 11: Working with GlassFish 3
Index
  • Chapter 1: Getting Started
    • Introducing GlassFish
      • A brief history of GlassFish
      • Understanding essential features of GlassFish
        • Strong and active community
        • Developer friendliness
        • High quality implementation
        • Sophisticated administration capability
        • Configuration flexibility
        • High performance
    • Installing GlassFish
      • Preparing for the GlassFish installation
      • Understanding system requirements for GlassFish
      • Installing the JAR file distribution
      • Installing the installer-based distribution
        • Using the silent installation feature
      • Verifying the GlassFish installation
    • Summary
  • Chapter 2: Understanding the GlassFish Server Architecture
    • Understanding the architecture of GlassFish
      • GlassFish architecture with the developer profile
        • Server instances
        • Administrative domains
        • The architecture of the developer profile
      • GlassFish architecture with the clustering profile
        • Domain Administration Server (DAS)
        • Clusters
        • Node agents
        • Using the clustering profile
      • Using the enterprise profile
    • Understanding the GlassFish deployment structure
      • The directory structure of GlassFish
      • Understanding Glassfish administrative domains
        • The structure of the default domain
      • Exploring essential domain configuration files
        • Getting familiar with domain.xml
    • Understanding the administration infrastructure of GlassFish
    • Performing administrative tasks
      • Using the GlassFish Admin Console
      • Using the administration Command Line Utility (CLI)–asadmin
        • The syntax of the asadmin utility
        • Examples of running the asadmin utility
    • Summary
  • Chapter 3: Managing Applications on GlassFish
    • Application management on GlassFish
      • Java EE applications
      • Non-Java EE based Java applications
      • Non-Java applications
        • Ruby, JRuby, and Rails
        • Groovy and Grails
    • Application deployment in GlassFish
      • Application deployment features of GlassFish
        • Automatic deployment
        • Dynamic reload
        • Directory based deployment
        • Enable application clients through Java Web Start
        • Support Plain Old Java Object (POJO) web service
        • Configuring application libraries
      • Application deployment tools in GlassFish
        • Using the asadmin CLI utility
        • Using the Admin Console
    • Application deployment tutorial
      • Updating the GlassFish installation
      • Working with Java EE web applications and web services
        • Working with POJO Web Services
      • Working with enterprise applications and clients
      • Working with JRuby and Rails applications
        • Deploying JRuby on Rails application to GlassFish
        • Configuring Rails thread pools
      • Working with Grails applications
        • Deploying Grails applications to GlassFish
    • Summary
  • Chapter 4: Configuring Containers and Essential Services
    • Understanding the GlassFish container architecture
    • Configuring the web container and HTTP service
      • Configuring the web container
      • Configuring HTTP services
        • Configuring the HTTP service
        • Configuring virtual servers
        • Configuring HTTP listeners
        • Configurable properties of the HTTP listener
    • Configuring the EJB containers and ORB
      • Configuring the EJB container
        • Configurable properties of the EJB container
      • Configuring the Object Request Broker (ORB)
      • Configuring the IIOP listener
    • Configuring the Application Client Container (ACC)
    • Summary
  • Chapter 5: Configuring GlassFish Resources
    • Working with the naming service
      • Naming references and binding information
    • JDBC connection pools and data sources
      • Installing the JDBC driver
      • Creating and configuring JDBC connection pools
        • Working with connection pool settings
        • Creating JDBC resources
    • Connector resources
      • Creating a connector connection pool
    • Configuring JavaMail resources
      • Configuring the mail session
    • Custom and external JNDI resources
      • Working with custom resources
      • Working with external JNDI resources
    • Summary
  • Chapter 6: Configuring JMS Resources
    • JMS support on GlassFish
      • Message-based systems and JMS
      • GlassFish support for JMS
    • Getting started with Open MQ
      • The architecture of Open MQ
        • The directory structure of Open MQ
    • Configuring Open MQ
      • Configuring Open MQ within GlassFish
        • Configuring the Open MQ Runtime
        • Configuring the JMS Resources
      • Configuring Open MQ using standalone tools
        • Starting and stopping the Open MQ broker
        • Administering the Open MQ Broker using imqcmd
        • Using the imqadmin administration console
    • Configuring ActiveMQ for GlassFish
      • Installing and configuring ActiveMQ
      • Working with GlassFish generic resource adapter
        • Configuring the GlassFish server classpath
        • Deploying the generic resource adapter
        • Creating the connector resources
    • Summary
  • Chapter 7: Securing GlassFish
    • Reviewing essential security concepts
      • Authentication
      • Authorization
      • Data integrity and confidentiality
      • Auditing
    • Understanding security features in GlassFish
      • Configuring user authentication
      • Security realms supported in GlassFish
        • The file realm
        • The certificate realm
        • JDBC realm
        • LDAP realm
        • Solaris realm
      • Configuring authentication realms
        • Configuring a JDBC realm
        • Configuring an LDAP realm
      • Configuring authentication methods for applications
      • Using Programmatic login
      • Single sign-on
    • Configuring authorization for GlassFish
      • Using default principals and role mappings
    • Configuring certificates and secure communication protocols
      • Working with the keytool utility
      • SSL and TLS support
        • Configuring SSL and TLS
    • Additional security concerns in GlassFish
      • Administering passwords
        • Working with administration related passwords
        • Encrypting application resources related passwords
      • Java ACC support
      • Auditing
    • Summary
  • Chapter 8: Monitoring GlassFish
    • Monitoring features of GlassFish
      • Understanding the GlassFish monitoring service
      • Configuring monitoring
      • Using built-in monitoring tools
        • Viewing monitoring data
      • Monitoring web services
        • Viewing web service statistics
      • Using the Call Flow analysis
    • Using self management rules
      • Self management rules
      • Configuring management rules
    • Monitoring GlassFish with other utilities
      • Monitoring GlassFish using JConsole
      • Using the VisualVM tool
      • Using GlassFish Enterprise Manager for monitoring
    • Summary
  • Chapter 9: Configuring Clusters and High Availability
    • Configuring clusters for GlassFish
      • Understanding GlassFish clusters
      • Configuring clusters
        • Obtaining cluster support
        • Creating node agents
        • Creating clusters
        • Administering clusters
        • Creating server instances for the cluster
    • Configuring load balancers
      • Configuring the load balancer plug-in for Apache web server
      • Configuring GlassFish for load balancing
        • Disabling (Quiescing) targets and applications
    • Configuring high availability
      • Working with in-memory replication
        • Configuring in-memory replication
        • Configuring the Group Member Service (GMS)
      • HADB-based session failover
    • Summary
  • Chapter 10: Troubleshooting and Tuning GlassFish
    • Troubleshooting the GlassFish environment
      • Using the diagnostic service
      • Working with thread dumps
        • Generating thread dumps
        • Analyzing thread dumps using TDA
    • Tuning GlassFish Server for performance
      • The NetBeans profiler
        • Using the NetBeans profiler
      • Using the GlassFish Performance Advisor
        • Installing the Performance Advisor
        • Using Performance Advisor management rules
        • Using the Performance Advisor tuner
    • Summary
  • Chapter 11: Working with GlassFish 3
    • Introducing GlassFish 3
      • New features of GlassFish 3
        • Supporting Java EE 6 profiles
        • Modular design
        • Support for dynamic and scripting languages
      • Installing GlassFish 3
        • More on the installer-based distribution
        • Verifying the GlassFish installation
      • Working with the GlassFish update tool
        • Introducing IPS
        • Using the update tool utilities
        • About the standalone update tool
      • Exploring the GlassFish directory structure
        • The structure of the default domain: domain1
        • Getting familiar with domain.xml
    • Administering GlassFish 3
      • Using the Admin Console
    • Using the asadmin CLI utility
      • Using the the HTTP interface of the asadmin utility
    • Working with GlassFish containers
      • Embedded GlassFish
    • Deploying applications to GlassFish 3
      • Application deployment features
        • Directory based deployment
        • Dynamic reload and automatic deployment support
        • Configuring application libraries
      • Application deployment tools on GlassFish
        • Using the asadmin CLI utility
        • Using the Admin Console
    • Application deployment tutorial
      • Working with Java EE web applications and web services
      • Working with JRuby and Rails applications
        • JRuby on Rails and GlassFish 3
        • Deploying JRuby on Rails application to GlassFish
        • Configuring Rails thread pools
        • Running Rails application with embedded GlassFish
      • Working with Grails applications
        • Running Grails application with embedded GlassFish
        • Deploying Grails applications to GlassFish
    • Summary

Xuekun Kou

Xuekun Kou has been architecting, designing, and building enterprise Java applications since the early days of J2EE. He also trains architects and developers on the Java technology, software engineering, and software architecture. He has extensive experience with most application server products, and his experience with the GlassFish application server dates back to its ancestor, Sun Microsystems' application server series: iPlanet, Sun ONE, and Sun Java System application server. He holds degrees from the Florida State University and the University of Science and Technology of China.

Code Downloads

Download the code and support files for this book.


Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

Sample chapters

You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

Frequently bought together

GlassFish Administration +    Joomla! 2.5 Beginner’s Guide =
50% Off
the second eBook
Price for both: £24.65

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book

  • Manage the modules you need for the GlassFish server using the GlassFish update tool
  • Deploy and configure the GlassFish server for several common types of applications that do not access a lot of external resources, such as transaction services and mail session components
  • Configure the web and EJB containers in GlassFish to support applications deployed to the GlassFish Server
  • Configure two popular open source JMS service providers, the Open Message Queue (Open MQ) and Apache ActiveMQ, in GlassFish
  • Secure both the GlassFish server and applications deployed to it
  • Get familiar with the utilities used to establish a secure runtime environment for GlassFish
  • Cluster multiple GlassFish server instances to improve throughput and availability
  • Monitor and maintain the GlassFish server runtime using the monitoring features of GlassFish
  • Configure clusters for the GlassFish Server, and use a load balancer to distribute load across the server instances in the cluster
  • Plan and create a production-ready GlassFish Server deployment
  • Benefit from the improvement and significant growth along with new features in GlassFish version 3

In Detail

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.

This book presents a well-balanced mixture of concepts and hands-on tutorial on administering the GlassFish Application Server.

Approach

This book provides an in-depth tutorial on administering the GlassFish application server. Every chapter starts with a clear discussion of the involved concepts, followed by step-by-step instructions on how to perform the administrative task. Clear illustrations and complete working code examples are used to help you visualize the relevant topics.

Who this book is for

If you are a Java EE application developer and architect who builds and deploys Java EE, Ruby on Rails, and other supported applications for the GlassFish Application Server, then this book is for you. This book is also very valuable if you are an administrator responsible for maintaining the GlassFish Server runtime. Basic knowledge of Java EE 5 is assumed but you need not have any previous knowledge of GlassFish. Those who already know the basics of GlassFish will still find this book useful as they will gain knowledge of administration tasks.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software