Enterprise Integration Patterns
Conversation Patterns
HOME PATTERNS RAMBLINGS ARTICLES TALKS DOWNLOAD BOOKS CONTACT
Hypermedia StateConversation Patterns » Describing Conversations

A participant is ready to engage in conversations.

How can a participant describe what it expects from a consumer without defining all rules of the conversation up-front?

Describing conversations up-front increases coupling and reduces flexibility.

Describing conversations up-front allow generation of client stubs.

Embed elements in the responses that define the allowed next actions.

Example: HATEOAS

Easily one of the most unlucky acronyms in recent software history, Hyperlinking as the Engine of Application State as an aspect of the REST architectural style is the prototypical implementation of Hypermedia State.

Introduction
Overview
Preface
Table of Contents
Introduction
Describing Conversations
Choreography
Orchestration
Hypermedia State
Conversation Vocabulary
Discovery
Dynamic Discovery
Advertise Availability
Consult Directory
Referral
Leader Election
Starting a Conversation
Three-Way Hand Shake
Acquire Token First
Rotate Tokens
Verify Identity
User Grants Access
Basic Conversations
Fire-and-Forget
Asynchronous Request-Response
Request-Response with Retry
Polling
Subscribe-Notify
Quick Acknowledgment
Intermediaries
Proxy
Relay
Load Balancer
Scatter-Gather
Managing Distributed Systems
Heartbeat
Resource Management
Incremental State Build-up
Lease
Renewal Reminder
Ensuring Consistency
Ignore Error
Compensating Action
Tentative Operation
Coordinated Agreement
Appendices
Bibliography