On Dec 20, 2006, at 3:02 PM, Craig McClanahan wrote:
In addition to frameworks like this, I've heard of cases where
application
architects use chains to define the details of the business logic
(completely independent of how the presentation tier works). For
example,
you could define a Filter command that would add a Hibernate
session to your
context on the way in, and clean up the resources on the way back
out, and
stick this command in every chain that needs access to a Hibernate
session.
The actual business logic can just assume the session is there in the
context (similar to what you can get from an IoC framework, but
assembled
somewhat differently).
I would fall into that catagory :-)
I've been using chain in large enterprise applications in this way
ever since it was introduced -- and have been extremely successful
with it, btw.
Greg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]