Programming with Servlet and JSP Technology

Are you looking to get into Servlet and JSP development? Here's your ticket to success. Charlie Arehart presents this 4-day course, created by Marty Hall, author of the popular book "Core Servlets and JSP", on which the course is based. The course is presented with Marty's permission.

While it's designed for experienced Java programmers with perhaps no web experience, it can be presented instead (with different emphasis) to groups of developers with web experience but no Java experience.

Details for arranging presentation of this course are offered below.

Course Curriculum

Every day is broken into three or four topics, each of which consists of lecture followed by lab time to try hands-on exercises.

Servlets 2.2

  1. Day 1 Session 1: Getting Started with Servlets
    • Advantages of servlets over CGI and competing technologies
    • The process of compiling, installing, and invoking servlets (Includes specific details for Apache Tomcat 4 and New Atlanta ServletExec)
    • Generating HTML
    • The servlet life cycle
    • Using initialization parameters
    • Using page modification dates to support browser caching
    • Servlet debugging strategies
  2. Day 1 Session 2: Query data
    • Aside: HTML forms
    • Reading form data
    • Handling GET and POST from a single servlet
    • Handling missing and malformed query data
  3. Day 1 Session 3: Using HTTP 1.1 request headers
    • Why, how, available headers, examples
    • Reducing download time by sending compressed pages
    • Password-protected servlets
  4. Day 2 Session 1: Generating The HTTP Response
    • HTTP 1.1 status codes and what you use them for
    • A search engine front end
    • HTTP 1.1 response headers and what you use them for
    • Common MIME Types
    • Accessing ongoing server-side computation with incremental browser updates
  5. Day 2 Session 2: Handling cookies
    • Uses of cookies
    • Problems with cookies
    • Sending cookies to browser
    • Reading cookies from browser
    • Cookie utilities
  6. Day 2 Session 3: Session Tracking
    • The purpose of session tracking
    • The session tracking API
    • Per-servlet access counts
    • Making a reusable shopping cart class

JavaServer Pages 1.1

  1. Day 2 Session 4: Introduction to JSP
    • Advantages of JSP over competing technologies
    • Setting up your environment
    • Invoking JSP pages
    • Common misunderstandings about JSP
    • JSP in the real world
  2. Day 3 Session 1: JSP Scripting Elements
    • JSP Expressions
    • JSP Scriptlets
    • JSP Declarations
    • Template text
    • Predefined variables
    • Limiting Java code called directly from JSP pages
  3. Day 3 Session 2: The JSP page directive -- structuring generated servlets
    • Designating which classes are imported
    • Specifying the MIME type of the page
    • Generating Excel spreadsheets unconditionally
    • Conditionally generating HTML or Excel spreadsheets
    • Participating in sessions
    • Designating pages to process JSP errors
  4. Day 3 Session 3: Including Files and Applets in JSP Documents
    • Including JSP files at the time the main page is translated into a servlet
    • Including HTML or plain text files at the time the client requests the page
    • Including applets that use the Java Plug-In
  5. Day 3 Session 4: Using JavaBeans with JSP
    • Creating and accessing beans
    • Setting bean properties explicitly
    • Associating bean properties with input parameters
    • Automatic conversion of bean property types
    • Sharing beans among multiple JSP pages and servlets
  6. Day 4 Session 1: Creating Custom JSP Tag Libraries
    • Tag handler classes
    • Tag library descriptor files
    • The JSP taglib directive
    • Simple tags
    • Tags that use attributes
    • Tags that use the body content between their start and end tags
    • Tags that modify their body content
    • Looping and nested tags
  7. Day 4 Session 2: Integrating Servlets and JSP
    • The MVC (Model 2) Architecture
    • Forwarding requests from servlets to static and dynamic resources
    • Using servlets to set up beans for use by JSP pages
    • An on-line travel agency combining servlets and JSP
    • Including JSP output in servlets
    • Forwarding requests from JSP pages
Day 4 Session 3: Review/Preparation for the Sun Java Web Component Certification Exam
  • Exam: Sun Certified Web Component Developer for the J2EETM Platform
  • Exam objectives
  • Answers and examples: servlets
  • Answers and examples: JSP
  • Answers and examples: design, strategies, and deployment

Day 4 Session 4: Summary and Wrapup
  • Servlet intro
  • Handling form data
  • Processing HTTP request headers
  • Generating the HTTP response
  • Using cookies
  • Session tracking
  • JSP intro
  • JSP scripting elements
  • The JSP page directive
  • Including files and applets in JSP pages
  • Using JavaBeans in JSP pages
  • Creating custom JSP tag libraries
  • MVC: Combining servlets and JSP
For more information on the course, or to request it be presented to your organization, please contact Charlie. He is also planning to arrange public presentations of the course. Of course, you're welcome to contact Marty Hall to have him present it instead. His fee for public presentation of the class is $2195 per person. Contact him directly for on-site courses.

Charlie's fee for presenting the course on-site is $8,000 plus travel expenses.

For those already having experience with Servlet and JSP programming, look for Charlie to soon offer the follow-on course, Advanced Servlet and JSP Programming, based on Marty's recently published book "More Servlets and JSP".

Tips Contents:

| Home | ColdFusion | Articles | Presentations
| User Groups | Other Resources | Press Releases | Company

© 1998-2024, Charles Arehart, SysteManage
Our Practice Makes You Perfect