Data Access Object (DAO) pattern


General J2EE: Data Access Object (DAO) pattern

  1. Data Access Object (DAO) pattern (4 messages)

    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.


    Threaded Messages (4)

  2. Data Access Object (DAO) pattern[ Go to top ]

    Check at this Prentice Hall Book at
    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).
  3. DAO source code[ Go to top ]
  4. DAO code examples[ Go to top ]

    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:
  5. Re: Data Access Object (DAO) pattern[ Go to top ] a nice and good blog. thanks.