O'Reilly logo

Enterprise Application Development with Ext JS and Spring by Gerald Gierer

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 4. Data Access Made Easy

The Data Access Object (DAO) design pattern is a simple and elegant way of abstracting database persistence from application business logic. This design ensures a clear separation of the two core parts of any enterprise application: the data access layer and the service (or business logic) layer. The DAO pattern is a well-understood Java EE programming structure, initially brought to prominence by Sun Microsystems in its Java EE Design Blueprints that has since been adopted by other programming environments such as the .NET framework.

The following image illustrates where the DAO layer sits in the overall application structure:

Changing an implementation in the DAO layer should not affect the service layer in any ...

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