18 May, 2012
Text Size

Audience

This training course is aimed at Java programmers who need to create Web applications for the Java Enterprise Edition platform by using Struts 2.

Prerequisites

Delegates must have experience using the Java programming language. Familiarity with Web concepts would also be beneficial.

Duration

3 days. Hands on.

Course Objectives

Apache Struts 2 is an extensive and elegant framework that makes it easier to create, deploy, and maintain web applications for the Java Enterprise Edition platform. This course describes the architectural concepts that underpin Struts 2, and explores the framework in detail. The course also shows how Struts 2 integrates with companion technologies, including Ajax and the Spring Framework.

Course Content

• Introduction to Struts 2: The Apache Struts program; Action-based framework concepts; The role of Struts 2 in contemporary Java Web development; Key components in a Struts 2 application 

• Creating a Struts 2 Web Application: Preparing the development environment; Configuring Struts 2 actions, results, and interceptors; Linking the flow by configurations; Building dependencies with Inversion of Control (IoC)

• Implementing Struts 2 Actions: Using the ActionSupport base class; Using ModelDriven actions; Unit testing actions; Localizing messages

• Gathering and Validating User Input: Using Struts 2 tags; Using ondemand data access; Controlling page flow with model data; Validating user input; Configuring validation 

• Defining Interceptors: The role of interceptors; Working with the default interceptor stack; Customizing request processing; Implementing application-specific interceptors 

• Storing application state: The need for application state; Strategies for storing application state 

• Generating Dynamic Views: Selecting output pages; Combining multiple actions into a sequence; Presentation technology alternatives; Defining wizard-style Web applications

• Advanced User Interface Techniques: Using Struts 2 presentation tags; Defining templates; Using Struts 2 themes

• Creating Responsive User Interfaces with Ajax: Overview of Ajax and Web 2.0 concepts; Creating Ajaxified applications in Struts 2; Handling asynchronous requests with Ajax; Returning JSON and XML data 

• Integrating Struts 2 with Alternative Frameworks: Integrating Struts 2 with Java Enterprise Edition and the Spring Framework; Syndicating web content created using RSS and REST

Course Contact Form

Please complete the form to enquire about running a course at your premises or one of our training facilities

Name:

Email:

Telephone:

Organisation:


Comment: