posted 20 years ago
Hi,
Value Object pattern is used to reduce the network traffic. Consider that you are requesting to get a customer detail from an Entity Bean Via a Session Bean. Instead of calling getCustomerName(), getCustomerAddress(), getCustomerCity() methods separately will increase the network traffic, Instead you can call getCustomerDetails() which inturn will return CustomerVO object which contains all the customer data.
Regards,
M.S.Raman