This project integrates the Spring Framework's Inversion of Control (IoC)
into Struts 1.1+. It allows a Struts application to take advantage of IoC
with little or no references to Spring. Now, instead of relying on
singletons and static factories, Struts actions can have their
dependencies automatically resolved.

The integration uses Spring to create and populate Struts actions, using
IoC to resolve dependencies. It does NOT use a custom request processor
and therefore can be more easily used with existing web applications
and/or other Struts extensions.

To demonstrate the project, I modified the Struts-Example web app that is
distributed with Struts 1.1 to use Spring to resolve all UserDatabase
dependencies automatically. I invite any comments and suggestions.

Website:  http://www.twdata.org/struts-spring
Download: http://www.twdata.org/struts-spring/struts-spring-0.1.zip

Spring:   http://www.springframework.org

Don

PS. This functionality adds under 100k to a Struts application


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to