DAO Classes: Java Design Patterns and Architecture, Part 12

In this tutorial we'll start looking at the DAO pattern, which consists of several optional parts. The most important bit is the DAO object (together with the transfer object that we saw in the last tutorial). You need one DAO class per type of entity that you want to store in your database.



Source Code



DesignPatterns12 - DAO Classes.zip

Next ...


DAO Factories – A First Look: Java Design Patterns and Architecture, Part 13