SOA Patterns > Service Implementation Patterns > UI Mediator
UI Mediator (Utschig, Maier, Trops, Normann, Winterberg)
How can a service-oriented solution provide a consistent, interactive user experience?
Problem
Because the behavior of individual services can vary depending on their design, runtime usage, and the workload required to carry out a given capability, the consistency with which a service-oriented solution can respond to requests originating from a user-interface can fluctuate, leading to a poor user experience.
Solution
Establish mediator logic solely responsible for ensuring timely interaction and feedback with user-interfaces and presentation logic.
Application
A utility mediator service or service agent is positioned as the initial recipient of messages originating from the user-interface. This mediation logic responds in a timely and consistent manner regardless of the behavior of the underling solution.
Impacts
The mediator logic establishes an additional layer of processing that can add to the required runtime processing.
Principles
Architecture
Composition
Related Patterns in This Catalog
Service Agent, Utility Abstraction
Related Service-Oriented Computing Goals
Increased Business and Technology Alignment, Reduced IT Burden