DAO J2ee design pattern

Hi,

I understood the structure of DAO pattern like : The business Object uses Data AccessObject which encapsulates the DataSource. The DAO creates/uses the Transfer Object and the BusinessObject obtains/modifies the Transfer Object.

Can i get the sample code for this pattern and any links for the code.

Thanks

[336 byte] By [Dollstartera] at [2007-10-2 23:18:59]
# 1

> Hi,

> I understood the structure of DAO pattern like : The

> business Object uses Data AccessObject which

> encapsulates the DataSource. The DAO creates/uses the

> Transfer Object and the BusinessObject

> obtains/modifies the Transfer Object.

>

Wrong.

> Can i get the sample code for this pattern and any

> links for the code.

>

> Thanks

You should be able to take it from there if you understood it that well. Too bad you don't

%

duffymoa at 2007-7-14 15:56:12 > top of Java-index,Other Topics,Patterns & OO Design...
# 2
I just understood to 50%. I din't get a clear idea of it. Thats why to practice & learn i am asking for any links & sample code that will be useful like a beginners tutorial.Thanks
Dollstartera at 2007-7-14 15:56:12 > top of Java-index,Other Topics,Patterns & OO Design...