Dashboard > Struts University > Home > Migrating to Struts 2 > Information > Page Comparison
Migrating to Struts 2
compared with
Current by Ted Husted
on Jul 13, 2007 15:56.

(show comment)
 
Key
These lines were removed. This word was removed.
These lines were added. This word was added.

View page history


There are 1 changes. View first change.

 Learn how to intergrate existing Struts applications with the Next Big Thing: Apache Struts 2. After completing the course, you will be equipped to migrate or create professional Struts 2 applications.
  
 The course covers migrating existing applications to Struts 2, with a focus on upgrading the most important asset of all: the grey matter between your ears. Along with migration issues, the course covers advanced development topics, such as creating a data access layer, securing web applications, and creating tag-based user interface components.
  
 This course is intended for experienced Struts developers who to want to ramp up quickly and start developing with Struts 2 right away.
  
 h2. Audience
  
 Experienced Struts developers and programmers who are considering Struts 2 for a current or upcoming project.
  
 h2. Course Objectives
  
 * Migrate Struts 1 classes and resources to Struts 2 equivalents
 * Build a working Struts 2 web application
 * Understand how to test and debug Struts 2 applications
 * Explore new features and key best practices
  
 h2. Course Format
  
 * 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 through the [Struts from Square One site|http://code.google.com/p/sq1-struts2/source].
 * Other course materials are available through this site ([Struts University|http://www.StrutsUniversity.org]).
  
 h2. Prerequisites
  
 | To benefit from this workshop training course, participants should have experience developing Java web applications with Struts, or another MVC framework (WebWork, Spring MVC, Tapestry). Experience with a modern Java IDE, such as [Eclipse|http://www.eclipse.org/], [IDEA|http://www.jetbrains.com/idea/], or [NetBeans|http://www.netbeans.org/], is also beneficial. |
  
 h2. Course Outline
  
 || Session || Presentation || Use Case || Day 1 - Carpe Diem ||
 || 1-1 | [Migrating to Apache Struts 2|Topics^migrating.pdf] | [Migrate] | We step through migrating a Struts 1 application to Struts 2 through a series of mini-labs. ([More|Migrating-Notes] ...)||
 || 1-2 | [Building Struts 2 Applications|Topics^building-s2-applications.pdf] | [Welcome] | 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|Welcome-Notes] ...)||
 || 1-3 | [Jumpstarting JUnit|Topics^junit-jumpstart.pdf] | [Retain] | 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|Retain-Notes] ...) ||
 || 1-4 | [Capturing Input|Topics^capturing-input.pdf] | [Register] | Forms play a strong role in most web applications. How does Struts 2 help us harvest data submitted by a form? ([More|Register-Notes] ...) ||
 | | | || Day 2 - Plumbing Matters |
 || 2-1 | [Validating Input|Topics^validating-input.pdf] | [Register] ext | Now that we are up and running, we ask "How do we get there from here?" ([More|Register2-Notes] ...) ||
  || 2-2 | [Test-Driving Web Development|Topics^test-driving.pdf] | [Menu] | Once we know the business layer is sound, we can test the presentation layer too. ([More|Menu-Notes] ...) || 2-3 | [Mapping Workflows|Topics^mapping-workflows.pdf] | [Logout], [Login] | The action mappings work closely with the result types to guide clients through the application. ([More|Logout-Notes] ...) ||
  || 2-2 | [Test-Driving Web Development|Topics^test-driving.pdf] | [Menu] | Once we know the business layer is sound, we can test the presentation layer too. ([More|Menu-Notes] ...) |
 || 2-3 | [Mapping Workflows|Topics^mapping-workflows.pdf] | [Logout], [Login] | The action mappings work closely with the result types to guide clients through the application. ([More|Logout-Notes] ...) ||
 ||
 | | | || Day 3 - Looking Good |
 || 3-1 | [Localizing Content|Topics^localizing-content.pdf] | [Localize] | 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|Localize-Notes] ...) ||
 || 3-2 | [Displaying Dynamic Content|Topics^displaying-content.pdf] | [Profile] | 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|Profile-Notes] ...) ||
 || 3-3 | [Polishing the User Interface|Topics^polishing.pdf] | [Subscribe] | Now that we have it working, let's make it pretty\! ([More|Subscribe-Notes] ...) ||
 || 3-4 | [Best Practices|Topics^best-practices.pdf] | | Following best practices can help make an application faster to create and easier to maintain. ([More|Practices-Notes] ...) ||
  
  
 h2. Day by Day
  
 h3. Day One: Carpe Diem
  
 We hit the ground running by migrating a simple "hello world" application from Struts 1 to Struts 2, and exploring the data access layer for the MailReader example application.
  
 h4. Preview: Welcome to the Workshop
  
 We introduce the workshop outline and related materials. How will the workshop be presented? What will the workshop accomplish?
  
 h3. Day Two: Plumbing Matters
  
 We fill in the blanks of web development by examining the sprockets and gears of framework internals.
  
 h4. Review: Carpe Diem
  
 * Infrastructure, infrastructure, infrastructure
 * Test first
  
 h3. Day Three: Looking Good
  
 We focus on the glitz and glamor of the user interface, and then review best practices.
  
 h4. Review: Plumbing Matters
  
 * Input matters
 * Trust but verify
 * Click-thru tests
  
 h4. Review: Looking Good
  
 * Who, who are you
 * Think global, act local
 * Getting it back
 * Making it pretty
Site running on a free Atlassian Confluence Open Source Project License granted to OSS. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.5 Build:#811 Jul 25, 2007) - Bug/feature request - Contact Administrators