DAO Pattern
Learn DAO Pattern (Spring MVC Architecture & Design Patterns, Spring MVC) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
Fresher Notes DAO (Data Access Object): a class that holds all database access code for one entity or table, behind an interface. Purpose : separate persistence from business logic so the storage technology can change. In Spring : a DAO is a @Repository bean that uses JdbcTemplate , EntityManager or Spring Data.