![]() |
Home | ![]() |
My Account | ![]() |
Courses & Pricing | ![]() |
Schedules | ![]() |
FAQ | ![]() |
Inquiry | ![]() |
Contact Us | ![]() |
Bharats web site and name came up after a search through Google. I emailed him and set up my first appointment. I was impressed, he covered the topics I was having problems with, and in a manner I could easily understand.
Apache Tomcat Server is an open source web server used for the deployment of Java based Web applications using Java Servlet and JavaServer Pages technologies. The Java Servlet and JavaServer Pages specifications are developed by Sun under the Java Community Process. Web Servers like Apache Tomcat support only web components.
Tomcate Training Objectives
Apache Tomcat is the most popular platform for deploying Java-based Web applications. In this course, the Java programmer will learn how to setup, configure and administer the Tomcat server, how to deploy applications on the server, and how to ensure the server's security.
Course Details:
Apache Tomcat Introduction
- Brief history of Apache
- The Apache Software Foundation
- The Jakarta Project
- Tomcat Licensing
- The J2EE Technologies
- Java Web Development
- Servlet/JSP Containers
Java Web Applications
- Overview of Servlets
- Advantages of Servlets
- Lifecycle of a Servlet
- Overview of JavaServer Pages
- A Simple JavaServer Page
- JSP and JavaBeans
- JSP Tag Libraries
- The MVC frameworks (e.g. Struts)
Installing Tomcat
- Downloading and Installing Apache Tomcat
- Overview of Installing Tomcat
- Download and install a JVM
- Download Tomcat
- Using the Windows installer
- Understanding Java memory managemenet and tweaking the JVM for performance
- Download and install Ant
Tomcat Directories
- Examining the Tomcat Installation Directories
- Tomcat Directory Structure
- The bin Directory
- common and shared Directories
- The conf Directory
- The logs Directory
- The server directory
- The work Directory
- The temp Directory
- The webapps Directory
- Web Application Directory Structure
- Deploying HTML and JSP Pages
- Deploying a Web Context
- Viewing the JSP Page
- Viewing the Generated Code
- Lab 1: Deploying a Web App
Configuring Tomcat
- Tomcat Configuration Techniques
- Tomcat's Component Architecture
- The <Server> Element
- The <Service> Element
- The <Connector> Element
- The <Engine> Element
- The <Host> Element
- The <Context> Element
- The <Realm> Element
- The <Valve> Element
- The <Listener> Element
- The <Loader> Element
- The <Manager> Element
- The server.xml File
- Lab 2: Modifying server.xml
Deploying Web Applications
- Web Application Administration
- Deploying Web Applications
- The Directory Structure of a Web App
- 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
- A Sample web.xml file
- Lab 3: Deploying a Web Application
- Tomcat's default conf/web.xml file
- Tuning default JSP and Static-content servlets
The Tomcat Manager
- Deploying and Managing Web Application using the Tomcat Manager
- Starting the Tomcat Manager
- Tomcat Manager
- The Manager Section
- Applications
- Deploy
- Server Information
- Creating a WAR File
- Lab 4: Deploying a WAR File
- Java Management Extensions (JMX) on Tomcat
- Tomcat integration with Ant
Advanced Features
- Using Some of the Advanced Features of Tomcat
- Valves
- Access Log Valve
- Single Sign-on Valve
- Remote Address Filter
- Remote Host Filter
- Request Dumper Valve
- Configuring JNDI Resources
- JNDI: Java Naming and Directory Interface
- Defining a JNDI Resource
- The <environment></environment>Element
- The <resource></resource>Element
- Configuring a JavaMail Session
- Global Resources
- Lab 5: Using Valves
JDBC Connectivity
- Configuring Tomcat to Connect to a Database
- Overview of JDBC
- JDBC Drivers
- Connecting to a Database
- Connection Pools
- Download and Install MySQL
- Configure MySQL for Tomcat
- Create a Database in MySQL
- Download and Deploy a JDBC Driver
- Defining a DataSource in Tomcat
- Defining a Data Source Manually
- Modifying the Deployment Descriptor
- Detecting and closing leaked database connections
- Lab 6: JDBC Connections
Tomcat Security
- Configuring Security on Tomcat
- Security Considerations
- File System Security
- Filesystem Recommendations
- The Java Security Manager
- Granting Permissions to Java Apps
- Java Permissions
- Adding Your Own Policies
- Enabling the Java Security Manager
- Security Manager Tips
- Security Realms
- Different Types of Realms
- Configuring a Realm
- Users and Roles (authentication and authorization)
- Creating a Data Source Realm
- Protecting passwords
- FORM-based authentication
- Configuring Tomcat for SSL
- Requiring SSL in applications
- Lab 7: Create a Data Source Realm
Connectors
- Connecting Tomcat to Apache
- Overview of Connectors
- HTTP Connectors
- Advantages of Using a Web Server
- Connector Protocols
- Step 1: Configure an AJP Connector
- Step 2: Download mod_jk
- Step 3: Create the mod_jk.conf file
- Step 4: Start Tomcat
- Step 5: Create a Worker
- Step 6: Configure httpd.conf
- Test the Setup
- Load balancing applications across multiple Tomcat instances
- Issues with load balancing
- Server affinity via sticky sessions
- Shared session storage
- Replicated sessions via Tomcat clustering
- Lab: Clustering
Shared Hosting
- Overview of Shared Hosting
- Tomcat Virtual Hosting
- Configure Tomcat to enable virtual hosting as a stand-alone server
- Configure Tomcat to enable virtual hosting using jk2 or webapp.
- Configure Tomcat as Stand-alone
- Configure Tomcat with AJP
- Separate JVM for Each Host
- Lab: virtual hosting
Load Testing
- Using the JMeter Application
- Load Testing with JMeter
- Install JMeter
- Running JMeter
- Creating a Test Plan
- Configure the Thread Group
- Add a Task to the Thread Group
- Configure the HTTP Request
- Add a Report Listener
- Run the Test Plan
- Viewing the Results



