Vous êtes sur la page 1sur 3

Applied Training Centre

From Developers to Developers, From System


Administrators to System Administrators

Course Code
Course
Duration

: Java-108
: Developing JEE Web Tier Application: JSP and Java Servlets
: 5 Days

Audience
This course is specially designed of web developers, JEE developers, IT system analysts, IT managers, Web
Application or JEE architects who would like to learn and master how to develop web application using Java's
JSP and Java Servlet technologies (JEE web tier). This course is suitable to prepare students in 2 major goals,
that is, to learn how to develop advanced java based web application and to prepare students for SCWCD exam.

Prerequisites

Completion of "Programming in Java" and "Advanced Java Programming" (recommended)


A minimum of three (3) months experience developing application.

Objectives
By the end of this course, the student should be able to:
Develop web database driven based application using Java Servlets and JSP, including how to handle
exceptions, secure applications and thread safe application.
Have a depth understanding on the concepts and prepare students to pass SCWCD exam.

Topic Covered
The course covers the following topics:

Overview of Servlets and JSP Development


Web history
Web tier
JEE Application Suite
Develop Web based application in Java
Overview Servlets,
Overview JSPs
The HTTP Protocol version
RFC 2160
HTTP Request
HTTP Response
BNF
Status Code & Reason Phrase
Web browsers
HTTP Methods
Setup Servlet-JSP Development Environment
Overview Tomcat
Installing Tomcat and setting up environment variables
Understanding and Investigating Tomcat directories
Using & Managing Tomcat
Verify the setup environment
Changing the port number
Tomcat Web Server Administration
Understanding Servlet Container
3 ways deploying servlets.

Applied Training Centre


From Developers to Developers, From System
Administrators to System Administrators

Structure and Deployment of Web Application


Deployment Descriptor definition
Using Annotation
Role in JEE development).
The Java Servlet Model 1
Introduction to Java Servlets
Applications suitable for Java Servlets
Java Servlet Architecture
How a servlet work
Java Servlet Package: A detailed look at Java Servlet API
Servlet's OO Framework
Servlet Interface and Generic Wrapper class
Servlet Life-Cycle
6 steps to write and run our first servlet applications.
The Servlet Model 2
Basic Java Servlet Features
Understanding ServletContext and ServletConfig: API and DD
Obtaining Configuration Information: API and DD
Handling HTTP Requests and Responses (HTTP Methods, Filtering data, HTTP Headers, Status Code)
Obtaining Server CGI Variables,
Servlet Collaboration via Sharing Control:
Coordinating Servlets using RequestDispatcher
Servlet Collaboration for Sharing information
Sharing with ServletContext, HTTPSession and Request Objects
The Servlet Model 3
More on Java Servlet
Handling Server-Side Exceptions (Programmatically and Declaratively)
Developing Secure Web Applications
Basic Concepts
Authentication Mechanism
Securing Web Application Declaratively (HTTP Basic, Digest, Client and Form Authentication),
Securing Web Applications
State and Session Management
Traditional Session Tracking Techniques:
user authentication
hidden forms
persistent cookies
Servlet API built-in Session Tracking technique
HTTPSession
Expunging Timeout setting via programmatically and declaratively
Session Lifecycle with cookie and without cookies.
Developing Thread-Safe Servlets
Understanding Multithreaded servlet model
Single-threaded servlet model
Variables scopes and thread safety
Attribute scope and thread safety
Application and Session Events
The servlet Container Model and Session Event Model
Servlet Filtering
Types of Filters
Servlet Filtering Related API
Deployment Descriptor's DTD / Annotation.
JSP The Big Pictures

Applied Training Centre


From Developers to Developers, From System
Administrators to System Administrators

JSP vs Servlet
JSP Architecture
The phases of a JSP page
Anatomy of a JSP page
JSP Basic Language (Directive, Scripting and Action Elements),
Setting up JSP Development Environment
Inside JSP
Understanding How JSP works
Understand the translation process from JSP to servlet
JSP Servlet generated Code
The JSP API
Implicit Objects
Understanding JSP Page scope
JSP pages as XML Documents
Reusable Web Components: static and dynamic inclusion
JSP Syntax 101: A detailed Review
JSP and JavaBeans
Java Bean Definition
The JavaBean Advantages
Adding JavaBeans into JSPs (using useBean, setProperty and getProperty)
Serialized JavaBeans
JSP and JDBC
Overview JDBC
JSP and JDBC
Accessing Database from JSP
JSP and JDBC Data types
Advanced JSP and Connection pool bean/connection pooling
JSP and HTML Forms
Overview in depth about the HTML Form Tag
Using JSP to create and manipulate HTML form elements
Form validation
Filtering Form Input (Special Characters to avoid SQL Injection/Security Problems)
Using JSP Custom Tags
Overview
Advantages and Disadvantages
Components of a Tag Library
Custom Tag Related DTD, TLD, Custom Tag Life-Cycle
The Custom Tag API (Interfaces and Classes)
Creating Custom Tag
Building Custom Tag Applications
Architecting Java Web Applications
Model 1
Model 2 (MVC: Model View and Controllers)
Overview Struts Frameworks
JSP
Design Pattern
Best Practices
Developing MVC Web Based Application: Case Study

Method
Theory and Hands-on training

Vous aimerez peut-être aussi