You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Dale Newfield <Da...@Newfield.org> on 2008/03/26 05:06:40 UTC

Re: [struts] S2: Actions/DAO interaction getting messy...

The other benefit of the DAO / Manager / Action layers is that you can 
use spring to wire up the Manager/Service methods as the transaction 
boundaries.  Sets of changes you want to all succeed or fail atomically? 
  Put it in the manager.  Managers are where business logic belongs, 
DAO's where DB maintenance logic belongs, Actions are just one interface 
into this, as you can expose managers as web services, too...

-Dale

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