This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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.