java

is DTO can be used without DAO
[37 byte] By [TarunDa] at [2007-11-27 4:30:12]
# 1
java
Hippolytea at 2007-7-12 9:39:24 > top of Java-index,Java Essentials,Java Programming...
# 2

> is DTO can be used without DAO

TarunD,

This was in fact the worst subject line you could possibly use. Please in future [url=http://www.catb.org/~esr/faqs/smart-questions.html#bespecific]Use Meaningful, Specific Subject Lines[/url]

As far as your question goes.

Can you use a car with no gas and no transmission? Well yes I suppose you can find a use for it but it seems rather silly.

cotton.ma at 2007-7-12 9:39:24 > top of Java-index,Java Essentials,Java Programming...
# 3
It could be that you have a business object that is generating data. In that case you have no DAO, but you can have a DTO to transfer the generated values.I think however that most uses of a DTO are linked to DAO since the D to be transferred should come from somewhere...
Peetzorea at 2007-7-12 9:39:24 > top of Java-index,Java Essentials,Java Programming...
# 4
use [url= http://www.google.com/search?hl=en&q=using+DTO+without+DAO]google[/url] ...
suparenoa at 2007-7-12 9:39:24 > top of Java-index,Java Essentials,Java Programming...
# 5
> is DTO can be used without DAOSince it seems like a yes or no question, then the answer would be yes.
karma-9a at 2007-7-12 9:39:24 > top of Java-index,Java Essentials,Java Programming...