Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Introduction to Apache Struts 2

Course Summary

The Introduction to Apache Struts 2 training course is designed to demonstrate the basics of Apache Struts 2.

The course begins with exploring the leading Model-View-Controller (MVC) web development framework for Java. Next, it explores core struts concepts and then quickly moves into advanced concepts, like bindings and validations. The course concludes with a competitive survey of other MVC-based frameworks like JavaServer Faces (JSF) framework, Spring MVC, and Wicket.

Prerequisites: Assumes students are competent in Java web development using JSP and JavaBeans. This course assumes students are familiar with both HTML and basic Java web development.

Purpose
Learn how to build web applications using Apache Struts 2.
Audience
Experienced Java web developers needing to adopt Struts within their web application.
Role
Software Developer - Web Developer
Skill Level
Intermediate
Style
Hack-a-thon - Learning Spikes - Workshops
Duration
3 Days
Related Technologies
Apache Struts | Java | JSF

 

Productivity Objectives
  • Describe the motivations for using a model-view-controller framework such as Apache Struts
  • Identify and implement key Struts Model-View-Controller (MVC) elements
  • Create an Apache Struts based web application from scratch
  • Deduce how to migrate a simple JavaServer Packages (JSP)/JavaBeans application to Apache Struts

What You'll Learn:

In the Introduction to Apache Struts 2 training course, you'll learn:
  • Introduction to Apache Struts2
    • What is Apache Struts?
    • History of Struts
    • Key Struts components
    • Installing Struts
    • Configuring your IDE and App server to leverage struts
    • Migrating from Struts classic to Struts 2
  • Introduction to the Model-View-Controller design pattern
    • Understanding MVC and significance on web development
    • Defining a View
    • Implementing a Model
    • Tying the View and Model together with a Controller
    • Understanding how Struts and MVC relate
  • Building a simple struts app
    • Convention over configuration
    • Auto-wiring v. Struts-config.xml
    • Key struts tag libraries
    • Building a simple struts MVC app
  • Core Struts Controller concepts
    • Working with Actions
    • Workflows and interceptors
    • Data conversion and validation
  • Building Struts views
    • Core view tags
    • Control and data tags
    • Other view related tag options
    • Working with UI components and templates
    • Understanding the Struts UI components, tag library, and themes
  • Working with Struts Models
    • Handling form Results, Data validation, and type conversion
    • Using built-in convertors and validators
    • Custom validators
    • Integrating Models with JDBC & JPA
  • Pulling it all together
    • Internationalizing Struts applications
    • Working with Struts 2 in an Web 2.0 application
    • Best practices
“I appreciated the instructor's technique of writing live code examples rather than using fixed slide decks to present the material.”

VMware

Dive in and learn more

When transforming your workforce, it's important to have expert advice and tailored solutions. We can help. Tell us your unique needs and we'll explore ways to address them.

Let's chat

By filling out this form and clicking submit, you acknowledge our privacy policy.