Struts 2 Java Web Development (3 days hands-on)
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.
This training course is aimed at Java programmers who need to create Web applications for the Java Enterprise Edition platform by using Struts 2.
- Delegates must have experience using the Java programming language.
- Familiarity with Web concepts would also be beneficial.
- 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
Andy Olsen - author of the course
Andy is a freelance consultant and instructor based in the UK, working mostly in the City of London and Oxford. Andy has been working with .NET since the Beta 1 days and has extensive experience in many facets of .NET development including WCF, WPF, WF, ASP.NET MVC Web development, and mobile applications. Andy has designed and written many Microsoft Official Curriculum courses in the last decade, and has been engaged as author and technical reviewer with Apress on some of their biggest selling books.
Other relevant courses