• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Query about DTO's ?

 
Sirish Kumar Gongal Reddy
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic