Java Servlets

Course Number:J210
Duration:1 day
Standard Price:$2,200 for up to 10 students
Government Price:$1,980 for up to 10 students
Location:on-site

Description

Servlets are the mechanism for creating on-demand web content. In this course, you will quickly learn to generate dynamic web documents using the Java Servlet API.

Outline

Servlet Basics

  • Browsers, Servers and Servlets
  • Basic Servlet
  • Three Ways to Use Servlets
  • Servlet Life Cycle
  • HttpServlet Approach
  • More do Methods
  • Thread Models
  • Debugging

Request and Response

  • Request and Response Basics
  • HttpServletRequest Object
  • Attributes
  • Request Headers
  • HttpServletResponse Object
  • Status Codes
  • Response Headers
  • Compressing the Response
  • Ensuring Valid Characters

Session Tracking

  • Understanding Cookies
  • Cookie Class
  • Session Tracking
  • HttpSession Class
  • Encoding URLs
  • Terminating Sessions

Web Applications

  • Web Application Components
  • ServletContext
  • Deployment Descriptor
  • Security
  • Applet to Servlet Communication

Who should attend

Mid-tier Java programmers that need to present dynamic content on the web.

Prerequisites

Java Programming or equivalent experience. HTML experience is recommended.