Core J2EE Patterns

©

Presentation Tier

Business Tier

Integration Tier


Core J2EE Pattern Catalog

© CoreJ2EEPatterns
All Rights Reserved.

Last Updated:
January 29, 2006 8:54 PM

In Association with Amazon.com


Domain Store

See Core J2EE Patterns, 2nd Edition for full description of this pattern and its strategies.

Problem

You want to separate persistence from your object model.

Forces

Solution

Use a Domain Store to transparently persist an object model. Unlike J2EE’s container-managed persistence and bean-managed persistence, which include persistence support code in the object model, Domain Store's persistence mechanism is separate from the object model.

Class Diagram

Sequence Diagram

Strategies

Consequences

Related Patterns

Excerpted from Core J2EE Patterns, 2nd Edition. See the book for full description of the pattern including class diagrams, sequence diagrams and sample code.

Contact Us © CoreJ2EEPatterns.com. All Rights Reserved. Terms of use

AltStyle によって変換されたページ (->オリジナル) /