<IMG SRC="fla_train.gif" WIDTH=200 HEIGHT=400 BORDER=0> <IMG SRC="fla_fill.gif" WIDTH=200 HEIGHT=400 BORDER=0> <IMG SRC="fla_fill.gif" WIDTH=200 HEIGHT=400 BORDER=0> <IMG SRC="fla_fill.gif" WIDTH=200 HEIGHT=400 BORDER=0>
Click Here for the Outline in PDF Version
Course Outline: Java Server Pages

(2 Days) with Hands-On Labs
    Learning Objectives

  • Understand the role of Java Server Pages in Sun’s overall Java server architecture
  • Create interactive Web pages using Java Server Pages
  • Gain a basic knowledge of the Java Server Pages API
  • Combine JSP with other Java technologies such as JDBC and JavaBeans to create powerful Web applications


This course description should be used to determine whether the course is appropriate for you based on your current skill and technical training needs. Technical information is provided on the intended audience, course prerequisites, and covered topics. Course content, prices, and availability are subject to change without notice.


Course Audience

This practical course shows the programmer how to build interactive Web pages using Sun’s new Java Server Pages (JSP) technology. With JSP you can separate the presentation from the business logic. JSP is both very simple to use and also very powerful in the way it can leverage other Java technologies, such as JavaBeans, EJB, JDBC. Java Server Pages depend on Servlets, but you do not need to be an expert in Servlets in order to effectively use JSP. Indeed, JSP makes it much easier to develop effective interactive Web pages that can run on multiple platforms.

Course Description

The course begins with an overview of Web server technology, showing where JSP fits in the overall scheme. The JavaServer Web Development Kit is set up and a simple servlet and a simple JSP are demonstrated. The overall architecture of JSP is described, including an outline of what happens when a JSP is processed. The various JSP tags are systematically discussed, including directives, scripting elements and actions. The alternative XML tag notation is described. The structure of interactive JSP web applications is described, including the interaction of HTML forms and JSPs. Exception handling and session management are covered. A miniature “e-commerce” web site is constructed as a demonstration. The role of components in Web applications is covered, including use of JavaBeans on JSPs. Web database programming is covered, including the development of a three-tier Web application accessing a database. The course concludes with a discussion of some more advanced topics, such as cookies, thread issues and custom tags. The course provides many example Web programs using JSP.

Prerequisites

Experience in Java Programming and in basic Web site development using HTML. Previous exposure to Beans and JDBC would be helpful but not essential.

TOPICS COVERED IN LECTURE & LAB

Web Server Fundamentals

  • HTML and HTTP
  • CGI
  • ISAPI and Active Server Pages
  • Servlets
  • Java Server Pages
  • Using JavaServer Web Development Kit (JSWDK)
  • A Simple Java Server Page
JSP Architecture

  • How JSPs Are Processed
  • JSP Tags
  • XML Notation
  • Directives
  • Scripting Elements
  • Implicit Objects
Interactive JSP Applications

  • HTML Forms
  • Request-Response
  • Exceptions
  • Session Management
  • A Simple E-Commerce Site
Using JavaBeans in JSP

  • Separating Programming and Page Design
  • Component Architectures
  • JavaBeans
  • JSP Bean Directives
  • Trigger Properties
  • Scope of Beans
  • Creating JSPs Using Beans
Using JDBC in JSP

  • Database Access from Web Servers
  • JDBC
  • Database Web Programming Using JSP
  • Encapsulating a Table in a Bean
Advanced JSP Features

  • Cookies
  • XML and JSP
  • Custom Tags
  • Threads
Policy