WS507
WebSphere J2EE Web Development Using WebSphere
Studio Application Developer (WSAD) 5.0 (2 days)
Course
Description
This
course teaches attendees how to do
Enterprise Java development with WebSphere Studio Application Developer (WSAD) 5.0
for deployment to WebSphere Application
Server 5.0. It details the Java 2 Enterprise
Edition (J2EE) component model and
related architecture and design issues.
We cover the following Enterprise Java
technologies in detail:
- Servlets
- Java Server Pages (JSPs)
- JSP custom tag libraries
- WebSphere WAR file deployment
- Struts overview
WebSphere
Studio Application Developer (WSAD) is
used for all development in the class. We
provide a detailed overview of development,
debugging, testing and deployment
of code within the WSAD environment. During
the classroom lab exercises, students
learn how to:
Develop
complete working Servlets and JSPs
with WebSphere Studio Application Developer (WSAD)
Test
and debug them in WebSphere
Studio Application Developer (WSAD), using
the WebSphere Test Environment (WTE)
Deploy
solutions to the WebSphere Application
Server
This
course provides thorough coverage of
J2EE development so that developers
can design and build robust and flexible
applications. A wide variety of examples
are presented. Practical WSAD and WebSphere
Best Practice development and deployment
techniques are detailed. This course
assumes that developers have experience
with Java development. The instructor
is a senior mentor and architect.
Course
Objectives
Upon completion of the course, participants
will:
-
Understand
the J2EE 1.3 architecture and
components.
-
Understand
the uses of Java Servlets and
Java Server Pages.
-
Understand
the foundations of WSAD and its
open framework
-
Understand
how to use the WSAD for Java
Editor, Debugger and other features.
-
Understand
Servlet, JSP development and
testing with WSAD.
-
Understand
WebSphere architecture and components
and their uses.
-
Practice
how to configure and deploy J2EE
applications to WebSphere using
the WebSphere Admin Console,
Application Assembly Tools
-
Extensive
hands-on development labs and
exercises
|
Course
Duration
2 Days
|
Audience
Experienced Java developers who will be learning J2EE development of
JSPs, servlets using WSAD and
WebSphere.
|
Prerequisites:
Java
programming experience |
|
Course
Format
Comprehensive lectures. Extensive
hands-on lab exercises using
WebSphere Studio Application
Developer (WSAD)
and WebSphere Application Server
for development, test and deployment.
|
Course
Outline
| Lesson 1
J2EE Overview
|
- Component-based
models
- J2EE
1.3 Architecture and Components
- Summary
of each J2EE component
- HTTP
server and web application
servers
- Application
server based architecture
|
Lesson 2 WebSphere Software
Platform Overview
|
- WebSphere
Software Platform
- WebSphere
Application Server Versions
and Editions
Lab
Starting and stopping WebSphere
- Starting
and stopping a WebSphere
application
- Configuring
a WebSphere application
|
|
Lesson 3 WebSphere Studio
Application Developer (WSAD)
Foundations |
- Studio
Workbench Architecture
- WSAD
foundations open framework,
perspectives, views and roles
- Architecture
Eclipse
- Workbench
Window
- Perspectives
and Views
- Navigator,
Properties, Outline, Task
views
- Editors
- Customizing
Perspectives
- Web
perspective
- Java
and J2EE perspectives
- Data
and Server perspective
- XML
perspective
- Debug
and Help perspective
- Projects
- Java
project
- EAR
project
- Web
project
- EJB
project
- Application packaging
- Importing
Source file
- Exporting
Java and Class files
- Exporting
Jar files
- Exporting
Directory Structure
- Exporting
Zip files
Lab Using the WSAD Java Perspective
- Write
and debug Hello World application
|
Lesson 4 Servlet Foundations
|
- Servlet
definition and life cycle
- Servlet
2.2 programming overview
- Request
and Response architecture
- Servlet
API syntax
- Servlet
programming examples
|
|
Lesson 5 Developing Servlets
with WSAD
|
- WSAD
Web Perspective
- WSAD
Test Environment
- In-Class
Walkthrough - Configuring
the WebSphere test server
Lab Creating and testing the SnoopServlet.
Deploy servlet to Web Sphere
|
| Lesson 6
Developing Advanced Servlets
with WSAD
|
- Session
management
- Servlet
context
- Redirection
and forwarding
- Servlet
access to WebSphere services
Lab Persistence Using Cookies and HTTPSession
Lab Servlet Forward / Include
|
Lesson
7 JSP Foundations
|
- JSP
definition
- Sun
JSP Spec and tags
- JSP
lifecycle
- JSP
Execution Monitor
|
|
Lesson
8 Developing JSPs with WSAD
|
- JSP
development in WSAD
- JSPs
and beans with WSAD
- Testing
JSPs with WSAD
Lab
Basic form and bean
|
| Lesson
9 JSPs and Servlets with WSAD |
- JSP
access model 1 and 2
- Model
View Controller Design Pattern
- JSP
Forward and Include
- JSP
and Servlet design
Lab
JSP and Form Handling
|
|
Lesson 10 JSPs
and Custom Tag Libraries |
- Custom
tag library fundamentals
- Tag
handler classes
- TLDs
- Tag
library deployment
Lab
Custom tag library lab
|
| Lesson 11 WebSphere Application Deployment |
- J2EE
Application Configuration and
Deployment
- WebSphere
Admin Console
- J2EE
Application Deployment Application
Assembler Tool
Lab Demo: Using AAT for Servlet Deployment
|
|
Lesson
12 Struts Overview
|
- Struts
fundamentals
- Struts
model, view and controller
- Struts
tag libraries overview
|
|