Repository (Repository)

ARCHITECTURAL ROLE

This pattern is layer-specific; it is used within the Integration architectural layer. A Repository is a boundary class interacting with a Business Facade

BEHAVIOR DEFINED

A PED Repository (Repository) is an alternative to the ubiquitous Resource Manager (RM) pattern. It typically supports a trip outside the JVM to a database.

An effective design seeks to leverage the nuances of a particular provider implementation. For example, please see DeltaSpike’s @Repository implementation.