Web Component Development With Servlet and JSP Technologies
The Web Component Development with Servlet and JSP Technologies
course provides students with the knowledge and skills needed to
quickly build reference implementation-compliant Web tier components
from JavaServer Pages (JSP) and Java Servlet extensions using the
Tomcat server environment. Students are exposed to the current best
practices for analyzing, designing, developing, testing, and deploying
Web applications with Java technologies. Real-world lab exercises
provide students experience with constructing and deploying small-
to medium-scale Web applications found in intranet and low-volume
commercial sites.
This course also provides an ideal method of preparing for the
new Sun Certified Web Component Developer certification examination.
As such, students are not only taught the technical details of JSP
and servlet technology, they also learn about the best practices
for integrating the Web tier with the other tiers, from the browser
display to Enterprise JavaBeans (EJB) components running on an application
server and back-end database resources.
This course includes the Sun Open Net Environment (Sun ONE) Starter
Kit, which is a CD-ROM package containing the Java development and
runtime environments for the Java 2 Platform, Standard Edition (J2SE)
and Java 2 Platform, Enterprise Edition (J2EE) platforms, as well
as the associated application programming interfaces (APIs) and
documentation. It also contains reference books, sample code and
technical articles.

Product ID:
SL-314 |
Duration:
5 days |
|
|
|
|
Who Can Benefit |
|
| |
|
Java programming language developers with skills equivalent to
that of a Sun Certified Developer for the Java 2 Platform who are
creating Web components, such as servlets and custom tags, used
in the assembly and generation of dynamic web content. This is not
a course for Web page designers using Hypertext Markup Language
(HTML), JavaScript, or other web presentation technologies.
|
| |
|
Prerequisites |
|
| |
| To succeed fully in this course, students should
be able to:
Write Java technology applications, demonstrating
significant programming ability
Integrate existing Java technology code (that is,
reuse existing classes created by other team members)
Design Java technology applications
Functionally describe the benefits of an n-tier
architecture
Write a Web page using HTML
|
| |
|
Skills Gained |
|
| |
Upon completion of this course, you should be able
to:
Select the best Web technology for an application
and architecture
Write Java servlets
Connect a Web application to EJB components and
databases
Implement application management techniques, such
as security and threading
Code JSP pages
Create custom tag libraries for JSP pages
|
| |
|
Related Courses |
|
| |
|
Before: OO-226: Object-Oriented Application
Analysis and Design for Java Technology (UML)
Before: FJ-310: Developing J2EE Compliant
Applications (optional)
|
| |
|
Course Content |
|
| |
|
|
Module 1 - Introduction
to Web Application Technologies
|
|
| |
|
Describe Internet services
Describe the World Wide Web
Distinguish between Web applications and Web sites
Describe Java servlet technology and list three
benefits of this technology compared with traditional common Gateway
Interface (CGI) scripting
Describe JavaServer Page technology and list three
benefits of JSP pages technology over rival template page technologies
Describe the J2EE software
|
| |
Module 2 - Developing
a Simple Servlet
|
|
| |
|
Develop a simple generic servlet
Describe the Hypertext Transfer Protocol (HTTP)
Develop a simple HTTP servlet
Deploy a simple HTTP servlet
Develop servlets that access request headers
Develop servlets that manipulate response headers
|
| |
Module 3 - Developing
a Simple Servlet That Uses HTML Forms
|
|
| |
|
Describe the structure of HTML Form tags
Describe how HTML forms send data using the CGI
Develop a HTTP servlet that accesses form data
|
| |
Module 4 - Developing
a Web Application Using a Deployment Descriptor
|
|
| |
|
Describe the requirements of a robust web application
model
Deploy a web application using a deployment descriptor
|
| |
Module 5 - Configuring
Servlets
|
|
| |
|
Describe the events in a servlet life cycle and
the corresponding servlet API methods
Describe servlet initialization parameters and their
use with individual servlet instances
Write servlet code to access the configured initialization
parameters
|
| |
Module 6 - Sharing
Resources Using the Servlet Context
|
|
| |
|
Describe the purpose and features of the servlet
context
Develop a context listener that manages a shared
Web application resource
|
| |
Module 7 - Developing
Web Applications Using the MVC Pattern
|
|
| |
|
List the limitations of a "simple" Web application
Develop a Web application using a variation on the
Model-View-Controller (MVC) pattern
|
| |
Module 8 - Developing
Web Applications Using Session Management
|
|
| |
|
Describe the purpose of session management
Design a Web application that uses session management
Develop servlets using session management
Describe the cookies implementation of session management
Describe the URL-rewriting implementation of session
management
|
| |
Module 9 - Handling
Errors in Web Applications
|
|
| |
|
Describe the types of errors that can occur in a
Web application
Declare a HTTP error page using the Web application
deployment descriptor
Declare a Java technology exception error page using
the Web application deployment descriptor
Develop an error handling servlet
Write servlet code to capture a Java technology
exception and forward it to an error handling servlet
Write servlet code to log exceptions
|
| |
Module 10 - Configuring
Web Application Security
|
|
| |
|
Explain the importance of Web security
Use the deployment descriptor to configure authorization
for a Web application resource
Use the deployment descriptor to configure authentication
of users of a Web application
|
| |
Module 11 - Understanding
Web Application Concurrency Issues
|
|
| |
|
Describe why servlets need to be thread safe
Describe the attribute scope rules and the corresponding
concurrency issues
Describe the single thread model for servlets and
the issues with this concurrency strategy
Design a Web application for concurrency
|
| |
Module 12 - Integrating
Web Applications With Databases
|
|
| |
|
Understand what a database management system (DBMS)
does
Design a Web application to integrate with a DBMS
Develop a Web application using a connection pool
Develop a Web application using a data source and
the Java Naming and Directory Interface (JNDI)
|
| |
Module 13 - Developing
JSP Pages
|
|
| |
|
Describe JavaServer Page (JSP) technology
Write JSP code using scripting elements
Write JSP code using the page directive
Create and use JSP error pages
Describe what the Web container does behind the
scenes to process a JSP page
|
| |
Module 14 - Developing
Web Applications Using the Model 1 Architecture
|
|
| |
|
Design a Web application using the Model 1 architecture
Develop a Web application using the Model 1 architecture
|
| |
Module 15 - Developing
Web Application Using the Model 2 Architecture
|
|
| |
|
Design a Web application using the Model 2 architecture
Develop a Web application using the Model 2 architecture
|
| |
Module 16 - Building
Reusable Web Presentation Components
|
|
| |
|
Describe how to build Web page layouts from reusable
presentation components
Write JSP technology code using the include directive
Write JSP technology code using the jsp:include
standard action
|
| |
Module 17 - Developing
JSP Pages Using Custom Tags
|
|
| |
|
Describe the problem with JSP technology scripting
tags
Given an existing custom tag library, develop a
JSP page using this tag library
|
| |
Module 18 - Developing
a Simple Custom Tag
|
|
| |
|
Describe the structure and execution of a custom
tag in a JSP page
Develop the tag handler class for a simple, empty
custom tag
Write the tag library description for a simple,
empty custom tag
Develop a custom tag that includes its body in the
content of the HTTP response
|
| |
Module 19 - Developing
Advanced Custom Tags
|
|
| |
|
Develop a custom tag in which the body is conditionally
included
Develop a custom tag in which the body is iteratively
included
|
| |
Module 20 - Integrating
Web Applications With Enterprise JavaBeans
|
|
| |
|
Understand the J2EE software at a high level
Develop a Web application that integrates with an
EJB component using the Business Delegate pattern
|
| |