Some entities contains a group of attribute that are always access together. To access these attribute though a remote interface causes network traffic and consumes unnecessary server resources. To come out from this problem you can Value Object Design Pattern. It encapsulate all the data as a single object and provide a single method to send and retrieve data.
Suppose in an enterprise application an entity bean implements a persistent business components. It exposes the value of its attribute by providing a methods (getter and setter) for each attributes. When client needed the value of this attribute then he has to call these getter method for each attribute. to reduce this overhead it is good to use Value Object Design Pattern to transport data from entity bean to its clients.
Value Object Design Pattern
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.