The public review of the manuscript for "SOA Design Patterns" has concluded !
Thank you to all that participated. 234 reviews were received and over 30 new patterns have been contributed, increasing the size of this book by over 50%. The second draft of the manuscript is currently in development.
SOA Design Patterns by Thomas Erl
For more information visit: www.soapatterns.com
Related Publications
Read the article "Introducing SOA Design Patterns" from the June 2008 SOA World Magazine (High-Res PDF).
PLEASE NOTE
The content on this page is from the first draft of the manuscript for the upcoming book "SOA Design Patterns" by Thomas Erl. This version of the manuscript was authored in September, 2007. Since then, the manuscript has undergone significant content and structural changes as a result of an industry-wide review in which hundreds of SOA practitioners participated in addition to SOA vendors and experts from the design patterns community.
You are welcome to use the information on this page for research purposes, but you should assume that most of it will change in the final release of the "SOA Design Patterns" book.
Note also, that as a result of an industry-wide call for participation from December 2007 to February 2008, over 30 new design patterns have been contributed to this book. As they become finalized and are incorporated by the author, concise descriptions will be published on this site, and full descriptions with examples will be made available in the final, printed book.
Due to the volume of new content and changes, the release of the "SOA Design Patterns" book has been postponed to October, 2008. To learn more about the book, visit www.soapatterns.com. To be notified of updates to this site, use the notification form.
How can policy assertions be consistently processed
and enforced across a service inventory?
Problem
When building services as
Web services, the use of WS-Policy assertions may not be supported by all
parts of the service inventory, especially when policy assertions are added
to service contracts subsequent to service implementation.
Solution
The inventory architecture
is equipped with policy processing and enforcement features.
Application
A standard policy framework
is implemented within the inventory architecture.
Impacts
The runtime interpretation,
processing, and validation of policy assertions can add performance overhead,
especially when larger policy vocabularies are used.
Principles
Standardized Service
Contract, Service Abstraction, Service Discoverability
Architecture
Inventory, Composition,
Service
Status
Suspended
Contributor
Mark Little, Thomas
Rischbeck, Arnaud Simon, Thomas Erl
Problem
Services built as Web service
can have technical contracts that can be extended to include non-functional interface
requirements, such as security, transaction, reliability, or business
rules-based characteristics. These can be expressed through the use of
WS-Policy definitions that are comprised of one or more policy assertions.
Because policy assertions are
an optional part of a service contract, a service inventory architecture may
not have been outfitted with the necessary infrastructure to process policy
information across all services. This can limit the applicability of policies
to specific consumers and services that have been individually extended with
policy features. As a result, services may be required to employ the Concurrent
Contracts pattern to provide other consumers with a contract that is not
policy-enabled.
Furthermore, because policies
are often used to express QoS-related requirements, service owners may not
recognize the need for policies until the service has been in use for some
time. In this case, policy assertions are added subsequent to service
implementation, which can effectively introduce a new version of the service
contract. This can lead to governance issues and further limit access to the
service to only those consumers that can be customized to support the new
policy requirements.
An inventory-wide policy
processing framework is implemented so that policy assertions are naturally
supported and enforced whenever required.
Contributor Notes
This design pattern
description was based on one of the original contributions from Mark, Arnaud,
and Thomas R. (all of whom are authors for the upcoming “ESB Architecture for
SOA” book for the Prentice Hall Service-Oriented Computing Series from Thomas
Erl). After much discussion it was decided to not include this pattern because
of overlap with the Policy Centralization design pattern that had already been
part of the pattern catalog for some time. Inventory-wide “enforcement” of
polices alone was not enough to justify a design pattern, and the support for
establishing global and domain-level policies was already covered by Policy
Centralization.