Learning Patterns: Your Global Source for Java Training, Mentoring, and Consulting
Home | About LearningPatterns | Our Services | Contact Us | Printer Friendly Link

Course Description (Note that this course is under development - contact us for availability):

Administering the GlassFish 2.1 Application Server

Sun's GlassFish Application Server is the open source reference platform for Java EE 5. GlassFish is based on Sun's Java System Application Server, and has been thoroughly tested and used in many production systems. First released in 2006, it has become one of the most popular open source application servers on the market, and is currently targeted by open source projects more than any other application server.

GlassFish provides a rich set of tools for administration, including a full featured Web-based admin console, as well as a fully functional Command Line Interface (CLI) that can be used for scripting. The admin tools provide rich capabilities for monitoring and management out of the box.

This course covers all the important administrative tasks that are required to administer GlassFish AS. It starts with installation, architecture, and basic configuration and monitoring, covers deployment and configuration of Web and Enterprise applications, and then moves on to configuration of the many other services that GlassFish supports, such as the Web container, JDBC (database) and JMS (messaging). It also includes coverage of the configuration and management of GlassFish security, as well as advanced topics such as tuning and clustering.

The course is focused and informative, and will describe and clairfy the many details of running and maintaining GlassFIsh, and leave you well prepared to manage GlassFish installations. It includes extensive lab exercises for all important capabilities that are covered in the course.

Course Information

Duration: 3 days

Hands-on: 50% hands-on, 50% lecture

Supported Platforms: GlassFish 2.1

Skills Gained:

Course Details:

Session 1: GlassFish Introduction and Installation

  • Java EE Overview and Architecture
  • GlassFish Background and Overview
  • Basic GlassFish Architecture
  • Downloading and Installing GlassFish
  • Starting and Stopping GlassFish

Session 2: GlassFish Structure and Architecture

  • GlassFish Directory and File Structure
  • Server Profiles, Domains and Domain Structure
  • Configuration Files - setup.xml and domain.xml
  • Logging and Logging Configuration
  • The Admin Console
  • The asadmin Command Line Interface

Session 3: Deployment

  • Java EE Application Structure (Jars, Wars, Ears, Sars)
  • GlassFish Deployment Details
  • Deploying with the Admin Console and asadmin
  • Deploying Using autodeploy
  • Deploying with asant Tasks
  • Directory (Expanded) Deployments
  • GlassFish Classloading, and Effect on Deployment

Session 4: Service Configuration (Web, JNDI, Datasource, EJB, Web Service)

  • Web Container Overview
  • Configuring the Web Container / HTTP Service
  • Virtual Hosts and Listeners
  • JNDI and Naming Overview
  • GlassFish Naming Overview and Configuration
  • JNDI Client Configuration
  • DataSource and JCA Overview
  • DataSource and Connection Pool Configuration
  • The EJB Container
  • EJB Pooling and Caching
  • Managing the EJB Container
  • Web Service Overview and Deployment
  • Viewing, Monitoring, and Managing Web Services

Session 5: Messaging

  • JMS - Java Message Service Overview
  • GlassFish Messaging Overview - Sun Message Queue
  • Creating Connection Factories and Destinations (Queue/Topic)
  • Configuring the JMS Provider

Session 6 : Security

  • Java EE Security Overview
    • Authentication, Authorization, Identity
    • Security Roles
    • Web App Security Constraints
  • GlassFish Security Architecture
  • Managing Users, Groups, and Realms
  • file, JDBC, ldap, and other Realms
  • Password Security - Encrypted Passwords, Master and Admin Passwords
  • SSL/TLS and HTTPS Overview
  • Using keytool, GlassFish configuration
  • Securing Other Services

Session 7: Monitoring and Tuning GlassFish

  • Monitoring
    • Overview, Enabling/Disabling
    • Using JConsole
    • Monitoring Resources, the Tree Structure
    • Statistics
  • Tuning
    • Tuning The JVM (Heap/Memory Usage, Garbage Collection (GC) Overview and Tuning
    • Tuning the HTTP Service
    • EJB Tuning
    • JDBC (database) Tuning

Session 8: Clustering

  • GlassFish Clustering Overview
  • Cluster Configuration
  • The Repository, Cluster Instances, and the DAS
  • Clustering Architecture (Client Interceptor, Load Balancing and Fault Tolerance, State Replication)
  • Clustered Services
  • Load Balancers and Clustered Http
  • Configuring Apache httpd for Use with the Load Balancer

 

Home | About LearningPatterns | Our Services | Legal | Contact Us