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. Regards, Alan --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org