Servlet and JSP Programming using WebSphere for Domino Developers
Course Details

Course Code: WSAD5DD2


Course Title: Servlet and JSP Programming with WebSphere 5 for Domino Developers
Units: 16
Duration: 4 classroom equivalent days
Discussion Access: 4 months1

1. Up to 12 months access when purchased as part of a Curriculum Package.

Summary Description

Continue your WebSphere education with this advanced programming course which focuses on servlets, JavaServer Pages, JDBC, and integration with Domino. Learn how to manage user sessions to add shopping cart functionality to your site. Add error handling to servlets and JavaServer Pages. Discover how to use and create tag libraries to create dynamic JavaServer Pages. Build a JavaBean and then use it in a JavaServer Page. Use JDBC to integrate your WebSphere application with relational databases. Learn how to test and deploy your WebSphere application using the tools included in WebSphere Studio. Integrate Domino with WebSphere by using the Domino object classes, the Domino Custom Tag Libraries, and the Lotus Domino Toolkit for WebSphere Studio.



This course is specifically designed for Domino developers and includes numerous tips and hints to bridge from your existing knowledge of Domino development to developing WebSphere applications. This course includes many live demonstrations and student activities done right in the WebSphere Studio development environment. After completing this course you should be prepared to take the IBM certification exam (286), one of two required exams to become an IBM Certified Solution Developer on WebSphere Studio, V5.

Audience and Prerequisites

Experienced Domino developers with a basic understanding of Java, WebSphere Studio 5, and the J2EE architecture. The recommended prerequisite course is:

  • TLCC's Introduction to WebSphere 5 for Domino Developers course
System Requirements

The system requirements for this course are:

  • WebSphere Studio 5.1
  • A Domino Designer client (R5 or 6)
  • A current web browser
  • Access to the Internet

Course Modules

Module 1 - Managing Web Sessions
Learn how to maintain information about your users as they move around your website to build applications like shopping carts. This module will teach you how to maintain information from the web client in between calls to the web server using Servlets and Java Server Pages. You will build a shopping cart application using servlets and Java Server Pages as the final activity in this course.
  • Understand the stateless nature of the Web and how to overcome this
  • Identify the different ways to maintain session state
  • Maintain session state using servlets
  • Maintain session state using JavaServer Pages
  • Expire sessions
  • Build a shopping cart application using servlets and JavaServer Pages

Module 2 - Servlet Programming
Take your Servlet development to the next level. This module will teach you how to implement error handling using Java's try-catch block. Learn how to trap specific errors. Call and use external Java classes in your servlets to modularize your solutions and use code from other sources. Understand the complete servlet life cycle and how it affects your application including the scope of variables. Discover how servers are multi-threaded and how to create thread-safe applications. Learn how to create a single-thread model servlet. Use initialization parameters to store information which can be used by servlets.
  • Implement error trapping with servlets using a try-catch-finally block
  • Learn how to trap and handle specific errors that may occur
  • Create and call an external Java class from a servlet
  • Understand the Servlet Life Cycle and how it affects your web applications
  • Learn how servlets are multi-threaded and how to create a thread-safe servlet
  • Create a servlet that uses the single-thread model
  • Create and this use initialization parameters in your servlets

Module 3 - JSP Programming
A JavaServer Page (JSP) is also a Java program and is subject to the same run-time errors as servlets. In this module you will learn how to handle errors in JSP. You will discover how to create a JSP which functions as an "error page" to process all errors that occur in your application. You will learn how to process a JSP with another JSP to handle the validation of input. Learn how to implement and use JSP tag libraries and the Java Standard Tag Library (JSTL). Finally, you will learn how to create and use a custom tag library.
  • Understand the JSP life cycle, objects, variables and threading
  • Process application errors using a JSP error page
  • Use a JSP to process another JSP
  • Use JSP tag libraries
  • Use the Java Standard Tag Library (JSTL)
  • Create a custom tag library

