RKCP Information Technology
                                                                                                          Tomcat
Home » Courses   » Tomcat

Tomcat

Overview

Null


Objective

  • To learn how to setup and configure Apache Tomcat
  • To master deploying Java web applications to the Tomcat server
  • To learn how to configure Tomcat valves for access logging, single sign-on, and access control.
  • To discover how to secure applications running on the Tomcat server
  • To master configuring Tomcat to run behind Apache using the mod_jk module


Prerequisites

  • Development experience with Java and Servlets.


Syllabus

Expand All
  • 1. 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
  • 2. Installing Tomcat
    • Installing the Java Runtime Environment (JRE)
    • Tweaking the JRE for performance
    • Performing the actual Tomcat installation
  • 3. Examining the Tomcat installation directories
    • 4. Configuring Tomcat
      • server.xml
      • web.xml
      • context.xml
    • 5. Tomcat Valves
      • AccessLog and FastCommonAccessLog
      • RequestFilterValve
      • SingleSignOnValve
      • RequestDumperValve
    • 6. 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
    • 7. 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
    • 8. Security
      • File system security
      • Java security manager
      • Realms
      • Using the UserDatabaseRealm
      • Using the JDBC realm
      • SSL
    • 9. 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
    • 10. Tomcat with Apache
      • Introducing the mod_jk
      • Understanding Tomcat workers
      • Connecting Tomcat with Apache
      • Configuring SSL
      • Tomcat load balancing with Apache
    • 11. Tomcat 5 clustering
      • Clustering model
      • Loading balancing
      • Session sharing
      • Working with Tomcat clustering
      • Session management
      • Configuring a cluster
      • Testing the cluster
    • 12. Additional Topics
      • Tomcat virtual servers/Name serve configuration
      • Production deployment checklists configurations