Open menu

Java

Oracle Glassfish Server Administration

Audience

This course is for system administrators working in the Linux, UNIX and Windows environment.

Application developers will also benefit from attending.

Prerequisites

Delegates should have a good knowledge of their target operating system; be that Linux, UNIX or Windows.

Duration

5 days. Hands on.

Course Objectives

This course provides an introduction to Java Enterprise Edition and a comprehensive understanding of Glassfish Administration.

Course Content

Intro to Java Enterprise Edition
Java EE Overview. 
Common Servers.
Development Environments.
The Java Virtual Machine (JVM).
JVM Providers.
Glassfish Server Instances.
App Server Architecture.
RMI Client/Server Architecture.
EJB Architecture.
Data Persistence.
Java Naming and Directory Interface.
XML Support.
Web Services.
Spring Architecture.

Glassfish Server Domains
What are Glassfish Domains?
Types of Server.
What is the role of the AdminServer?
domain.xml.
Default Ports and Settings.
Directory Structures.
Administration Console.
Invoking asadmin from Browser.
Starting The Domain.
Passwords.
Shutting Down Domains and Servers.
Starting the Server in Debug Mode.
Appserver Management eXtensions.
Troubleshooting.
Admin Tasks.
Domain Backup.
Logging.
Setting up Logging.
Virtual Hosts.
Creating Virtual Hosts.

Web Applications
HTTP Requests and Responses.
Servlets and JSPs.
Servlet Architecture.
Simple Servlet.
Servlet Lifecycle.
A Simple JSP.
JSP Page Life Cycle - Overview.
Sun's Recommended Architecture.
Where Can We Store State?
Cookies.
URL Rewriting.
HttpSession Objects.
Scope.
Filters.
Chaining Filters.

Deployment
Deploying Applications.
What Does a Web App Contain?
Deployment Methods.
Auto-Deployment.
Console Deployment.
Choosing a Target.
Command Line Deployment.
Deployment Examples.
WAR Files.
EJB Jar Files.
Ear Files.

JNDI
Naming Service Concepts.
What do we use JNDI for?
JNDI Architecture.
Glassfish JNDI Architecture.

JDBC
What is JDBC?
JDBC Architecture.
Two-tier Client/Server.
Three-tier Client/Server.
Driver Types.
JDBC Type 1 Drivers.
JDBC Type 2 Drivers.
JDBC Type 3 Drivers.
Type 3 Middleware Services.
JDBC Type 4 Drivers.
The Need for Connection Pooling.
Connection Pooling and Data Sources.
Configuring the Connection Pool.
Connecting with Data Source.

Transactions
What is a Transaction?
ACID Transactions.
Pessimistic Transactions.
Optimistic Transactions.
Heuristic Exceptions.
Transaction Management.
Local and Distributed Transactions.
Configure Transaction Service.

Security
Authentication and Authorization.
Security Providers.
Users, Groups and Roles.
Security Realms.
File Users.
Protecting Web Applications.
Authentication - Login Page.
Form Authentication.
Authorization - Web Resources.
Role Assignment.
SSL.
Conventional Encryption.
DES - Data Encryption Standard.
Decryption by Brute Force.
Public Key Infrastructure.
PKI – Secrecy, Authentication and and Privacy.
Man in the Middle Attack.
PKI - Key Lengths.
Digital Signatures.
Digital Certificate.
Certificate Chains.

Java Messaging Service
JMS Architecture.
Benefits of using JMS.
JMS Domains.
Point to Point (Queues).
Pub-Sub (Topics).
JMS Messages.
JMS Objects.
Connection Factory.
Road Map.
Message Driven Beans.
MDB Architecture.

Web Services
Goals of Distributed Services.
Industry Solutions ...
SOAP.
SOAP message format.
SOAP Envelope: Request.
SOAP Envelope: Response.
SOAP Envelope: Fault.
SOAP Envelope: Fault.
Disadvantages of SOAP?

Clustering
What is a Cluster?
Benefits of Clustering.
What Components Can Be Clustered?
Cluster Topology.
Combined Tier (Preferred).
Split Tiers.
Proxy Front End.
Proxy and Split Tiers.
Architecture Recommendations.
Configuring Clusters.
Configure Domain For Clustering.
Glassfish Nodes.
Create Cluster.
Cluster Deployment.
How to Deploy to the Cluster.
Cluster Internals.
JNDI Trees.
Replica Aware EJBs.
Multicast.
Load Balancing.
Hardware Load Balancers.
Software Load Balancers.
Load Balancer Algorithms.
Fail Over.
Http Session State and EJB State.
Backing up State.

Performance Tuning
Tuning Roadmap.
JConsole.
JVisualVM.
JRockit Management Console.
Profiler Tools.
JMeter.
Tuning the Environment.
Tuning the O/S.
Databases.
Tuning the JVM.
Garbage Collection.
How a Garbage Collector Works.
Mark and Sweep.
Heap Fragmentation.
Generational Garbage Collection.
Heap Organisation.
Collecting the New Region.
Collecting the Old Region.
Monitoring GC.
Total Heap Size.
Monitoring Garbage Collection.
Tuning Glassfish.
Tuning Glassfish Server.
Pool Sizes.
Tuning Connection Backlog Buffering.
Use Local Interfaces.
Tune HTTP Sessions.
Heap Size.
JSPs.
Transactions.
EJB Pool Size.
Connection Pools.
Minimizing Sessions.

Verhoef Training Ltd.

11 Kingsmead Square
Bath, BA1 2AB
United Kingdom

Tel: +44(0)1225 339705

Email: info@verhoef-training.co.uk

Become a Trainer

Ever thought about using your skills to help others?

Call us to find out about how you can teach for Verhoef.

Tel: +44(0)1225 339705