Module 4 - Integrating JavaBeans and JavaServer Pages
Learn how to integrate JavaBeans with JavaServer Pages in a Model-View-Controller (MVC) application design. Learn the JavaBean Coding Guidelines and use a wizard to create a JavaBean and generate its getter and setter methods. Use JSP action element tags to access and use a JavaBean in a JSP. Use a JavaBean to validate input data submitted by a JSP and to share data among several JavaServer Pages. Use a wizard to automatically generate web pages from a JavaBean design.
  • Learn the JavaBean Programming Interface and the JavaBean Coding Guidelines
  • Use a wizard to create a JavaBean and generate its getter and setter methods
  • Use JSP action element tags to access and use a JavaBean in a JSP
  • Use a JavaBean to validate input data submitted by a JSP
  • Use a JavaBean to share data among several JavaServer Pages
  • Transfer data from a servlet to a JSP using a JavaBean
  • Use a wizard to automatically generate web pages from a JavaBean design

Module 5 - Using JDBC in Web Applications
The need to interface with a Relational Database Management Systems (RDBMS) is a common requirement for many applications. Organizations have long relied on RDBMS to store, track, organize and report data. This module will teach you how to use tools in the Data Perspective to connect to an RDBMS data source and to create database, schema and tables definitions. You will learn to access and modify data in an RDBMS data source using JDBC. Create servlets to read, update and insert records in an RDBMS data source. Use Prepared Statements to improve performance of SQL statement execution. Implement Connection Pools to improve performance when connecting to an RDBMS data source.
  • Use tools in the Data Perspective to connect to an RDBMS data source
  • Use tools in the Data Perspective to create database, schema and tables definitions
  • Use tools in the Data Perspective to create and test SQL statements against an RDBMS data source
  • Understand the JDBC programming interface
  • Use JDBC to issue SQL commands against an RDBMS data source
  • Create servlets to read, update and insert records in an RDBMS data source
  • Use Prepared Statements to improve performance of SQL statement execution
  • Implement Connection Pools to improve performance when connecting to an RDBMS data source
  • Learn how to code a servlet to access and then forward data from an RDBMS data source to the JSP as XML

Module 6 - Application Testing, Management and Deployment
WebSphere Studio provides many tools to test, manage and deploy J2EE enterprise applications.
  • Recover deleted resources from the local history
  • Restore previous versions of resources from the local history
  • Use the refactoring tool to automatically update all references when a Java source file is moved or renamed
  • Configure and use the test server in WebSphere Studio to test an application
  • Export an application as an EAR file for deployment on a WebSphere Application Server
  • Publish an application directly to a WebSphere Application Server for remote testing
  • Use the profiling tool to monitor and analyze the performance and memory utilization of an application

Module 7 - Domino WebSphere Integration
In this module you will learn to access the Domino back-end objects directly from a WebSphere Application Server on the same computer. You will also use CORBA/IIOP to access the Domino back-end objects from a WebSphere Application Server. Build JavaServer Pages which use the Domino Custom Tag Libraries to quickly add Domino integration to display views and forms. Discover how the Lotus Domino Toolkit for WebSphere Studio plug-in can help you to quickly build JavaServer Pages by dragging and dropping Domino elements onto a JSP.
  • Learn the different ways a servlet and JavaServer Page can access Domino databases
  • Access the Domino back-end objects directly from a WebSphere Application Server on the same computer
  • Use CORBA/IIOP to access the Domino back-end objects from a WebSphere Application Server
  • Use the Domino Custom Tag Library to access Domino objects
  • Use the Domino Toolkit for WebSphere Studio to drag and drop Domino objects to a JavaServer Page
  • Create a JavaServer Page to display a Domino view
  • Create a JavaServer Page to access and display a Domino document
  • Use tags from the Domino Custom Tag Library to create a new Domino document
  • Use tags from the Domino Custom Tag Library to edit an existing Domino document
Module 8 - Additional Exam Topics
This module covers topics you may find on the 286 exam "Application Development with IBM WebSphere Studio, V5.0". Passing this exam will enable you to become certified as a IBM Certified Associate Developer on WebSphere Studio, V5. If you are not studying for this exam you can skip this module.
  • Review the 286 Test Objectives
  • Review additional material that might be covered on the exam that was not covered in detail in this course