You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Seth Fitzsimmons <se...@gmail.com> on 2006/03/09 16:04:13 UTC

[ANNOUNCE] Sprout 0.9.1 - Annotations for Struts

Sprout aims to significantly simplify development with Struts by
reducing the amount of configuration required through the use of
annotations and sensible defaults.

Sprout builds on Spring's support for auto-wiring of action
dependencies and brings it to the next level by obviating the need for
tedious action-mappings (particularly when developing a prototype).

Sprout is an extension of a Struts MappingDispatchAction, which allows
for multiple actions to  be defined within the same Action class.  In
this case, the  name of the method is mapped to the URL (after
converting method names;  methodName is exposed as /method_name.do). 
Paths are  determined based on the package name of the action.  For
example,  net.mojodna.sprout.action.HomeAction corresponds to /, 
while net.mojodna.sprout.action.example.ExampleAction  corresponds to
/example/.

Sprout also uses a custom RequestProcessor —  SproutRequestProcessor,
which extends Spring's DelegatingRequestProcessor.  This means that
you can specify dependencies within your actions using
setter-injection.

Sprout is completely backward-compatible with legacy Struts
applications.  It was built for use in a legacy Struts  application;
many of the older Actions remain untouched — new development is done
using Sprout (I often find myself removing action-mappings while
adding new functionality).

More information is available here:
http://mojodna.net/sprout/

Feedback / questions / comments encouraged.

seth

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org