wood burning stoves 2.0*
The moose likes JDBC and the fly likes Query about DTO's ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
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 agree. Here's the link: http://aspose.com/file-tools
 
subject: Query about DTO's ?
 
Similar Threads
Getting 404 even when the path looks ok
never do a flush and forward
Solution for Browser Time Out
How to suitably use DTO with Struts?
Returning ResultSet