O'Reilly logo

Beginning Java™ and Flex: Migrating Java, Spring, Hibernate, and Maven Developers to Adobe Flex by Filippo di Pisa

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required