Master SOA Design Pattern Catalog
|
|
|
|

Concurrent Contracts (Erl)

|

Home > Service Contract Design Patterns > Concurrent Contracts
|
|
How can a service facilitate multi-consumer coupling requirements
and abstraction concerns at the same time?
|
|
|
|
|

Problem

A service's contract may not be suitable for or applicable to all
potential service consumers.
|
|

Solution

Multiple contracts can be created for a single service, each
targeted at a specific type of consumer.
|
|

Application

This pattern is ideally applied together with Service Facade to support new contracts as required.
|
 |
 |
 |

Impacts

Each new contract can effectively add a new service endpoint to
an inventory, thereby increasing corresponding governance
effort.
|
|
|
|
|
|
| |
|
|
|
Separate contracts are created for the three service consumer categories. In some environments this may
require the further qualification of the service name; for example, the three contracts may be named Invoice
Admin, Invoice Reporting, Invoice Vendor.
|
|
|
|
|

Related Patterns in This Catalog

Canonical Expression (Erl),
Compatible Change (Orchard, Riley),
Contract Denormalization (Erl),
Decoupled Contract (Erl),
Dual Protocols (Erl),
Entity Abstraction (Erl),
Inventory Endpoint (Erl),
Service Facade (Erl),
Service Refactoring (Erl),
Utility Abstraction (Erl),
Validation Abstraction (Erl)
|

|
|
|

Related Patterns in Other Catalogs

Extension Interfact (Schmidt, Buschmann, Henney, Stal, Rohnert)
|

|
|
This page contains excerpts from:

SOA Design Patterns by Thomas Erl

Foreword by Grady Booch

With contributions from David Chappell, Jason Hogg, Anish Karmarkar, Mark Little, David Orchard, Satadru Roy, Thomas Rischbeck, Arnaud Simon, Clemens Utschig, Dennis Wisnosky, and others.

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

For more information about this book, visit www.soabooks.com.
|
This pattern is also discussed in the following title:

Web Service Contract Design and Versioning for SOA
by Thomas Erl, Anish Karmarkar, Priscilla Walmsley, Hugo Haas, Umit Yalcinalp, Canyang Kevin Liu, David Orchard, Andre Tost, James Pasley

Foreword by David Chappell

(ISBN: 013613517X, Hardcover, 826 pages)

For more information about this book, visit www.soabooks.com.
|
|