Multiple choice technology architecture

PersistenceFacade pattern _________________________

  1. Provides a uniform interface to the subsystem

  2. Assigns the responsibility for creating new class instance or object

  3. Makes a class responsible for materialization

  4. Makes the database mappers responsible for maintaining cache

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The PersistenceFacade pattern provides a simplified, unified interface to a complex persistence subsystem, hiding the complexity of various persistence mechanisms behind a single API. Clients interact with the facade rather than directly with individual persistence components. Option A correctly identifies the facade's purpose of providing a uniform interface. Option B describes the Factory pattern or creation responsibilities. Option C refers to materialization patterns. Option D describes caching responsibilities, which are not the facade's primary role.