O'Reilly logo

J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software by Art Taylor

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

The Data Access Object: The GeneralDAO Class

The data access object encapsulates the specifics of data access in a class design. It is intended to be a coarse-grained object, meaning that the details of the data being accessed (the columns, the data types) are not necessarily understood or managed by the class.

Note that a design pattern is a recommended solution, a desirable approach. A design pattern is not a template, though a template for a class or an interface for a class could result from the implementation of a design pattern. For that reason, there is no template for a data access object; there is just a set of recommendations.

This data access object presents a generalized approach to retrieving data. It has not been written to access ...

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