The MailReader Training Course for Struts 2 is a step-by-step introduction to the next generation of Struts applications. After completing the course, you will be equipped to create and maintain basic Struts applications, including all necessary client-side and server-side programming.
Presentations are reinforced by workshops designed to explore common problems and best-practice solutions. This course is intended for developers who want field-savvy advice on how to get your applications working the "Struts 2 Way".
Developers and programmers who want to learn about web application development using Apache Struts 2.
- Present and apply MVC application architecture
- Build a working web application
- Understand how to unit test web applications
- Explore key best practices
- Sessions include a presentation and a workshop.
- Presentations are reinforced by workshops designed to explore common problems and best practice solutions.
- Workshops are described with standard use cases.
- Source code for the completed workshops is available in the Apache Struts Sandbox.
- Other Course materials are available through the this site
|To benefit from this course, participants should have experience programming with Java along with a basic knowledge of HTML and HTTP. Experience with a modern Java IDE, such as Eclipse, IDEA, or NetBeans, is also beneficial.
The course is code complete and being presented in the field. The source code for the workshops is available through the Struts from Square One site.
The workshop is being presented "in the field" by Struts Mentor.
Other training firms are invited to present the course, pursuant to the terms of the Apache License.
|| Use Case
|| Day 1 - Getting Started
|| Building Web Applications
|| We start from square one and discuss why we build web applications and why building web applications is such a chore.
|| Building Struts 2 Applications
|| We introduce the workshop outline and related materials. Then, we explore and extend a simple "Hello World" application that demonstrates the basics of web application infrastructure. (More ...)
|| Jumpstarting JUnit
|| The framework encourages a layered architecture, which implies a layered approach to testing. We look at interacting with the business layer through unit tests. (More ...)
|| Capturing Input
|| Forms play a strong role in most web applications. How does Struts 2 help us harvest data submitted by a form? (More ...)
|| Day 2 - Navigating Pages
|| Register ext
|| Validating Input
|| Now that we are up and running, we ask "How do we get there from here?" (More ...)
|| Test-Driving Web Development
|| Once we know the business layer is sound, we can test the presentation layer too. (More ...)
|| Logout, Login
|| Mapping Workflows
|| The action mappings work closely with the result types to guide clients through the application. (More ...)
|| Day 3 - Designing Views
|| Localizing Content
|| To reach the broadest audience, some applications support more than one language. Even if your application supports one language, the message resources are an effective tool for managing shared phrases throughout the application. (More ...)
|| Displaying Dynamic Content
|| Creating interactive screens can be the most rewarding and the most frustrating part of web development. Struts Action relies on JSP tags to display application state. (More ...)
|| Polishing the User Interface
|| Now that we have it working, let's make it pretty! (More ...)
|| Best Practices
|| Following best practices can help make an application faster to create and easier to maintain. (More ...)
Day by Day
Day One - Getting Started
We hit the ground running by building, extending, and testing a simple "hello world" application.
Preview: Welcome to the Workshop
We introduce the workshop outline and related materials. How will the workshop be presented? What will the workshop accomplish?
Day Two - Navigating Pages
Now that we are up and running, we ask "How do we get there from here?"
Review: Getting Started
- Infrastructure, infrastructure, infrastructure
- Test first
- Input matters
Day Three - Designing Views
We focus on the glitz and glamour of the user interface.
Review: Navigating Pages
- Trust but verify
- Click-thru tests
- Who, who are you