struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan D. Cabrera" <>
Subject Re: Chained actions and their properties in the value stack
Date Sun, 15 May 2011 16:29:08 GMT

On May 15, 2011, at 9:23 AM, Dave Newton wrote:

> On Sun, May 15, 2011 at 12:10 PM, Alan D. Cabrera wrote:
>> A knows how to find/generate instances of Foo.
>> B knows how to find/generate instances of Bar.
>> C is an application specific Action that needs an instance of Foo and an instance
of Bar.
> A & B are application-specific actions too. Without knowing more, to
> me it sounds more like C should rely on services instead of actions A
> & B, removing the strong dependency on the web layer that has been
> introduced by the chaining.

Yeah, I see that subtle but important difference now.  This should all be done in the service
layer and not on the web layer.  Looking at my setup I now see that I have service provisioning
information spread in both spring and struts2 xml files, yuck.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message