Skip to content

Commit 621793e

Browse files
committed
Improved DAO Javadoc
1 parent 807478a commit 621793e

File tree

1 file changed

+7
-1
lines changed
  • dao/src/main/java/com/iluwatar/dao

1 file changed

+7
-1
lines changed

dao/src/main/java/com/iluwatar/dao/App.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,14 @@
55

66
/**
77
*
8+
* Data Access Object (DAO) is an object that provides an abstract interface to some type of database or other
9+
* persistence mechanism. By mapping application calls to the persistence layer, DAO provide some specific data
10+
* operations without exposing details of the database. This isolation supports the Single responsibility principle.
11+
* It separates what data accesses the application needs, in terms of domain-specific objects and data types
12+
* (the public interface of the DAO), from how these needs can be satisfied with a specific DBMS.
13+
* <p>
814
* With the DAO pattern, we can use various method calls to retrieve/add/delete/update data without directly
9-
* interacting with the data. The below example demonstrates basic operations(CRUD): select, add, update, and delete.
15+
* interacting with the data. The below example demonstrates basic CRUD operations: select, add, update, and delete.
1016
*
1117
*/
1218
public class App {

0 commit comments

Comments
 (0)