How can a service capability solve a problem that requires logic
outside of the service boundary?
Problem
A capability may not be able to fulfill its processing requirements
without adding logic that resides outside of its serviceˇ¦s
functional context, thereby compromising the integrity of the
service context and risking service denormalization.
Solution
When requiring access to logic that falls outside of a serviceˇ¦s
boundary, capability logic within the service is designed to
compose one or more capabilities in other services.
Application
The functionality encapsulated by a capability includes logic that
can invoke other capabilities from other services.
Impacts
Carrying out composition logic requires external invocation,
which adds performance overhead and decreases service
autonomy.
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, visitwww.soabooks.com.