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
└── src
└── main
└── java
└── com.your_company_name.your_name_app
.
.
.
└── persistence
└──SampleDAO.java