Apache Tomcat and Java EE Administration Training Course

Primary tabs

Course Language

This course is delivered in Polish or English.

Course Code

atomjeeadm

Duration Duration

21 hours (usually 3 days including breaks)

Requirements Requirements

None

Overview Overview

Teaches attendees the fundamentals of administering Apache Tomcat and other Java EE environments.

The course is a mixture of lectures and hands-on exercises. Delegates learn by doing, with immediate opportunities to apply the material they learn to real-world problems.

Course Outline Course Outline

Introduction to the Java Platform

  • The JVM, JRE, and JDK
  • Java SE versus EE
  • Apache Tomcat as a lightweight servlet/JSP container, and how this differs from full-blown Java EE application servers such as WebLogic, WebSphere, JBoss, and GlassFish

Architecture of Applications installed to Tomcat

  • Understanding classes versus JARs
  • Servlets
  • JSPs
  • JavaBeans
  • JNDI and datasources
  • Resources that your applications may call on other servers (web services, EJBs, etc.)

Installing Tomcat

  • Installing the Java Runtime Environment (JRE)
  • Tweaking the JRE for performance
  • Performing the actual Tomcat installation

Examining the Tomcat installation directories

  • bin
  • conf
  • lib
  • logs
  • temp
  • webapps
  • work

Configuring Tomcat

  • server.xml (detailed walkthrough)
  • web.xml
  • context.xml

Deploying Java EE Applications

  • Packaging JARs for deployment to Tomcat
  • Packaging WARs for deployment to Tomcat
  • Application server-neutral configuration versus application server-specific configuration
  • Overview of EARs and other archive types not supported by Tomcat, but supported by other Java EE application servers
  • Versioning Java EE applications
  • Managing the deployment of updated applications

Tomcat Valves

  • AccessLog and FastCommonAccessLog
  • RequestFilterValve
  • SingleSignOnValve (by request)
  • RequestDumperValve (by request)

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
  • Load testing with JMeter
  • Using VisualVM (new monitoring tool built into JDK 6) and PSI Probe
  • Controlling JMX MBeans via Ant

Logging and Troubleshooting

  • JULI logging
  • log4j logging
  • Understanding exceptions and thread dumps
  • Troubleshooting errors that occur in Tomcat
  • Troubleshooting errors generated by your deployed applications
  • Troubleshooting strategies applicable to application servers other than tomcat

Connecting databases with Tomcat applications

  • Classic JDBC approach
  • Better approach: JNDI resources
  • Setting up and monitoring database connection pools

Security

  • File system security
  • Java security manager
  • Realms, authentication, and authorization
  • SSL

Java VM and Tomcat 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
  • Application-specific tuning suggestions
  • Tuning levers available in other application servers

The World Beyond Tomcat: Understanding Java EE Applications

  • Explanation of the Java EE APIs not supported by Tomcat: EJB, JMS, and many others
  • 3rd party application frameworks overview (what they are and what administrators should know): Spring, Struts 1/Struts 2, JSF (including a discussion of ICEfaces, RichFaces, etc.)
  • Data tier frameworks and what administrators should know (Hibernate, JPA, etc.)
  • Features offered by WebLogic, WebSphere, and JBoss that are not found in Tomcat

Tomcat Other Features

  • Memory leak prevention and detection
  • Servlet 3.0, JSP 2.2, and EL 2.2 support (and the practical implications of this for Tomcat admins)
  • Cross-site request forgery prevention (and how to configure)
  • How Tomcat 7's new session management features prevent session fixation attacks
  • Alias support (which allow static content to be stored outside the WAR file)

Running Tomcat behind Apache httpd or IIS [this section would be taught using your web server and connector module of choice]

  • Why run Tomcat behind Apache httpd or IIS?
  • Installing mod_jk (Apache or Tomcat) or mod_proxy_ajp and mod_proxy_balancer (Apache 2.2 or later only)
  • Proxying traffic to Tomcat via AJP
  • Monitoring the status of your web server's connection to Tomcat
  • Load balancing Tomcat via mod_jk or mod_proxy_balancer

Tomcat Clustering

  • Configuring mod_jk (in Apache or IIS) or mod_proxy_balancer (Apache 2.2 or later only) as a load balancer
  • Hardware load balancing as an alternative to software load balancing
  • Sticky sessions
  • Configuring a shared session back-end
  • FileStore/JDBCStore (older approach, generally not recommended)
  • Using the <Cluster> tag
  • Configuring the application to be distributable
  • Setting up and testing failover

Guaranteed to run even with a single delegate!
Public Classroom Public Classroom
Participants from multiple organisations. Topics usually cannot be customised
From 1908PLN
(86)
Private Classroom Private Classroom
Participants are from one organisation only. No external participants are allowed. Usually customised to a specific group, course topics are agreed between the client and the trainer.
From 1908PLN
Request quote
Private Remote Private Remote
The instructor and the participants are in two different physical locations and communicate via the Internet
From 5230PLN
Request quote
SelfStudy SelfStudy
Self-study courses allow you to learn at your own pace on your own time. There is no live instructor involved. The participants use recorded video, quizzes and reading at their own convenience.
Price not set yet
Register Interest

