Glassfish JEE Server Administration - JEE Introduction
1. JEE & Glassfish Server Administration
1
• Java and JEE Platform
• Glassfish Enterprise Server Architecture
• Application Server Clustering
• HTTP Load Balancer
• Application Server Monitoring
• Application Server Back up and Restore
Danairat T.
Line ID: Danairat
FB: Danairat Thanabodithammachari
+668-1559-1446
2. Contents
Module-1: Java EE Platform
• Introduction to Java EE
• The Model View Controller
• The Containers
• Web Container
• EJB Container
• JEE Platform Roles
2
3. Contents
Module-2: Glassfish Enterprise Server
• Introduction to Glassfish Enterprise Server
• The Architecture
• Installing Glassfish Enterprise Server 2.1.1
• Start-Stop Command
• The Domain Administration Server
• Reviewing Installed Locations
• Back up
• Deploying Application
• Server Monitoring : Logging, Call Flow Report, Runtime Monitoring
• Test deleting the deployed application and Restore the server
• Re-Testing access the restored applications
3
4. Contents
Module-3: Glassfish Enterprise Server Clustering
• Installing a Server (Node Agent) for the 2nd machine
• Start-Stop Node Agent
• Monitoring Node Agent from Domain Administration Server
• Creating Cluster and Instances
• Reviewing entire start-stop order
• Deploying Application to Cluster
• Testing a Cluster Application
• Back up Cluster
• Test deleting Instances and Cluster and Restore
• Re-Testing access the restored applications
4
5. Contents
Module-4: Load Balancer Integration
• Creating Load Balancer client
• Exporting loadbalancer.xml file from Glassfish Enterprise Server
• Installing Web Server and Load Balancer Plug-in
• Importing loadbalancer.xml file to Load Balancer Server
• Testing access Application from Load Balancer
• Reviewing Load Balancer http access log
• Monitoring Application Server Cluster
• Back up the Glassfish Domain, Load Balancer Clients, Clusters
configuration and Deployed Applications
• Reviewing Start All Servers Order
• Test deleting Load Balancer, Cluster, Instances and Restore
• Re-Testing the restored applications
• Reviewing Stop All Servers Order
5
7. Contents
Module-1: Java EE Platform
• Introduction to Java EE
• The Model View Controller
• The Containers
• Web Container
• EJB Container
• JEE Platform Roles
7
9. Java Enterprise Edition
9
Java EE leverages Java programming language and
the Java virtual machine to defines an
architecture for implementing multi-tier
applications services that deliver the scalability,
accessibility, and manageability needed by
enterprise applications.
10. The Model View Controller (MVC)
10
The most important in JEE application design is MVC. The MVC, Design
Pattern, isolates "domain logic" (the application logic for the user) from input
and presentation (GUI), benefit for independent development, testing and
maintenance.
11. JEE Application Overview
11
• Client-tier components run on the client machine.
• Web-tier components run on the Java EE server.
• Business-tier components run on the Java EE server.
• Enterprise information system (EIS)-tier software, such as database(s).
13. Web Containers
13
Web Container
A container that implements the Web component contract of the JEE
architecture. This contract specifies a runtime environment for Web
components that includes security, concurrency, life-cycle management,
transaction, deployment, and other services. The major components in
Web Container are Servlet and JSP supporting Web Based Application.
14. EJB Containers
14
The EJB specification intends to provide a standard way to implement the
back-end 'business' code typically found in enterprise applications (as
opposed to 'front-end' interface code). EJB Types: Session Bean, Entity Bean,
Message Driven Bean.
15. JEE Platform Roles
15
1. JEE Product Provider: An application server vendor implementing a
JEE product providing the component containers, APIs, and etc.
2. Application Component Provider: Development of JEE
components as well as sufficient business domain knowledge
3. Application Assembler: An Application Assembler takes a set of
components developed by Application Component Providers and
assembles them into a complete J2EE application
4. Deployer: Deployment of J2EE components and applications into
that environment
5. System Administrator: Configuration and administration of an
enterprise's computing and networking infrastructure
6. Tool Provider: Development Tool and Packaging Tool of application
components