Skip to content

Latest commit

 

History

History

dao

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
layout title folder permalink categories tags
pattern
Data Access Object
dao
/patterns/dao/
Persistence Tier
Java
Difficulty-Beginner

Intent

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

alt text

Applicability

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

Credits