{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

l14-15 - CS 290C Formal Models for Web Software Lectures 14...

Info icon This preview shows pages 1–12. Sign up to view the full content.

View Full Document Right Arrow Icon
CS 290C: Formal Models for Web Software Lectures 14 and 15: Choreography and Orchestration Modeling with Process Algebras Instructor: Tevfik Bultan
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
A Choreography Example 1. First, Buyer asks Seller, through a specified channel, to offer a quote 2. Then Seller replies with a quote 3. Buyer then answers with either QuoteAcceptance or QuoteRejection. 1. If the answer is QuoteAcceptance, then Seller sends a confirmation to Buyer, and request delivery details from the Shipper. Then Shipper sends the deliver details to Seller and Seller sends them to the Buyer and the protocol terminates. 2. If the answer is QuoteRejection, then the interaction terminates.
Image of page 2
Example Choreography as a Conversation Protocol Buyer→Seller: RequestforQuote Seller→Buyer: QuoteResponse Buyer→Seller: QuoteReject Seller→Buyer: OrderConfirmation Buyer→Seller: QuoteAcceptance Seller→Shipper: RequestDelDetails Shipper→Seller: DeliveryDetails Seller→Buyer: DeliveryDetails
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Example Choreography as an MSC Seller Shipper Buyer RequestForQuote QuoteResponse alt QuoteAcceptance QuoteReject OrderConfirmation RequestDelDetails DeliveryDetails DeliveryDetails
Image of page 4
1:RequestForQuote 3:QuoteAcceptance Seller Buyer Shipper 2:QuoteResponse 4:OrderConfirmation 7: DeliveryDetails 5:RequestDelDetails 6:DeliveryDetails Example Choreography as Collaboration Diagrams
Image of page 5

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
1:RequestForQuote 3:QuoteReject Seller Buyer Shipper 2:QuoteResponse Example Choreography as Collaboration Diagrams
Image of page 6
Projections to Peers (Participants) ?RequestforQuote !QuoteResponse ?QuoteReject !OrderConfirmation ?QuoteAcceptance !RequestDelDetails ?DeliveryDetails !DeliveryDetails Seller
Image of page 7

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Projections to Peers (Participants) ! RequestforQuote ?QuoteResponse !QuoteReject ?OrderConfirmation !QuoteAcceptance ?DeliveryDetails Buyer Shipper ?RequestDelDetails !DeliveryDetails
Image of page 8
Process Algebras for Choreography & Orchestration Another formalism for specifying choreography and orchestration Process algebras and process calculi are extensively used in specification and verification There are verification tools for analyzing process algebra specifications If we specify choreography and orchestration specifications in process algebra we can use these analysis tools
Image of page 9

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Process Algebras for Choreography & Orchestration The following paper report propose process algebras for choreography and orchestration “A Theoretical Basis of Communication-Centred Concurrent Programming” by Marco Carbone, Kohei Honda, Nobuko Yoshida, Robin Milner, Gary Brown and Steve Ross-Talbot The proposed process algebras are based on pi-calculus The goal is to provide a theoretical foundation for the choreography specification languages such WS-CDL
Image of page 10
Process Algebras for Choreography & Orchestration There are two process algebras: 1. A process algebra for choreography specifications: This is used for specifying global ordering of interactions, i.e., it specifies the global ordering of messages exchanged among the participants (peers) 1. A process algebra for orchestration: This is used to specify control flow of participants, the ordering of their local actions and their send and receive operations
Image of page 11

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 12
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern