Chapter 9: Practical Data Access
Overview
Chapter 7, it's desirable to separate data access from business logic. We can achieve this separation by concealing the details of data access behind an abstraction layer such as an O/R mapping framework or the Data-Access Objects (DAO) pattern.We conclude by looking at the DAO pattern in action, as we implement some of the core data-access code of the sample application using the DAO pattern and the JDBC abstraction framework discussed in this chapter.