RKCP Information Technology




Tomcat
Home » Courses   » Tomcat

Tomcat

Overview

Null


Objective

  • Learning of setting up and configuring Apache Tomcat
  • Mastering deployment of Java web applications to the Tomcat server
  • Learning to configure Tomcat valves for access logging, single sign-on, and access control.
  • Discovering how to secure applications running on the Tomcat server
  • Master the steps to configure Tomcat to run behind Apache using the mod_jk module


Prerequisites

  • Experience in development of applications using Java and Servlet


Syllabus

Expand All
  • 1. Introduction
    • Overviews of the Apache Software Foundation and the Jakarta Project
    • Overviews of Java EE as a platform
    • Overviews of the features and functionality specifically provided by Tomcat
  • 2. Installing Tomcat
    • Installation of the Java Runtime Environment (JRE)
    • Tweaking the JRE for performance
    • Installing the actual Tomcat
  • 3. Examining of the Tomcat installation directories
    • 4. Configuration of the Tomcat
      • server.xml
      • web.xml
      • context.xml
    • 5. Tomcat Valves
      • AccessLog and FastCommonAccessLog
      • RequestFilterValve
      • SingleSignOnValve
      • RequestDumperValve
    • 6. Managing the memory and JMX monitoring
      • Understanding the Java garbage collection
      • Using JAVA_OPTS, JMX and JConsole for monitoring and tuning Tomcat's memory usage
      • Sizing memory heap of Tomcat's JVM
      • Using JMX and JConsole in configuring Tomcat via Tomcat's MBeans
      • Updating the Tomcat's configuration via JMX "on the fly" without even restarting Tomcat server
    • 7. Tomcat sessions and persistence
      • Standard session
      • Disabling session saves across restarts (if desired)
      • FileStore
      • JDBCStore
      • Using for replicating sessions across Tomcat instances
      • Connecting the databases with Tomcat applications
      • Classic JDBC approach
      • Better approach: JNDI resources
    • 8. Security
      • File system security
      • Java security manager
      • Realms
      • Security using the UserDatabaseRealm
      • Security using the JDBC realm
      • SSL
    • 9. Performance tuning strategies
      • Additional JVM tuning tips
      • Enabling a parallel garbage collection
      • Building native connectors
      • Disabling/removing applications which are not needed
      • Tuning the incoming connections and database connection pools
      • Turning off the Jasper development mode
      • Pre-compiling JSPs
      • Pre-loading the servlets
    • 10. Tomcat with Apache
      • Introducing mod_jk
      • Understanding Tomcat workers
      • Connection of Tomcat with Apache
      • Configuring the SSL
      • Load balancing of Tomcat with Apache
    • 11. Tomcat 5 clustering
      • Clustering model
      • Load balancing
      • Session sharing
      • Working with the Tomcat clustering
      • Session management
      • Configuring a cluster
      • Testing a cluster
    • 12. Some additional Topics
      • Tomcat virtual servers/Name server configuration
      • Production deployment checklist configurations