The more delegates, the greater the savings per delegate. Table reflects price per delegate and is used for illustration purposes only, actual prices may differ.

Number of Delegates Public Classroom Private Classroom Private Remote
1 1908PLN 1908PLN 5230PLN
2 1754PLN 1654PLN 3315PLN
3 1703PLN 1569PLN 2677PLN
4 1677PLN 1527PLN 2358PLN
Cannot find a suitable date? Choose Your Course Date >>
Too expensive? Suggest your price

Related Categories


Course Discounts

Course Venue Course Date Course Price [Remote/Classroom]
SQL Fundamentals Warszawa, ul. Złota 3/11 Wed, 2016-06-01 09:00 1358PLN / 853PLN
MS Excel - poziom średniozaawansowany Łódź, ul. Tatrzańska 11 Wed, 2016-06-01 09:00 1044PLN / 840PLN
SQL language in MSSQL Toruń, ul. Żeglarska 10/14 Wed, 2016-06-01 09:00 1568PLN / 1198PLN
Bezpieczeństwo aplikacji internetowych Katowice Wed, 2016-06-01 09:30 3606PLN / 2531PLN
Test Automation with Selenium Kraków Mon, 2016-06-06 09:00 3200PLN / 2433PLN
Test Automation with Selenium Katowice Tue, 2016-06-07 09:30 3431PLN / 2469PLN
MS Excel - poziom średniozaawansowany Katowice Wed, 2016-06-08 09:00 700PLN / 771PLN
Programming in C++ Olsztyn, ul. Kajki 3/1 Mon, 2016-06-13 09:00 2936PLN / 2395PLN
Container management with Docker Trójmiasto Tue, 2016-06-14 09:00 4360PLN / 2774PLN
Excel Advanced Katowice Mon, 2016-06-20 09:00 775PLN / 933PLN
Test Automation with Selenium Warszawa, ul. Złota 3/11 Mon, 2016-06-20 09:00 3431PLN / 2327PLN
PostgreSQL Administration and Development Lublin Mon, 2016-06-20 09:30 4025PLN / 3134PLN
Introduction to R Warszawa, ul. Złota 3/11 Tue, 2016-06-21 09:00 3058PLN / 2123PLN
Creating and managing Web sites Wrocław, ul.Ludwika Rydygiera 2a/22 Mon, 2016-06-27 09:00 3410PLN / 2555PLN
Programming in C Gdynia Mon, 2016-06-27 09:00 1590PLN / 1143PLN
Distributed Messaging with Apache Kafka Katowice Mon, 2016-06-27 09:30 4998PLN / 3288PLN
Design Patterns in C# Wrocław, ul.Ludwika Rydygiera 2a/22 Wed, 2016-06-29 09:00 1865PLN / 1392PLN
Visual Basic for Applications (VBA) for Analysts Poznan, Garbary Mon, 2016-07-04 09:00 1912PLN / 1278PLN
Debian Administration Poznan, Garbary Mon, 2016-07-04 09:00 3157PLN / 2083PLN
A Practical Guide to Successful Pricing Strategies Poznan, Garbary Wed, 2016-07-06 09:00 1427PLN / 1093PLN
Excel and VBA Programming for Audit and Finance Professionals Warszawa, ul. Złota 3/11 Mon, 2016-07-11 09:00 1913PLN / 1441PLN
Machine Learning Fundamentals with R Warszawa, ul. Złota 3/11 Mon, 2016-07-18 09:00 2523PLN / 1828PLN
Building Web Apps using the MEAN stack Szczecin Mon, 2016-07-18 09:00 5538PLN / 3351PLN
Microsoft Access - download the data Poznan, Garbary Wed, 2016-07-20 09:00 1117PLN / 856PLN
Python Programming Warszawa, ul. Złota 3/11 Mon, 2016-08-01 09:00 5790PLN / 3753PLN
Programming in WPF 4.5 Warszawa, ul. Złota 3/11 Mon, 2016-09-05 09:00 2359PLN / 1355PLN
BPMN 2.0 for Business Analysts Wrocław, ul.Ludwika Rydygiera 2a/22 Tue, 2016-09-27 09:00 3110PLN / 2337PLN

Upcoming Courses

VenueCourse DateCourse Price [Remote/Classroom]
Toruń, ul. Żeglarska 10/14Tue, 2016-06-14 09:002358PLN / 1639PLN
Białystok, ul. Malmeda 1Mon, 2016-06-20 09:002358PLN / 1671PLN
GdańskTue, 2016-06-21 09:002358PLN / 1671PLN
Wrocław, ul.Ludwika Rydygiera 2a/22Tue, 2016-06-21 09:002358PLN / 1558PLN
Bydgoszcz, ul. Dworcowa 94Wed, 2016-06-22 09:002358PLN / 1608PLN

Some of our clients