Re: DAO pattern

2008-02-04 Thread Manos Batsis
Zhang, Larry (L.) wrote: I have a user object whose data is from three resources: Db2, LDAP, and other flat file. Per dao pattern, do you think I should have three daos or one dao to encapsulate the data access implications? Depends on what is easier for you. This will not effect your code if

[OT] Re: DAO pattern

2008-02-04 Thread Antonio Petrelli
2008/2/4, Zhang, Larry (L.) <[EMAIL PROTECTED]>: > Sorry if this is not too on topic. > > I have a user object whose data is from three resources: Db2, LDAP, and > other flat file. Per dao pattern, do you think I should have three daos > or one dao to encapsulate the data access implications? It d