In short, what Ted said.
More elaborately, I've been using Spring with a lot of Struts web apps, and I'm very happy with the combination. Spring does a whole lot more than Struts ever wanted to do, and you can use as much or as little of it as you like.
And even though Spring MVC exists as a self-contained webapp framework, they also have some nice Struts-specific support, including base Action classes which are aware of Spring and going as far as an alternate RequestProcessor which supports using Spring as an Action factory where the Actions it creates are "wired" with references to your business expert "collaborators".
http://www.springframework.org/docs/api_1.2/org/springframework/web/struts/package-summary.html
The Spring WebFlow project also looks promising. This too comes with some Struts support.
http://www.theserverside.com/common/printthread.tss?thread_id=32676
http://opensource.atlassian.com/confluence/spring/display/WEBFLOW/Home
Joe
At 7:35 AM -0500 3/30/05, Ted Husted wrote:
Spring is a large project with several components. The Spring Core works just fine with Struts. You can use it to instantiate your business objects from Struts Actions.
Aside from Spring Core, the Spring project also includes a Spring MVC component. Spring MVC does overlap with Struts. Spring MVC is a fine framework. Use whichever one works best for you.
Yes, Struts + Spring + hibernate (or iBATIS) is an excellent approach.
-Ted.
On Wed, 30 Mar 2005 13:22:00 +0200, Rodolfo García Esteban/CYII <[EMAIL PROTECTED]> wrote:Hi,
I have been reading about frameworks and I have seen something about Spring, and I have a lot of doubts. Spring is complementary or is then same place?. In some places said that Spring is complementary thats threats about the middle tier, but I have seen some examples and Spring replaces the action servlet and has his own Controller. What do you think Spring is compatible with Struts?, is better Struts than Spring? is better Spring. Do you think the solution Struts + Spring + hibernate could be a good approach?
Best Regards ________________________ Rodolfo
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Narrow minds are weapons made for mass destruction" -The Ex
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]