Working with Apache Tomcat Schulung

Haupt-Reiter

Schulungsprache

Dieser Kurs wird auf Deutsch und Englisch angeboten

Course Code

apachetomcatw

Dauer

21 Stunden (usually 3 days including breaks)

Voraussetzungen

  • Basic Java
  • Basic HTML

Überblick

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.

Schulungsübersicht

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
Teilnehmer aus verschiedenen Organisationen. Die Themen können hier nicht angepasst werden.
Von 4840EUR
Request
Private Classroom Private Classroom
Die Teilnehmer sind aus einem Unternehmen. Externe Teilnehmer sind nicht erlaubt. Der Kurs ist speziell auf eine Gruppe zugeschnitten, Die Themen werden genau auf die Bedürfnisse der Teilnehmer abgestimmt.
Von 4840EUR
Angebot erfragen
Private Remote Private Remote
Der Anleiter und die Teilnehmer befinden sich an unterschiedlichen Orten und kommunizieren über das Internet miteinander.
Von 4190EUR
Angebot erfragen
Selbststudium Selbststudium
Das Selbststudium ermöglicht es Ihnen von Zuhause aus zu lernen. Vielfältige Materialien, wie Videos, Texte und Selbsttests stehen Ihnen dafür zur Verfügung.
Kein Angebot vorhanden
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 4840EUR 4840EUR 4190EUR
2 2900EUR 2875EUR 2550EUR
3 2253EUR 2220EUR 2003EUR
4 1930EUR 1893EUR 1730EUR
Cannot find a suitable date? Choose Your Course Date >>
Zu teuer? Schlagen Sie einen Preis vor >>

Verwandte Kategorien


Spezialangebote

EINIGE UNSERER KUNDEN