- properly categorize all patterns - remove pattern list from readme - minor fixes to readme - removed "introduction" because its not a pattern and an error i committed some time ago
19 lines
503 B
Markdown
19 lines
503 B
Markdown
---
|
|
layout: pattern
|
|
title: Data Access Object
|
|
folder: dao
|
|
permalink: /patterns/dao/
|
|
categories: Architectural
|
|
tags: Java
|
|
---
|
|
|
|
**Intent:** Object provides an abstract interface to some type of database or
|
|
other persistence mechanism.
|
|
|
|

|
|
|
|
**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
|