DAO support in Spring
Introduction of DAO:-
DAO stands for data access object which is commonly used for database interaction.The Data Access Object (DAO) support in Spring is aimed at making it easy to work with data access technologies like JDBC, Hibernate, JPA or JDO in a consistent way. This allows one to switch between the aforementioned persistence technologies fairly easily and it also allows one to code without worrying about catching exceptions that are specific to each technology.
DAOs exist to provide a means to read and write data to the database and they should expose this functionality through an interface by which the rest of the application will access them.