This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes Query about DTO's ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Query about DTO Watch "Query about DTO New topic
Author

Query about DTO's ?

Sirish Kumar Gongal Reddy
Ranch Hand

Joined: Oct 25, 2004
Posts: 109
Hi folks,

My Query regarding to Data Transfer Objects.
1)At what situvation can we use DTO's?

2)How to write a DTO application to communicate with one table in the DataBase?

I request you plz send me some sample code.

Thanks & Regards,
G Sirish Reddy.,

{Bear edit: removed the 'urgent']
[ August 10, 2005: Message edited by: Bear Bibeault ]
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Ease Up

This looks a little like homework/interview questions, and answering those directly is not likely to happen here. You will however find an overview of the Transfer Object pattern at Sun. The part you are interested in is the TransferObject itself.
[ August 10, 2005: Message edited by: Paul Sturrock ]

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Query about DTO's ?
 
It's not a secret anymore!