This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes OO, Patterns, UML and Refactoring and the fly likes Retrieving and updating Composite Transfer Objects Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Retrieving and updating Composite Transfer Objects" Watch "Retrieving and updating Composite Transfer Objects" New topic
Author

Retrieving and updating Composite Transfer Objects

Phani Sajja
Greenhorn

Joined: Mar 08, 2009
Posts: 3
Hi,
From my front controller I am executing the corresponding command based on the url. This command has to collect the data from the database and the data made available to the next view. Here The command has to get a transfer object from the database and update it. Transfer object can also be composite transfer object. Can I directly call the DAO code in command or apply a pattern here. How can I get and update these composite transfer objects using a pattern.

Thanks
Phani
Praison Selvaraj
Ranch Hand

Joined: Jun 05, 2010
Posts: 49
Hi Phani,

The "Transfer Object Assembler" is precisely for this.

Refer
http://java.sun.com/blueprints/corej2eepatterns/Patterns/TransferObjectAssembler.html

Thanks,
Praison


SCJP, SCWCD, SCEA
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Retrieving and updating Composite Transfer Objects
 
Similar Threads
Value Object (VO) vs. Transfer Object (TO) vs. Data Transfer Object (DTO)
Storing Value Object
Difference Between Composite Entity and Transfer Ojbect Assembler
can anyone please give me an example for using value objects in struts
about a very BIG confusion in design pattern.