Home Tutorial Java Jdbc Java Value Object Pattern

 
 

Java Value Object Pattern
Posted on: October 26, 2010 at 12:00 AM
Advertisement
In this tutorial you will learn about Value Object Pattern of java

Value Object Pattern

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

Advertisement

Related Tags for Java Value Object Pattern:


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: October 26, 2010

Recommend the tutorial

Advertisements Advertisements
 

 

 

DMCA.com