Can anybody provide some real-world implementation examples of the DAO pattern?
I already looked at Sun's Java Petstore. They use DAO only for read-only database queries.
DAO: http://jinx.swiki.net/282
-
Data Access Object (DAO) pattern (4 messages)
- Posted by: Sean Sullivan
- Posted on: October 13 2002 17:19 EDT
Threaded Messages (4)
- Data Access Object (DAO) pattern by Brian Chan on October 14 2002 16:35 EDT
- DAO source code by Sean Sullivan on September 27 2003 21:40 EDT
- DAO code examples by Andy Grove on February 14 2004 08:58 EST
- Re: Data Access Object (DAO) pattern by guddu sk on April 22 2008 07:22 EDT
-
Data Access Object (DAO) pattern[ Go to top ]
- Posted by: Brian Chan
- Posted on: October 14 2002 16:35 EDT
- in response to Sean Sullivan
Check at this Prentice Hall Book at
http://www.asgteach.com/
If you don't want to buy it, just download the sample code and look at their DAO sample in chapter 4. (Follow Download Link on left).
-
DAO source code[ Go to top ]
- Posted by: Sean Sullivan
- Posted on: September 27 2003 21:40 EDT
- in response to Sean Sullivan
-
DAO code examples[ Go to top ]
- Posted by: Andy Grove
- Posted on: February 14 2004 08:58 EST
- in response to Sean Sullivan
You can use a tool like FireStorm/DAO to generate DAO source code for your own database. There's a free download that lets you generate code for 5 tables and this will give you full working examples of DAO source code. You can download it from:
http://www.codefutures.com/products/firestorm/ -
Re: Data Access Object (DAO) pattern[ Go to top ]
- Posted by: guddu sk
- Posted on: April 22 2008 07:22 EDT
- in response to Sean Sullivan
http://freesourceutilityhelp.googlepages.com/data-access-object-dao-pattern.html a nice and good blog. thanks.