SOA Patterns | Design Patterns | UI Mediator


SOA Patterns > Service Implementation Patterns > UI Mediator
Home > Design Patterns > UI Mediator

UI Mediator (Utschig, Maier, Trops, Normann, Winterberg)

How can a service-oriented solution provide a consistent, interactive user experience?

UI Mediator

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.

Architecture

Composition

UI Mediator: The mediator service (D) regularly updates the user interface while services A, B, and C work behind-the-scenes to complete the task.The mediator service (D) regularly updates the user interface while services A, B, and C work behind-the-scenes to complete the task.

Related Patterns in This Catalog

Service Agent, Utility Abstraction

Related Service-Oriented Computing Goals

Increased Business and Technology Alignment, Reduced IT Burden


SOA Design Patterns

This page contains excerpts from:

SOA Design Patterns by Thomas Erl

(ISBN: 0136135161, Hardcover, Full-Color, 400+ Illustrations, 865 pages)

For more information about this book, visit www.arcitura.com/books.