Introduction to Struts 2 Using Eclipse Training

Course #:WA1927

Introduction to Struts 2 Using Eclipse Training

This course introduces the students to Apache Struts 2. During the course, students will learn to design and develop Struts based applications using Eclipse. Many real life, hands-on exercises are used to teach various concepts of Struts.

This course is delivered using the published book “Struts 2 in Action”.  Each student will receive a copy of this book along with labs developed by Web Age Solutions.

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.

Outline of Introduction to Struts 2 Using Eclipse Training

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
 
We regularly offer classes in these and other cities. Atlanta, Austin, Baltimore, Calgary, Chicago, Cleveland, Dallas, Denver, Detroit, Houston, Jacksonville, Miami, Montreal, New York City, Orlando, Ottawa, Philadelphia, Phoenix, Pittsburgh, Seattle, Toronto, Vancouver, Washington DC.