|
|
|
|
|
|
|
|
|
Mastering
the STRUTS Framework for Advanced Servlets and JSP
Development
|
Duration: 4
days |
|
|
This course is designed for developers who already have some experience in Java, Java Servlets and JavaServer Pages. They should also
understand JavaBeans.
- Architects
- Designers
- Consultants
- Developers
|
|
|
|
|
Description |
This course covers the development of enterprise-class, web-based applications using the latest release of the
Struts framework from the
Jakarta project. The course also covers advanced design
techniques and architectural patterns in the application of J2EE-based web technologies. |
|
Objectives |
This course aims
to teach a set of advanced skills necessary to implement extensible, maintainable, secure, robust, scalable, web-based enterprise applications using the Model-2 architecture, JSP, Struts actions, forms, custom tags and the Struts Expression Language (EL). On completion, attendees will be able to:
- Master the Struts framework
- Design Model-2 architecture based systems using the Model-View-Controller (MVC) pattern
- Design and implement Action and ActionForm components
- Master the Struts Validation framework
- Master the Struts Tiles framework
- Master the Struts Expression Language (Struts-EL)
- Master the Struts custom tag library
- Design and implement reusable and dynamically pluggable Controller components
- Design and implement reusable and dynamically pluggable View components
- Design and implement reusable and dynamically pluggable Model components
- Integrate the web-based application with enterprise databases using Data Access Beans
- Integrate the web-based application with Enterprise JavaBeans (EJB)
|
|
Course Outline |
Overview of Model-View-Controller (MVC) Design Pattern
- Issues in designing maintainable and extensible systems
- Identifying and applying relevant design patterns
- Model-View-Controller (MVC) architectural pattern
- Consequences and trade-offs of component and modular decoupling
Struts Fundamentals
- Fundamental concepts of the Struts framework
- Struts and MVC
- Quick review of web application
- Setting up a web application using Struts
- Controller class
- Custom Tag library
- Action Interfaces and Action handler classes
Building the Controller Component
- Implementing Action classes
- Defining Action mappings
- Modifying web application deployment descriptor
Building the Model Component
- Building ActionForm beans
- Building system state beans
- Building business logic beans
|
|
Building the View Component
- HTML forms and FormBeans
- Building forms with Struts
Struts Expression Language
- Struts-EL syntax and constructs
- Server-side scripting with Struts-EL
Struts Tag Library
- HTML Tags
- Bean Tags
- Logic Tags
- Nested and Template Tags
Exception Handling
- Declarative exception handling in Struts
- Programmatic exception handling in Struts
Validation
- Validation using form beans
- Validation using the Validator Framework
Internationalization and Localization
- Locale
- Resource bundles
- Message formatting
- Struts resource bundles
Tiles
- Overview of templates and the tiles framework
- Using tiles for layout
- Using tiles custom tags
- Using tiles definitions
| |
|
|