Best practice for DAO pattern ?
Posted
by Tony
on Stack Overflow
See other posts from Stack Overflow
or by Tony
Published on 2010-03-18T09:14:16Z
Indexed on
2010/03/18
9:31 UTC
Read the original article
Hit count: 379
I've seen a lot of codes use a service-dao pattern , I don't know the origin of this pattern . It force the front layer call service , then delegates some of the service task to dao.
I want to ask :
- Does DAO layer do purely data access related task ? What about exception encapsulation ?
- Is there other pattern can be used to replace this ?
© Stack Overflow or respective owner