You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Michael McGrady <mi...@michaelmcgrady.com> on 2004/06/18 16:18:32 UTC
[OT] Struts and Procedural Weight
The following improvement of a DTO could be considered "procedural
weight": But, is it?
clientMethod
{
PersonVO person = PersonDAO.getPersonById(666);
OrderVO order = person.getOrder();
CostVO cost = order.getCost();
}
clientMethod
{
Person person = PersonDAO.getPersonByIdIncludingOrderAndCost(666);
Order order = person.getOrder();
Cost cost = order.getCost();
}