|
Start Struts Training Today!
 
- Dashcourses has partnered with GogoTraining to bring you this Self-paced Course
- Set your own training schedule with short modules to view
- Watch as many times as you want 24/7 for 60 days following purchase
- Find out what Dashcourses' BPEL Modeling self-paced training is all about with no obligation - download Silverlight and View a Module
- Our self-paced training modules are viewable in Internet Explorer, Firefox and Safari
Training Description
JSP and Servlet programmers learn how to build "Model-2" Web applications using the Jakarta Struts project from Apache. Students will learn how to implement best practices in web application development through the use of the Struts architecture.
Training Objectives
As a result of taking this training, students will be able to:
- Develop and deploy applications to the Struts architecture.
- Use the Struts and JSP tag libraries to declaratively create pages with minimal coding.
- Perform internationalization (il8n) in Struts.
- Perform efficient input validation in Struts.
- Perform advanced configuration in Struts, such as role-based security and chained actions.
Prerequisites
- Familiarity with Java programming, Servlets programming, JSP and JavaBeans; familiarity with Web page development (HTML and XML).
- Minimum software requirements: Java Enterprise Edition Software Development Kit (Java EE SDK). JavaServer Faces (JSF) visual development environment, such as Eclipse, NetBeans or Sun Java Studio Creator. Apache Tomcat. Struts development framework (downloadable from struts.apache.org). Optional JDBC-compliant relational database, such as Oracle, MySQL or Microsoft SQL Server.
- Minimum hardware requirements: Pentium at 1.5 GHz, 1 GB RAM; 5 GBfree hard disk space before installation. Internet access.
Training Outline
Module 00: Course Introduction
Module 01: Struts Architecture
- MVC and Model 2
- Architectural Design
- MVC Architecture
- Command Pattern
- Jakarta Struts
- More XML, Less Java!
- Action Mappings
- Struts Flow
- Struts Configuration Files
- JavaBeans in Struts
- Working with Forms
- Validation
- Presentation Technology
- Tiles
Module 02: Struts Deployment
- Installing Tomcat
- Installing Struts
- Configuring Application Server and Libraries
- Directory Structure of Struts Application
- Deploy and Access Struts Application
Module 03: Struts Development
- Project Specifications
- Defining ActionMappings
- Developing the FormBean
- Developing the Action Class
- Developing Business Logic
Module 04: Struts Action Mappings
- Command Pattern for Web Applications
- ActionServlet
- Action and ActionMappings
- Struts Configuration
- Selecting a Forward
- Global Forwards
- Declarative Exception Handling
- Global Exception Handlers
Module 05: Struts Forms
- Working with HTML Forms
- Action Forms, a/k/a Form Beans
- Relationship to Input
- Relationship to Actions
- Relationship to the Model
- Relationship to Output
- DynaActionForm and Map-Backed Forms
- Validation
- Coarse-Grained Form Beans
Module 06: Struts Tag Libraries-Part 1
- Building View Components
- Forms and Form Bean Interactions
Module 07: Struts Tag Libraries-Part 2
- Struts HTML Tag Library
- Scope and Duration of Form Beans
- Using HTML Tag Library to Manage Hyperlinks
- Error Messages
- Logic Tags
Module 08: The JSP Standard Tag Library-Part 1
- JSP Expression Language
- JSTL Core Tag Library
- JSTL Formatting and International Library
Module 09: The JSP Standard Tag Library-Part 2
- JSTL Messaging Tags
- JSTL XML Tags
- JSTL SQL Tags
Module 10: Internationalization and Localization
- i18n in Java
- i18n in Actions
- i18n in JSTL
- i18n in Validation
Module 11: Struts Input Validation
- Validation in Web Applications
- Validation in Struts
- The Struts Validator Plug-In
- Validating ActionForm Subtypes
- Configuring Validation
- Standard Validators
- Rules
- The ActionMessages Class
- Is <html:form> Necessary?
- Reporting Errors
- Multi-Page Validation
- Client-Side Validation
- Limitations on the Client Side
- Implementing a Validator
- Implementing ActionForm.validate
- Mapping-Based Validation
Module 12: Strut Tiles
- Consistent Look and Feel
- Reusable Layouts and Content
- The Tiles Framework
- Instantiating Layouts
- Body-Wrap Insertions
- Tiles and Stylesheets
- Working with Tiles Attributes
- The Tiles Context
- Definitions
- Aggregation and Inheritance
- The Tiles Plug-In
- Forwarding to Definitions
- Performance Considerations
Module 13: Advanced Struts Configuration
- Struts Configuration in Depth
- Wildcards
- Extensions
- The Configuration Object Model
- Subclasses and <set-property>
- Plug-Ins
- Integrating Other Frameworks
- Role-Based Security
- Chaining Actions
- The ComposableRequestProcessor Class
- Configuring Command Chains
- Modules
Module 14: Under the Hood of Struts
- Global Objects
- Specialized Struts Actions
- The Utility Package
- The Commons BeanUtils Class
- Form Beans as Adapters to the Business Tier
- Reusing Validation Rules
- Graceful Validation
Module 15: Review and Summary
|