struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McGrady <mich...@michaelmcgrady.com>
Subject [OT] Struts and Procedural Weight
Date Fri, 18 Jun 2004 14:18:32 GMT
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();
}

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message