Introduction
The point of this chapter is not actually the design of a persistence framework, but, more generally, to introduce key OO framework design principles and patterns, using persistence as an interesting case study.[View full size image]The NextGen applicationlike mostrequires storing and retrieving information in a persistent storage mechanism, such as a relational database (RDB). This chapter explores the design of a framework for storing persistent objects.
Caution! Don't Try This at Home! There are excellent free, robust, industrial-strength open source persistence frameworks, and thus seldom a need to create one yourself. For example, Hibernate is very widely used in the Java domain (www.hibernate.org). It solves most or all problems in object-relational mapping, performance, transaction support, and so forth. |