This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
From my front controller I am executing the corresponding command based on the url. This command has to collect the data from the database and the data made available to the next view. Here The command has to get a transfer object from the database and update it. Transfer object can also be composite transfer object. Can I directly call the DAO code in command or apply a pattern here. How can I get and update these composite transfer objects using a pattern.