Course Outline
Tomcat Overview
- Foundational overview of Apache software
- The Apache Software Foundation's role in governance
- Jakarta Project specifications and standards
- Tomcat licensing terms and compliance
- J2EE technology stack components
- Java-based web development practices
- Servlet and JSP container mechanisms
Java Web Applications
- Fundamental overview of Servlet technology
- Benefits of Servlets and their execution lifecycle
- JavaServer Pages (JSP) implementation
- Integration of JSP, JavaBeans, and Tag Libraries
- Model-View-Controller (MVC) framework application
Installing Tomcat
- Procuring and installing the Apache Tomcat server
- Installing a JVM, acquiring Tomcat, and setting up Apache Ant
- Utilizing the Windows installation package
- Java memory management and JVM optimization for performance
Tomcat Directories
- Installation paths, directory hierarchy, bin folder, and common/shared spaces
- Configuration, logs, server, work, temporary, and webapps directories
- Standard structure for web application directories
- Deploying HTML and JSP resources and defining web contexts
- JSP compilation and generated source code
- Deployment procedures for web applications
Configuring Tomcat
- Tomcat configuration methods and best practices
- Analysis of Tomcat's component-based architecture
- Server, Service, Connector, Engine, Host, Context, Realm, Valve, Listener, Loader, and Manager elements
- Structure and purpose of the Server.xml file
- Procedures for modifying server.xml
Web Applications
- Administrative oversight and deployment of web applications
- Directory structure requirements for web apps
- Purpose of the web.xml configuration file
- Understanding deployment descriptors
- The
element definition - Mapping Servlets to specific URLs
- The
element for resource linkage - The
element for environment configuration - The
element for EJB references - Example web.xml file structure
- Methods for deploying web applications
- Review of the default conf/web.xml file
- Optimizing default JSP and static content servlets
Tomcat Manager
- Deploying and overseeing web applications via the Tomcat Manager
- Initiating the Tomcat Manager interface and reviewing its functions
- Detailed examination of the Manager section
- Application listing, deployment controls, and server information
- Process for creating a WAR file
- Practical exercise: Deploying a WAR file
- Integration of Java Management Extensions (JMX) with Tomcat
- Integration of Tomcat with Apache Ant
Advanced Features
- Leveraging advanced functional capabilities of Tomcat
- Valves, including Access Log and Single Sign-on
- Implementation of Remote Address and Remote Host filters
- Utilization of the Request Dumper Valve
- Configuration of JNDI resources
- Java Naming and Directory Interface (JNDI) and resource definition
- The
and elements - Setting up a JavaMail session
- Management of global resources
JDBC Connectivity
- Configuring Tomcat for database connectivity
- Overview of Java Database Connectivity (JDBC)
- Selection and use of JDBC drivers
- Database connection establishment and pooling strategies
- Downloading and installing MySQL
- Configuring MySQL for use with Tomcat
- Creating a database within MySQL
- Procuring and deploying a JDBC driver
- Defining a DataSource in Tomcat and manual configuration steps
- Modifying the deployment descriptor for data access
- Detection and closure of leaked database connections
Tomcat Security
- Security assessment and configuration of Tomcat
- Key security considerations for administrators
- File system security and recommended filesystem practices
- Implementation of the Java Security Manager
- Granting permissions to Java applications and reviewing Java Permissions
- Development and addition of custom security policies
- Enabling the Java Security Manager
- Security Manager best practices and Security Realms
- Review of Realm types and Realm configuration
- User and role management for authentication and authorization
- Creation of a Data Source Realm
- Password protection mechanisms
- Configuration of FORM-based authentication
- Setting up Tomcat for Secure Sockets Layer (SSL)
- Enforcing SSL requirements in applications
Connecting
- Integrating Tomcat with Apache HTTP Server
- Examination of connector components
- Configuration of HTTP connectors
- Advantages of utilizing a front-end web server
- Supported connector protocols
- Setting up an AJP connector
- Acquisition of mod_jk
- Creation of the mod_jk.conf file
- Starting the Tomcat service
- Creation of a Worker instance
- Configuration of httpd.conf
- Validation of the setup
- Load balancing applications across multiple Tomcat instances
- Common challenges in load balancing
- Server affinity implementation via sticky sessions
- Implementation of shared session storage
- Session replication via Tomcat clustering
- Shared hosting environments
- Tomcat virtual hosting capabilities
- Configuring Tomcat for virtual hosting as a standalone server
- Configuring Tomcat for virtual hosting using jk2 or webapp
- Configuration of Tomcat in standalone mode
- Configuration of Tomcat with AJP
- Assignment of a separate JVM for each host
Load Testing
- Introduction to the JMeter application
- Conducting load testing with JMeter
- Installation and execution of JMeter
- Development of a test plan
- Configuring the Thread Group and adding tasks
- Configuration of HTTP requests
- Addition of a report listener
- Execution of the test plan
- Analysis and review of results
Requirements
This course is designed for: Web and application server administrators who require the ability to install, configure, operate, and tune the Apache Tomcat Application Server for government operations.
To derive maximum benefit from the Tomcat Training course, participants should be familiar with the basic principles of web and application server administration.
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.