Spring Your Struts Apps Ahead: The Struts-to-Spring Migration

Find out what it takes to migrate Struts applications to Spring MVC. You'll learn not only how to transform Struts applications into Spring MVC applications, but also the logical mapping between the two frameworks and how key Struts concepts relate to Spring MVC concepts.


September 08, 2005
URL:http://www.drdobbs.com/spring-your-struts-apps-ahead-the-struts/212903323

advertisement
ome suggest that the Struts framework has reached the point where its innovation and adoption will start declining. In fact, the Craig McClanahan, chief architect and author of Struts, has left the project for good, and he is actively urging current Struts users to migrate to newer Web frameworks.

Meanwhile, in the J2EE Web space, Spring MVC has gained steady adoption and Java developer attention. The highly popular Spring framework (with Spring MVC as its core component) is nicely designed, productive, and innovative, so many Struts users undoubtedly will investigate Spring MVC as a replacement framework for Struts.

This article helps developers who want to migrate their Struts applications to Spring MVC understand the logical mapping between the two frameworks and how to transform Struts applications into Spring MVC applications. Application developers with good Struts skills also will learn how key Struts concepts relate to Spring MVC concepts. Finally, this article should help architects understand and estimate the migration paths from Struts to Spring. To fully appreciate the subjects discussed, readers should have a working knowledge of the Struts framework.

The article is divided into two main parts:

  1. Logical mapping between the basic concepts of the Struts and Spring MVC frameworks
  2. Essential recommendations for migration alternatives

Terms of Service | Privacy Statement | Copyright © 2024 UBM Tech, All rights reserved.