View Source on Github

Data Access Object

Difficulty-Beginner Java Persistence Tier


Object provides an abstract interface to some type of database or other persistence mechanism.

alt text


Use the Data Access Object in any of the following situations

  • when you want to consolidate how the data layer is accessed
  • when you want to avoid writing multiple data retrieval/persistence layers