Meaningless Drivel is fun!
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
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring In Action: but I Watch "Spring In Action: but I New topic

Spring In Action: but I'm stuck in Struts

Gian Franco
Ranch Hand

Joined: Dec 16, 2003
Posts: 977

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...



"Eppur si muove!"
Craig Walls
Ranch Hand

Joined: Sep 19, 2003
Posts: 335
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:
subject: Spring In Action: but I'm stuck in Struts
It's not a secret anymore!