ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From friendVU admin <maill...@friendvu.com>
Subject Re: Can DAO calls be in a constructor...
Date Wed, 23 Feb 2005 23:10:33 GMT
Would you say that this better:
" Form Model (Beans or Dynamaps  :-P ) should not depend on the DAO in 
any way. "

I kind of draw the sqlmap's xml file as a Domain Model. Ex: 
Customers.XML I would call a Domain Model. (Then use a DTO to go to Form 
Model. Form Model maps to the View's fields but knows nothing about 
physcial Domain type even, it could be Luceene)

.V


Clinton Begin wrote:

> Domain classes should not
>call or depend on the DAO layer in any way.
>  
>


Mime
View raw message