Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 990 Bytes

File metadata and controls

26 lines (19 loc) · 990 Bytes

Data Persistence: DAO Pattern.

The DAO persistence pattern serves to isolate the persistence layer of the application layer, thus allowing both parts to evolve separately without knowing anything about the other.

Structures

{% code title="Structures" %}

└── src
    └── main
        └── java
            └── com.your_company_name.your_name_app
                .
                .
                .
                └── persistence
                    └──SampleDAO.java

{% endcode %}

You can see an example using DAO in TotalCross in the SQLite documentation

Referencies

  • See more about DAO Pattern in baeldung and DevMedia