Docsity

Understanding Choreography in Business Processes: A Dance Between Entities, Slides of Computer-Aided Power System Analysis

Partial preview of the text

Download Understanding Choreography in Business Processes: A Dance Between Entities and more Slides Computer-Aided Power System Analysis in PDF only on Docsity!

Dancers interact with one another with no overall concept of direction. "There is no conductor." Orchestration : assumes there is a central "conductor" who runs all processes. Choreography : describes a transaction without the assumption of central control. Choreography Choreography Docsity.com

In BPMN and BPEL, subprocesses only exist inside individual business entities. A choreography is a kind of subroutine that encompasses multiple entities. It is more like a "dance" than a "procedure", in the sense that all entities "participate". Understanding choreography Understanding choreography Docsity.com

Two participants: user and SIS User requests SIS page. SIS prints page on browser. User enters Login name and Password and presses "login". In this case, the dance "ends" successfully. succeeds if correct. In this case, user presses "back" and "refresh" and tries again. prints an error message and fails if the form is too old. In this case, user ends session and tries later. prints an error message if SIS is unavailable. In this case, user presses "back" and "refresh" and tries again. prints an error message if the password and login don't match. SIS checks Login name and Password and Repeat until success: End repeat. Dance steps: Example: login to SIS Involves multiple entities This example: Example: login to SIS Docsity.com

Involves multiple entities Has multiple failure conditions. Results in a predictable state if successful. Docsity.com

Two participants: user and SIS User requests SIS page. SIS prints page on browser. User enters Login name and Password and presses "login". SIS prints an error message and fails if the form is too old. SIS prints an error message if SIS is unavailable. SIS prints an error message if the password and login don't match. SIS checks Login name and Password and succeeds if correct. Repeat until success: Example: login to SIS Example: login to SIS Docsity.com

… … sequence, parallel, interaction, workunit, … Outline of a choreography True form of a choreography Docsity.com

A choreography is a description of coordinated state. Can accumulate state on each side of a transaction. State is represented via state variables. These are defined outside the choreography. Binding and state Binding and state Docsity.com