Chapter 5
Service
describes
End Point Exposes
Messages Sends/Receives
Contracts
Binds to
Service Consumer implements
Policy governed by
Sends/Receives
Adheres to
Component
Relation
Key
Understands
Serves
Requestor
Replier
Service(replier)
Consumer(requestor)
ServicesObjects in a Process
Computer A
Computer B
Process A
Process B
Process
Same address space
Network
Service
EndPoint
Synchronous processing
1. Request2.
3. Reply
Service Consumer
Service
EndPoint
Packagereaction
1. Request2.
5. Reaction
Service Consumer
EndPointSend
Reaction
3.
ProcessRequest
4.
Delays
OperationalPicture
Airports
Schedules
Reservations
Weather
Delays
OperationalPicture
Airports
Schedules
Reservations
Weather
Events
Request/Reply
Edge
Event/Notification
Service Consumer
Service Consumer
Service Consumer
Event/Notification
EndPoint
Event/Notification
Event Propagation
PackageEvents
(Subscriptions)
Route
Event Handler
Dispatch
RelevancyFilter
Service
Request
Reply
Edge
EndPoint
Request
Event/Notification
Service Consumer
Service Consumer
Service Consumer
Event/Notification
EndPoint
Event/Notification
Event Propagation
PackageEvents
Dispatch
Route
Event Handler
Dispatch
RelevancyFilter
Service
Request
Reply
Obsolete
Active
Closing
cancel
ExitingCompensating
Ended
Completed
Faulting
Cancelling
Exit
Fault
completed
canceled
close
compensate
closed
Fault
compensatedFaulted
exited