| Author |
DAO vs DTO
|
Sandipan Mukherjee
Greenhorn
Joined: Dec 07, 2006
Posts: 8
|
|
what is DTO or value objects? what is the difference between DTO and DAO?please explain in detail.
|
 |
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
|
|
DTO == Data Transfer Object, i.e. a class that encapsulates the properties of a particular object (Value Objects are just another name for the same thing). DAO == Data Access Object, i.e. a class that encapsulates access to data. Make sense?
|
JavaRanch FAQ HowToAskQuestionsOnJavaRanch
|
 |
Sandipan Mukherjee
Greenhorn
Joined: Dec 07, 2006
Posts: 8
|
|
|
would you please explain in detail
|
 |
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
|
|
|
Well, rather than I write a long answer explaining these (since there are countless resources on the internet that already do this - have a google to find them), why don't you explain what it is about them that you don't understand? If that is just a basic "what are they?" question I'd recommend searching the internet first.
|
 |
Sandipan Mukherjee
Greenhorn
Joined: Dec 07, 2006
Posts: 8
|
|
|
ok,thank you
|
 |
 |
|
|
subject: DAO vs DTO
|
|
|