Mastering Servlet & JSP Dev. with IBM Rational Application

Download Report

Transcript Mastering Servlet & JSP Dev. with IBM Rational Application

®
IBM Software Group
Welcome to: RD792
Mastering Servlet & JSP Dev. with
IBM Rational Application Developer
V7
© 2007 IBM Corporation
4.1.0.3
Introduction
 RD792: Mastering Servlet & JSP Development with IBM
Rational Application Developer V7
 Instructor:
 Please introduce yourself and provide your:
Name and organization
Object-oriented programming experience
Java knowledge
JSP and HTML knowledge
Knowledge of Application Developer (WebSphere Studio
and Rational)
WebSphere Application Server knowledge
Goals you hope to achieve by attending this course
2
Course Description
 This course introduces Java
developers to the development and
testing of server-side applications
based on the J2EE component
model, using IBM WebSphere and
IBM Rational tools
 The course covers development
and testing of server-side
applications that use servlets and
JSP (JavaServer Pages)
technology for the control and flow
of e-business applications, and use
JavaBeans to represent the
business logic
 The course lasts 4.5 days and
provides extensive hands-on labs
throughout
3
Audience
 Audience:
Java developers involved in building Web-based serverside application solutions
4
Prerequisites
 To get the most out of this course offering students must meet
the following prerequisites
Develop, test, and deploy Java applications
Understand basics of server-side Java applications
 Students who do not meet these prerequisites may not be able
to fully understand and utilize the materials presented in the
course
5
Course Objectives (1 of 2)
 After completing this course, you should be able to:
Describe the J2EE component model and its use in building
server-side applications
Use IBM WebSphere tools (IBM Rational Application
Developer and IBM WebSphere Application Server) to build
server-side applications
Develop and test servlets using IBM WebSphere tools
Develop and test JSP pages using IBM WebSphere tools
Develop and test JavaBeans using IBM WebSphere tools
6
Course Objectives (2 of 2)
 After completing this course, you should also be able to:
Use JavaBeans, JSP pages, and servlets in accordance with the
Model-View-Controller (MVC) programming model
Develop and test JSP custom tag libraries and servlet filters and
listeners with IBM Rational Application Developer
Describe deployment and run-time issues of J2EE-based
applications including security, scaling, and workload management in
the context of WebSphere Application Server
Assemble and perform integration testing of J2EE-based
applications using the WebSphere Application Server
Identify the best practices needed to design and build Web
applications
7
Agenda - Day 1










Welcome and Introductions
J2EE Web Component Introduction
Servlet Overview
Supporting Perspectives for Developing J2EE Applications
Lab Exercise (Simple Registration Servlet)
Servlet API (Part I)
J2EE Container Services Overview
Library Case Study Flow
Lab Exercise (Building the Library Database
Lab Exercise (Parameter Servlet)
8
Agenda - Day 2








JavaServer Pages Overview
JavaServer Pages Specification and Syntax
Page Designer in Application Developer
Web Application Debugging
Lab Exercise (Simple JSP page)
Servlet API Part II
Web Archive Deployment Descriptor
Lab Exercise (Calling JSP Pages from a Servlet)
9
Agenda - Day 3








Session State Storage Issues
Cookie API
HttpSession: Management of Application Data
URL Rewriting
Lab Exercise (Session Management)
Best Practices for Session Management
JavaBeans and the Model-View-Controller Pattern
Lab Exercise (Create a JavaBean)
10
Agenda - Day 4
 JavaServer Pages with JavaBeans
 Lab Exercise (Combining Servlets, JSP Pages, and
JavaBeans)
 JSP Expression Language
 Lab Exercise (Using JSP Expression Language)
 JSP Custom Tags
 JSP Tag Files
 Lab Exercise (JSP Custom Tags)
 Servlet Filtering
 Lab Exercise (Servlet Filters)
11
Agenda - Day 5






Servlet Listeners
Best Practices for Server-Side Application Development
J2EE Packaging and Deployment
Installing an Application in WebSphere Application Server V6.1
Web Application Security
Summary
12
Unit summary
 You've seen the overall course objectives and a day-by-day
agenda. Let's get started!
13