Why not just have use cased base DAO methods.
OrderDOA {
Order getOrderSummary(...) //order with no line items but maybe a calc field of
how many lis there are? maybe customer/shipping info...
Order getOrderDetails(...) //order with line items
}
Passing other stuff moves your data layer up. This keeps it to where you
merely ask for what you want and get it.
However, I'm a mere hacker and not an architect :-)
-Andy
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922638#3922638
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3922638
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user