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.
{% 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
- See more about DAO Pattern in baeldung and DevMedia