Professional Documents
Culture Documents
MS RADHA SARFRAZ
SUBMITTED BY
GROUP G
SUBJECT
3. Collaboration Scenarios:
Collaboration scenarios are developed during the choreography definition
phase.
4.Behavioural Interfaces:
From these collaboration scenarios, for each participant role, a behavioral
interface.
5.4 PROCESS CHOREOGRAPHY IMPLEMENTATION
• Lack of collaboration
• Send
• Receive
• Send/Receive
SEND
The send pattern represents a one-way interaction
between• Variations in message receiver: In case
of two-way interactions, round-trip interaction
means that the receiver of the message is
necessarily the same as the sender,
whereas routed interaction means that
the receiver of the message in general
differs from the sender.
Receive
The receive pattern also describes a one-
way interaction between two participants,
but this time seen from the perspective of
the receiver.
For example the facility management
department of a company receives a
notification that the heating system in a
building does not work properly.
Send/Receive:
• The send/receive pattern, a participant sends a request to another
participant who then returns a response message.
• Both messages belong to the same conversation.
• Since there could be several send/receive interaction instances
happening in parallel, corresponding requests and responses need to be
correlated.
For example the Client server model.
•
One-To-Many Send :
• A participant sends out several
messages to other participants in
parallel.
• It might be the case that the list of
recipients is already known at
design-time of the choreography
or, alternatively, the selection of
the recipients takes place in the
course of the conversation.
One-From-Many Receive:
In the one-from-many receive pattern, messages can be received from many
participants. In particular, one participant waits for messages to arrive from other
participants, and each of these participants can send exactly one message.
One-To-Many Send/Receive:
In the one-to-many send/receive pattern, a participant sends out several
requests to different other participants and waits for responses. Typically, notall
responses need to be waited for. The requester rather waits for a certain amount
of time or stops waiting as soon as enough responses have arrived.
5.6 Let’s Dance
Let’s Dance is a choreography language
It is based on control flow patterns and
service interaction patterns.
Let’s Dance comes with two different
diagram types for supporting
1):High-level Choreographies
In the design of high-level choreographies,
a structural, role-based view and a
behavioral milestone view can be
distinguished.
2): Modelling Interactions
• The main focus of Let’s Dance is to
capture interactions and their behavioural
dependencies.
• Elementary interactions are the building
blocks by which complex interaction rules
can be defined
Thank you