In Cade's sample application for Review Order Sequence (page 149), he uses an OrderListVO and OrderTO. He could use the OrderTO in a list, isn't it, why create an OrderListVO when that does not have any additional attributes? Also why use a VO and TO terminology, from what I understand a VO is an old name for TO?
Hi Loga, The diagram is on page 176 in my book. You're right about VO being an old name for TO. Cade uses VO because its a fairly old book.
Cade is using a SLSB which is why he doesn't have any extra attributes in the OrderListVO.
Joined: Dec 23, 2003
Thanks Ramon, I'm trying to figure out why Cade did not use a list of OrderTO but instead created a new OrderListVO.
I can see an OrderListVO will be needed if the list itself has some general property(attributes) that concerns the entire list but if not for that he could create a list (eg: ArrayList) of OrderTOs why go for a separate OrderListTO or VO is what I'm wondering about?