|
|
Master SOA Design Pattern Catalog
|
|
|
|

Validation Abstraction (Erl)

|

Home > Service Contract Design Patterns > Validation Abstraction
|
How can service contracts be designed to more easily adapt to
validation logic changes?
|
|
|
|
|

Problem

Service contracts that contain detailed validation constraints
become more easily invalidated when the rules behind those
constraints change.
|
|

Solution

Granular validation logic and rules can be abstracted away from
the service contract, thereby decreasing constraint granularity
and increasing the contract's potential longevity.
|
|

Application

Abstracted validation logic and rules need to be moved to the
underlying service logic, a different service, a service agent, or
elsewhere.
|
 |
 |
 |

Impacts

This pattern can somewhat decentralize validation logic and can
also complicate schema standardization.
|
|
|
|
|
|


|
By reducing the overall quantity of constraints and especially filtering out those more
prone to change, the longevity of a service contract can be extended.

|
|

Related Patterns in This Catalog

Compatible Change (Orchard, Riley),
Concurrent Contracts (Erl),
Entity Abstraction (Erl),
Partial Validation (Orchard, Riley),
Policy Centralization (Erl),
Rules Centralization (Erl),
Schema Centralization (Erl),
Service Agent (Erl),
Service Refactoring (Erl)
|

|
|
|
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.
|
|