File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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

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 agree. Here's the link:
subject: Query about DTO's ?
It's not a secret anymore!