Course Outline
Introduction
Who is this book for?
What’s covered in this book?
What you need to use this book?
Conventions
Unit 1: Introducing Java Server Pages
The Java2 Enterprise Edition
JSP
How does JSP does its stuff
Comparison with existing technologies
Future of the Platform
Summary
Unit 2: The Basics
What do JSP contains?
JSP Life Cycle
Directives
Scripting Elements and Implicit Objects
Summary
Unit3: JSP Directives
Directive Basics
The page Directive
The taglib Directive
The include Directive
Summary
Unit 4: JSP Standard Actions
JSP Standard Actions Are Built-in Tags
Actions for Working with JavaBeans
Including JSP Output via <jsp:include>
Transferring Control between JSPs
Specifying Parameters for Other Actions
Summary
Unit 5: Beneath JSP
Web Application Server Architecture
Important Servlet API Features
Session tracking
Form data parsing
Summary
Unit 6: JSP and Java Beans
Introduction
Java Beans
Java Beans and JDBC
Creating Sample Application
Summary
Unit 7: JSP Sessions
Persistent Connections
Working with Cookies and JAVA
Sessions in Action
Sessions, HTTPS and JSP
Summary
Unit 8: Error Handling with JSP
Types of Errors and Exceptions
JSP Specific Exception Classes
An Example Web Application
Summary
Unit 9: Java Database Connectivity and Connection Pooling
Relational Database Management Systems
Alien Object Model
Why all the Driver Types?
How JSP and JDBC fit together
The Bigger J2EE Picture
Coding a simple JSP using JDBC
More Advanced JDBC
Multiple Users and the Need for the Connection Pooling
Summary
Unit 10: JSP Tag Libraries and JSTL
The Need for a Tag Extension Mechanism
The Simplest tag
JSP Standard Tag Library
Resources
Summary
Unit 11: Debugging JSP
Why Debugging JSP is so Hard
Different Types of Errors
Debugging Techniques
Future Directions
Summary
Unit 12: JSP Architecture
Code Factoring and Role Separation
Architectures
The Page-Centric Approach
The Dispatcher Approach
Servlets versus JSPs
Summary
Unit 13: JSPs and Servlets
A JSP is a Servlet
JSP Compilation
Summary
Unit 14: Java Server Faces
Configuring a JSF Project
Getting Started with JSF
JSF Lifecycle
Validating Data
Converting Data
Handling Events with Listeners
Summary
Unit 15: Case Study 1: Publishing Data to
the Web
Overview
Selected Technologies
Database
JSP Pages
Java Source Code
Summary
Unit 16: Case Study 2: Implementing a Membership Based E-Commerce
Application
Definition of Business Problem
Business Login
Defining Object Model
Selected Technologies
Putting it All together
Summary
Appendix