Working with Apache Tomcat Training Course

Primary tabs

Course Language

This course is delivered in German or English.

Course Code

apachetomcatw

Duration Duration

21 hours (usually 3 days including breaks)

Requirements Requirements

  • Basic Java
  • Basic HTML

Overview Overview

Audience:

  • Developers

Format:

  • Hands-on exercises for about 70 % of time

Duration:

  • This course can be delivered as either a 2 day (14 hours) or 3 day (21hours) event.

Course Outline Course Outline

Introduction to JEE 7 standard

  • Overview
  • Versions differences
  • Application Servers types and profile compliance

Web Tech Introduction

  • What is the WWW
  • HTML basics ( Form, HREF, ...)
  • TCP basics and the HTTP protocol ( GET, POST, ...)

WebApp Standard ( 3.0/3.1 )

  • Older versions comparison
  • Layout,
  • Deployment Descriptor XML
  • Deployment Descriptor Java
  • Servlets
  • ;
    • The Life cycle
    • HttpServletRequest , HttpServletResponse
    • Configuring a Servlet in a Servlet Container
    • Understanding the Contexts/Scopes
    • Session Context / HttpSession
    • Application Context / ServletContext
    • Request Context / HttpServletRequest
  • Java Server Pages (JSPs )
    • Overview
    • JSP Directives, JSP Scripting,
    • Configuring JSP groups in XML
    • JSP written in XML format and advantages
  • Filters and Listeners
  • Thread safety tips for webapps
  • Multipart
  • Asynch Way
  • What is a WebSocket

Overview of Apache Tomcat 7/8

  • The Apache Tomcat Servlet ContaineServer
  • Overview packages / versions / standard versions / ...
  • The Tomcat Manager Web Application
  • Specialized Realm Implementations
  • Tomcat Valves

Tomcat Architecture

  • Server
  • Service
  • Connector
  • Engine
  • Host
  • Context
  • Connector
  • Engine
  • Host
  • Context

Installing and Configuring Tomcat

  • Requirements for Installing and Configuring Tomcat
  • Installing Tomcat Using Windows Service Installer
  • Manually Installing on Windows
  • Installing to Linux

Configuring and Deploying Web Applications to Tomcat

  • The Tomcat Directory Structure
  • Tomcat bin scripts
  • Passing Runtime Options to Catalina Script
  • Tomcat Configuration Files
  • Java Web Applications
  • Manually Deploying Web Applications to Tomcat
  • Deploying WAR Archive
  • Other Methods of Deployment
  • Configuring Hosts and Contexts
  • Configuring Hosts
  • Configuring Web Application Contexts
  • Working with Eclipse IDE
  • NetBeans way
  • How to Debug remote Tomcat Instance

Tomcat Web Application Manager

  • Gaining Access to the Manager Web Application
  • Accessing the Manager Web Application Using Web Interface
  • Listing Deployed Web Applications
  • Checking Server Status
  • Deploying a New Web Application
  • Reloading an Existing Web Application
  • Sessions
  • Stop, Start, Undeploy

Tomcat CLI Web Application Manager

  • Introduction to Ant,
  • Installing Ant
  • Configuring Tomcat’s Ant Tasks
  • Running Ant Scripts

Tomcat Embedded

  • Requirements
  • Implementing a Sample Application with Embedded Tomcat
  • Testing Servlets with Embedded Tomcat

JNDI with Tomcat

  • Introduction to JNDI
  • JNDI API Overview
  • Tomcat JNDI Configuration
  • Introducing JDBC
  • Configuring the Database Connection
  • Configuring Data Source as a JNDI Resource
  • Configuring Mail Session
  • Introducing JavaMail
  • Configuring Mail Session as a JNDI Resource

Set Up a server for serving Tomcat webapps

  • Introduction and alternatives and motivations
  • Using Apache HTTP or IIS in front
    • AJP, ModProxy, Jconnector, ...
  • Example on how to set up multiple Tomcat Instances, with different configurations (Java version, Memory, ...) on same host.

Architecture Best Practices

  • MVC Model 2 with standard components
  • Examples of architectures
    • Overview Spring MVC way
    • Pure JEE way
    • MVC on client side with angular

Packaging War archives

  • Using Ant
  • Using Maven

Tomcat Performance Tuning Introduction

  • The Java garbage collector
  • Load-Testing Tools
    • Jmeter
  • External and Internal tuning tips
    • Sizing JVM Heap
    • Using JAVA_OPTS
    • ...

Exercises


Public Classroom Public Classroom
Participants from multiple organisations. Topics usually cannot be customised
From 4840EUR
Request
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 4840EUR
Request quote
Private Remote Private Remote
The instructor and the participants are in two different physical locations and communicate via the Internet
From 4190EUR
Request quote

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 4840EUR 4840EUR 4190EUR
2 2900EUR 2875EUR 2550EUR
3 2253EUR 2220EUR 2003EUR
4 1930EUR 1893EUR 1730EUR
Cannot find a suitable date? Choose Your Course Date >>
Too expensive? Suggest your price

Related Categories


Course Discounts

Some of our clients