Original PDF Flash format designing-j2ee-enterprise-web-applications-using-servlets-...  


Designing J2ee Enterprise Web Applications Using Servlets ...

Designing J2EE Enterprise Web Applications using Servlets/ JavaServer™ Pages and
Struts (5 days)

NETD6260-
Five day, Instructor led


Introduction

This five-day, hands-on workshop offers a comprehensive hands-on tutorial in the design and programming of
servlets and JSPs, and includes all the important concepts, and hands on labs that will have you building working
Struts applications in no time flat. In addition, this course covers how to extend the Struts framework to fit your
unique needs.

Servlets and JavaServer Pages are key server-side
applications - leveraging Trivera's extensive
Java technologies for building web applications.
experience in the delivery of scalable enterprise
Servlets are programs that run on a web server; they
applications with complex web interfaces based on
can respond to client requests and create dynamic
J2EE technologies. Throughout this training, you will
content.Java Servlets allow flexible generation of
be confronted with common web application design
dynamic content without the limitations of CGI-based
problems and given the tools you will need to solve
applications or those created in a web server-specific
them, such as J2EE design patterns. You will also be
manner. The JavaServer Pages (JSP) technology
exposed to a range of J2EE and web technologies
allows one to separate static from dynamic content
such as Servlets, JSPs, EJBs, JNDI, Struts and XML,
while harnessing the power of Java Servlets. Struts is
and advice on when and how to use them.
an open source, Model-View-Controller (MVC)

framework developed by The Apache Software
Throughout this intensive workshop students will
Foundation as part of its Jakarta project. Struts is built
learn to:
on top of JSP, Servlets, and tag libraries. After
Design and build web applications from both business
reading the first J2EE Blueprints from Sun with their
and technical requirements
explanation of MVC and how to accomplish it with
Build web interfaces with JSPs, Servlets, Applets, and
custom tags, Servlets, and JSP, one can clearly see
JavaScript (JavaScript is optional)
that Struts is a manifestation of Sun's J2EE MVC
Write maintainable web applications that separate
vision. Struts address many major issues in using
HTML and Java
vanilla Servlets/JSP to build web systems. It solves
Understand the design and development of web
the problem of controller complexity by removing the
applications using Servlets and JSPs
workflow logic from the Servlets, and directing
Make Servlets cooperate and share data
workflow in an XML configuration file. Struts improves
Store and process session information
on the limited form support in JSP by adding
Deal with concurrency issues
numerous capabilities to form processing including
Understand and create JavaServer Pages (JSPs)
easy validation, easy error display, and the refilling of
Link Servlets and JSPs
form input on form retries from a users previous
Use Java as a scripting language in JSPs
entries. It minimizes the complexity of JSP pages, by
Use the built in JSP objects
supplying a very extensive and flexible set of custom
Embed JavaBeans in a JSP
tag libraries for many of the standard operations
Use JavaBeans in a JSP
needed in JSP pages
Use servlets and JSP together

Understand good design techniques including MVC,
Audience
Command and State patterns
Experienced Java Developers who want to learn how
Use custom tag libraries
to use J2EE components (Servlets and JSPs) to build
Use the struts framework
enterprise web applications
Understand the problems with vanilla servlets/JSP,

and the motivation for Struts

Understand MVC and the Struts architecture
At Course Completion
Understand the Struts controller, Struts views, and
Struts resource bundles

Create & configure applications using Struts
This intensive course will give you the skills to design
Define views, actions, and FormBeans
and build scalable, secure, maintainable web
Use Struts for form processing



Use ActionMappings
language, how to use custom tags, and how to build
Handle errors and debug Struts applications
robust and capable web applications using Servlets
Utilize Struts validation framework
and JSP.
Use the Bean, Logic, and HTML Custom Tag

Libraries

Use the flow-of-control custom tags
Prerequisites

Practice of Java Programming and understanding of

object-oriented design
Students will also learn about the capabilities of

servlets, their advantages over CGI, servlet

architecture, and session management. Developers
Course Topics
will also learn about JSP syntax, deployment, and
application models, how to use Java as a scripting
Hands-On Learning: The lab sequence for this course
Session 6
Filters (Optional)
builds a simple enterprise application for an online

music store.
Session 7
Writing Custom Tags


Part I: Servlets/JSPs and Custom Tags
Lesson 1
Introduction to Custom Tags

Lesson 2
Developing Custom Tags
Session 1
J2EE Application Architecture
Lesson 3
Developing Advanced Custom Tags


Lesson 1
Technical Overview of J2EE
PART II: Getting Started with Struts
Lesson 2
J2EE Application Architectures (web

based)
Session 1
Getting Started with Struts


Session 2
Writing HTTP Servlets
Lesson 1
Jakarta Struts Project

Lesson 2
Struts Architecture
Lesson 1
Servlets

Lesson 2
Writing a Basic HttpServlet
Session 2
Your First Struts Application
Lesson 3
Form Processing

Lesson 4
Controlling Client Behavior
Lesson 1
Configuring Struts Applications
Lesson 5
Sessions and Cookies
Lesson 2
Input JSP

Lesson 3
Defining ActionForms
Session 3
Writing JavaServer™ Pages
Lesson 4
Defining Actions


Lesson 1
Introduction to JavaServer™ Pages
Session 3
Mapping the Model to the View
Lesson 2
Basic JSP Syntax

Lesson 3
Implicit Objects
Lesson 1
Review of Using Custom Tags
Lesson 4
Actions and JavaBeans™
Lesson 2
Introducing Struts Tags
Lesson 5
Brief Overview of JSTL
Lesson 3
Using HTML Tags

Lesson 4
Using Bean Tags
Session 4
Web Applications
Lesson 5
Using Logic Tags


Lesson 1
Understanding Web Applications
Session 5
Uploading Files and
Lesson 2
Configuring Web Applications
Internationalization
Lesson 3
Application and Session Events


Lesson 1
Uploading Files
Session 5
Security (Optional)
Lesson 2
Internationalization


Lesson 1
Overview of Security
Session 5
Putting It All Together
Lesson 2
Form Based Security

Lesson 3
Basic Authentication
Lesson 1
Putting It All Together
Lesson 4
Programmatic Security


Session 6
Advanced Form Management


Page 2 of 4


OPTIONAL (By Request): Introduction to JavaServer
Lesson 1
DynaActionForms
Faces
Lesson 2
The Validator Framework


OPTIONAL (By Request): JSF Architecture Overview
Session 7
Working with Tiles




Lesson 1
Using Tiles
Addendum: JSP 2.0; Servlets 2.4 and HTML

Overview





Page 3 of 4