Course Outline
Tomcat Overview
- Introduction to Apache
- Apache Software Foundation
- Jakarta Project
- Tomcat Licensing
- J2EE Technologies
- Java Web Development
- Servlet/JSP Containers
Java Web Applications
- Introduction to Servlets
- Benefits of Servlets and their Lifecycle
- JavaServer Pages
- JSP, JavaBeans, and JSP Tag Libraries
- MVC Frameworks
Installing Tomcat
- Downloading and Installing Apache Tomcat
- Downloading and installing a JVM, Tomcat, and Ant
- Using the Windows Installer
- Java memory management and JVM tuning for performance
Tomcat Directories
- Tomcat Installation and Directory Structure, including the bin, common, and shared directories
- The conf, logs, server, work, temp, and webapps directories
- Structure of the Web Application Directory
- Deploying HTML and JSP Pages and Web Context
- JSP Pages and Generated Code
- Deploying a Web Application
Configuring Tomcat
- Tomcat Configuration Techniques
- Tomcat's Component Architecture
- Elements: <Server>, <Service>, <Connector>, <Engine>, <Host>, <Context>, <Realm>, <Valve>, <Listener>, <Loader>, <Manager>
- The server.xml File
- Modifying server.xml
Web Applications
- Web Application Administration and Deployment
- Directory Structure of a Web App
- The web.xml Configuration File
- Deployment Descriptors
- The <web-app></web-app> Element
- Mapping a Servlet to a URL
- The <resource-ref></resource-ref> Element
- The <env-entry></env-entry> Element
- The <ejb-ref></ejb-ref> Element
- Sample web.xml File
- Deploying a Web Application
- Tomcat's Default conf/web.xml File
- Tuning Default JSP and Static-Content Servlets
Tomcat Manager
- Deploying and Managing Web Applications via the Tomcat Manager
- Starting the Tomcat Manager and Interface Overview
- The Manager Section
- Applications, Deploy, and Server Information
- Creating a WAR File
- Lab 4: Deploying a WAR File
- Java Management Extensions (JMX) on Tomcat
- Tomcat Integration with Ant
Advanced Features
- Utilizing Advanced Tomcat Features
- Valves, Access Log Valve, and Single Sign-on Valve
- Remote Address and Remote Host Filters
- Request Dumper Valve
- Configuring JNDI Resources
- JNDI: Java Naming and Directory Interface and Defining a JNDI Resource
- The <environment></environment> Element and the <resource></resource> Element
- Configuring a JavaMail Session
- Global Resources
JDBC Connectivity
- Configuring Tomcat to Connect to a Database
- Overview of JDBC
- JDBC Drivers
- Database Connection and Connection Pools
- Downloading and Installing MySQL
- Configuring MySQL for Tomcat
- Creating a Database in MySQL
- Downloading and Deploying a JDBC Driver
- Defining a DataSource in Tomcat and Manual Data Source Definition
- Modifying the Deployment Descriptor
- Detecting and Closing Leaked Database Connections
Tomcat Security
- Security Configuration in Tomcat
- Security Considerations
- File System Security and Recommendations
- Java Security Manager
- Granting Permissions to Java Apps and Java Permissions
- Creating and Adding Custom Policies
- Enabling the Java Security Manager
- Security Manager Tips and Security Realms
- Types of Realms and Configuring a Realm
- Users and Roles (Authentication and Authorization)
- Creating a Data Source Realm
- Password Protection
- FORM-based Authentication
- Configuring Tomcat for SSL
- Requiring SSL in Applications
Connecting
- Connecting Tomcat to Apache
- Understanding Connectors
- HTTP Connectors
- Benefits of Using a Web Server
- Connector Protocols
- Configuring an AJP Connector
- Downloading mod_jk
- Creating the mod_jk.conf File
- Starting Tomcat
- Creating a Worker
- Configuring httpd.conf
- Testing the Setup
- Load Balancing Applications Across Multiple Tomcat Instances
- Load Balancing Challenges
- Server Affinity via Sticky Sessions
- Shared Session Storage
- Replicated Sessions via Tomcat Clustering
- Shared Hosting
- Tomcat Virtual Hosting
- Configuring Tomcat for Virtual Hosting as a Stand-alone Server
- Configuring Tomcat for Virtual Hosting using jk2 or webapp.
- Configuring Tomcat as Stand-alone
- Configuring Tomcat with AJP
- Separate JVM for Each Host
Load Testing
- JMeter Application
- Load Testing with JMeter
- Installing and Running JMeter
- Creating a Test Plan
- Configuring the Thread Group and Adding a Task
- Configuring the HTTP Request
- Adding a Report Listener
- Running the Test Plan
- Viewing the Results
Requirements
This course is tailored for web and application server administrators responsible for installing, configuring, running, and optimizing the Apache Tomcat Application Server.
To maximize the value of this Tomcat training, you should possess a solid understanding of fundamental web and application server administration principles.
Testimonials (6)
Interective and examples.
Paulius Stankevicius - Festo SE & Co. KG
Course - Apache Tomcat Administration
Systematic approach; We have covered the whole process, from installation till creating a clustered environment...
Visnja Begovic - Euronet Services Kft
Course - Apache Tomcat Administration
I like the complexity of the training
Attila Molnar - Euronet Services Kft
Course - Apache Tomcat Administration
The delivery mechanism, being able to attend the training from home.
Chris Gagola - Canada Life Group Services
Course - Apache Tomcat Administration
I generally liked the labs / Exercises.
Deeksha Upadhyay - Canada Life Group Services
Course - Apache Tomcat Administration
Training was very interactive.