Chapter 5. Spring JDBC and Hibernate
As I noted in Chapter 2, we will separate all our applications into 3 different main layers: the view layer, the service layer and the data access layer. We'll start by explaining how to implement the data access layer with Spring JDBC and Hibernate, using, for both, the DAO (Database Access Object) design pattern.
The DAO Design Pattern
The DAO (Data Access Object) is an object-oriented software design that provides mapping from the application calls to the persistence layer. Applications that implement the persistent storage without using the DAO design pattern, perhaps with some customized solution, may be difficult to scale or to adapt to a different environment, and this affects portability.
By using the ...
Get Beginning Java™ and Flex: Migrating Java, Spring, Hibernate, and Maven Developers to Adobe Flex now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.