aspose file tools*
The moose likes Spring and the fly likes Spring In Action: but I'm stuck in Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring In Action: but I Watch "Spring In Action: but I New topic
Author

Spring In Action: but I'm stuck in Struts

Gian Franco
blacksmith
Ranch Hand

Joined: Dec 16, 2003
Posts: 977
Hello,

I'm dealing with a Struts application...version 1.2.9

...there are pressing reasons to migrate to Spring e.g.
security...does your book give some indications on
how to go about migrating frameworks...

Cheers,

Gian


"Eppur si muove!"
Craig Walls
author
Ranch Hand

Joined: Sep 19, 2003
Posts: 335
    
    5
Tips on migrating from Struts to Spring MVC would be a wonderful topic for an article or blog entry, but it's not included in the book.

Why? Well, where would I draw the line? Migration from Struts to Spring...migration from WebWork to Spring...migration from Tapestry to Spring...migration from Wicket to Spring...migration from [pick a web framework] to Spring. You could probably write a book's worth of material just on migrating from Framework X to Spring, where each chapter would cover a different value for X.

It's worth pointing out here that there's no reason that you *must* abandon Struts, WebWork, Wicket, or whatever in order to use Spring. You can use Struts (or whatever you like) in the web layer of your application and use Spring for other parts. In fact, that might be the first step in such a migration: leave the web layer alone and start using Spring for things like declarative transactions or security...then if you decide to move to Spring MVC at the web layer you can do so...or not. Your choice.

Spring in Action - Unleash POJO power in your applications!
Modular Java - Discover the secret weapon to modularity on the Java platform!
XDoclet in Action - Your complete guide to code generation with XDoclet.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring In Action: but I'm stuck in Struts