Who should attend
Server Administrators and Web Developers that are responsible for deploying, managing, and updating Java-based Web applications with Apache Tomcat.
Prerequisites
All attendees should be familiar with general principles of Web server administration and have some experience building Web applications.
Course Outline
Introduction
Overview of the Apache Software Foundation and the Jakarta Project
Overview of Java EE as a platform
Overview of the features and functionality specifically provided by Tomcat
Installing Tomcat
Installing the Java Runtime Environment (JRE)
Tweaking the JRE for performance
Performing the actual Tomcat installation
Examining the Tomcat installation directories
bin
conf
common (Tomcat 5.5 and earlier)
lib (Tomcat 6 and later)
logs
server (Tomcat 5.5 and earlier)
shared (Tomcat 5.5 and earlier)
temp
webapps
work
Configuring Tomcat
server.xml (detailed walkthrough)
web.xml
context.xml
Tomcat Valves
AccessLog and FastCommonAccessLog
RequestFilterValve
SingleSignOnValve (by request)
RequestDumperValve (by request)
Memory management and JMX monitoring
Understanding Java garbage collection
Using JAVA_OPTS, JMX and JConsole to monitor and tune Tomcat memory usage
Sizing Tomcat's JVM memory heap
Using JMX and JConsole to configure Tomcat via Tomcat's MBeans
Updating Tomcat's configuration via JMX "on the fly" without restarting Tomcat
Load testing with JMeter
Tomcat sessions and persistence
Standard session behavior
Disabling session saves across restarts (if desired)
FileStore
JDBCStore
Using to replicate sessions across Tomcat instances
Connecting databases with Tomcat applications
Classic JDBC approach
Better approach: JNDI resources
Security
File system security
Java security manager
Realms
+ Using the UserDatabaseRealm
+ Using the JDBC realm
SSL
Performance tuning strategies
Additional JVM tuning tips
Enabling parallel garbage collection
Building native connectors
Disabling/removing unneeded applications
Tuning incoming connections and database connection pools
Turning off Jasper development mode
Precompiling JSPs
Preloading servlets
Tomcat with Apache
Introducing the mod_jk connector [mod_proxy_ajp taught in lieu of mod_jk upon request]
Understanding Tomcat workers
Connecting Tomcat with Apache
Configuring SSL
Tomcat load balancing with Apache
Tomcat 5 clustering
Clustering model
+ Load balancing
+ Session sharing
Working with Tomcat clustering
+ Session management
+ Configuring a cluster
+ Testing the cluster
Trainings
Onsite Training
These courses are available for on-site delivery for groups of 5 or more students.
LinoBox offers discounted training for on-site courses of more than 5 students - contact Sanjeet Vanamala at sanjeet@linobox.com or 91-9819586142 to schedule training and arrange details or for any kind of information..
|