02/14/2022 - 02/16/2022
10:00 AM - 06:00 PM
Online Virtual Class
USD $1,795.00
Enroll
03/14/2022 - 03/16/2022
10:00 AM - 06:00 PM
Online Virtual Class
USD $1,795.00
Enroll
04/04/2022 - 04/06/2022
10:00 AM - 06:00 PM
Online Virtual Class
USD $1,795.00
Enroll

Topics

 
  • Struts 2 Architecture and Overview
  • Struts Project Configuration
  • Struts 2 Programming
  • Struts 2 Actions
  • Struts 2 Data Transfer with OGNL
  • Struts Tag Libraries
  • JSP Expression Language and JSTL Tag Libraries
  • Validator Framework
  • Struts 2 Plug-ins
  • Migration from Struts 1.x
  • Tiles

What you will learn

  After completing this course, the student should be able to:
  • Understand and explain the Apache Struts 2.x framework
  • Design and build Struts-based applications

Audience

  This course is intended for programmers and designers who want to design and develop applications using the Apache Struts 2.x Model-View-Controller (MVC) framework.

Prerequisites

 
  • A good understanding of HTML.
  • A good understanding of object-oriented programming using Java.
  • Experience with JSPs and Servlets, with some understanding of JavaBeans.

Duration

  Three days.
Lab Setup Guide

Outline for Introduction to Struts 2 Using RAD 7.5

1. Introduction to Struts 2

 
  • Objectives
  • The Struts 2 Framework
  • Struts 2 MVC Pattern
  • Struts Declarative Architecture
 

2. Struts 2 Actions

 
  • Objectives
  • What Does an Action Do?
  • Packaging Actions
  • Implementing Actions
  • ActionSupport Class
  • Transferring Data into Objects
  • Summary
 

3. Struts Interceptors

 
  • Objectives
  • Intercepting Requests
  • Interceptors in Action
  • Built-in Struts Interceptors
  • Declaring Interceptors
  • Implementing an Interceptor
  • Summary
 

4. Data Transfer with OGNL

 
  • Objectives
  • Data Transfer and Type Conversion
  • OGNL and Struts 2
  • Built-in Type Converters
  • Customizing Conversion
  • Summary
 

5. View Tags

 
  • Objectives
  • Using ValueStack in Tags
  • Struts 2 Tag API
  • Data Tags
  • Control Tags
  • JSTL and Other Tags
  • Using OGNL with Tags
  • Summary
 

6. UI Component Tags

 
  • Objectives
  • Purpose of UI Component Tags
  • Tags, Templates, and Themes
  • Summary
 

7. Action Results

 
  • Objectives
  • Life After the Action
  • Common Result Types
  • Alternatives to JSP
  • Global Results
  • Summary
 

8. Integrating Struts 2 with Spring, Hibernate or JPA

 
  • Objectives
  • Adding Spring to Struts 2
  • Using JPA or Hibernate with Struts 2
  • Summary
 

9. Validation Framework

 
  • Objectives
  • Overview of the Validation Framework
  • Wiring Actions with Validation
  • Custom Validator
  • Validation Inheritance
  • Summary
 

10. Internationalization

 
  • Objectives
  • Struts 2 and I18N
  • I18N Tags
  • Overriding the Default Locale
  • Summary
 

11. Struts 2 Plug-ins

 
  • Objectives
  • Plug-in Overview
  • Common Plug-ins
  • Internal Component System
  • Summary
 

12. Best Practices

 
  • Objectives
  • Setting Up the Environment
  • Unit-testing Actions
  • Maximizing Reuse
  • Advanced UI Tag Usage
  • Summary
 

13. Migrating from Struts 1.x

 
  • Objectives
  • Translating Struts 1.x Knowledge
  • What Happened to ActionForms?
  • Incremental Conversion
  • Summary
 

14. Advanced Topics

 
  • Objectives
  • Advanced Action Usage
  • Dynamic Method Invocation
  • Preventing Duplicate Form Submissions
  • Displaying Wait Pages
  • Single CRUD Action
  • Tiles and Struts 2
  • Summary