[ Team LiB ] Previous Section Next Section

Structure

Figure 2.3 illustrates the static structure of the Active Domain Object pattern. An ActiveDomainObject defines logical attributes and operations that represent domain concepts and are convenient for applications to use. It implements these operations by interacting with a physical database driver. It also converts data between its physical form and its logical domain object form.

Figure 2.3. The static structure of the Active Domain Object pattern.

graphics/02fig03.gif

Active domain objects encapsulate the data model, data access details, and the mapping between themselves and the physical data.

    [ Team LiB ] Previous Section Next Section