SlideShare una empresa de Scribd logo
1 de 30
Descargar para leer sin conexión
Service-Oriented Architectures: 
From Design to Production 
Exploiting Workflow Patterns 
Presentation by: 
Martin Villumsen 
<mvill11@student.sdu.dk> 
Authors 
Maurizio Gabbrielli, Saverio Giallorenzo, and Fabrizio Montesi
Motivation
Motivation 
• Service-Oriented Architecture (SOA) 
• Coordinate communications into a flow of 
interactions 
• Model SOA with Coloured Petri Nets (CPN) 
• Translation of CPN-modelled SOAs into 
executable ones (Jolie)
Motivation 
• Workflow Patterns 
• Describe CPNs in terms of Workflow Patterns 
• Implementations of Workflow Patterns 
provided
Coloured Petri Nets
Coloured Petri Nets (CPN) 
• Modelling language that consists of: 
• places - represent the state of the system according to a 
specific marking
Coloured Petri Nets (CPN) 
• Modelling language that consists of: 
• places - represent the state of the system according to a 
specific marking 
• tokens - used to mark when a certain state holds. In CPNs 
tokens have a value attached to them (token colour)
Coloured Petri Nets (CPN) 
• Modelling language that consists of: 
• places - represent the state of the system according to a 
specific marking 
• tokens - used to mark when a certain state holds. In CPNs 
tokens have a value attached to them (token colour) 
• transitions - represent the dynamic behaviour of the system
Coloured Petri Nets (CPN) 
• Modelling language that consists of: 
• places - represent the state of the system according to a 
specific marking 
• tokens - used to mark when a certain state holds. In CPNs 
tokens have a value attached to them (token colour) 
• transitions - represent the dynamic behaviour of the system 
• arcs - specify the “flow”
Coloured Petri Nets (CPN) 
• Tokens that indicate control-flow are typed CID 
• Input places are denoted by i1, …, in 
• Output places are denoted by o1, …, on 
• Internal places are denoted by p1, …, pn 
• Transitions are denoted by A, …, Z.
CPN to Jolie SOAs 
• Jolie has two kinds of message-passing operations 
• One-Way: Send/Receive message and pass 
thread of control 
• Request-Response: Send/Receive and keep 
thread of control until it receive/send a response
CPN to Jolie SOAs 
• Translation based on five principles: 
1.transitions are services 
2.places are message passing operations 
3.communications carry typed messages (as coloured tokens) 
4.arcs express the type of carried messages and the condition 
that allow the communication to pass 
5.a CPN models a SOA composed by several services running 
in parallel
CPN to Jolie SOAs 
• Map input places, internal places and output 
places into One-Way operations (principle 2.)
CPN to Jolie SOAs 
• Map input places, internal places and output 
places into One-Way operations (principle 2.) 
• Combine two round-trip One-Way operations into 
one Request-Response operation
CPN to Jolie SOAs 
• Map input places, internal places and output 
places into One-Way operations (principle 2.) 
• Combine two round-trip One-Way operations into 
one Request-Response operation 
• Map output places into default One-Way locations 
DefaultOutput1, …, n
CPN to Jolie SOAs 
• SOA can be realized using 
• Centralized approach (“orchestration”) 
• Distributed approach (“choreography”) 
• For each WP both a centralized and distributed 
implementation is provided
Simple Example
The Upload Service
The Upload Service 
• Interactions between a User, a file upload 
Service Provider and an Identity Provider
The Upload Service 
• Distributed Sequence ( ; in Jolie)
The Upload Service 
• Distributed Parallel Split ( | in Jolie)
The Upload Service 
• Thread of control passes back to the Service 
Provider with a another distributed Sequence
Multipart Upload
Multipart Upload
Conclusion 
• Methodology for translating CPN-modelled SOAs to 
Jolie 
• A realistic use case illustrates that CPN and WP 
can be used for building SOAs 
• The work provides a pragmatic assessment on the 
expressiveness of Jolie 
• Table on next slide summarizes the results
Conclusion
Thank you!
Q&A

Más contenido relacionado

Similar a Service-Oriented Architectures: From Design to Production Exploiting Workflow Patterns

Introduction to Kafka with Spring Integration
Introduction to Kafka with Spring IntegrationIntroduction to Kafka with Spring Integration
Introduction to Kafka with Spring IntegrationBorislav Markov
 
CHP-4.pptx
CHP-4.pptxCHP-4.pptx
CHP-4.pptxFamiDan
 
Parallel SQL for SolrCloud
Parallel SQL for SolrCloudParallel SQL for SolrCloud
Parallel SQL for SolrCloudJoel Bernstein
 
CSP: Huh? And Components
CSP: Huh? And ComponentsCSP: Huh? And Components
CSP: Huh? And ComponentsDaniel Fagnan
 
Parallel Computing with SolrCloud: Presented by Joel Bernstein, Alfresco
Parallel Computing with SolrCloud: Presented by Joel Bernstein, AlfrescoParallel Computing with SolrCloud: Presented by Joel Bernstein, Alfresco
Parallel Computing with SolrCloud: Presented by Joel Bernstein, AlfrescoLucidworks
 
Osi model
Osi model Osi model
Osi model maha tce
 
Validation of pervasive cloud task migration with colored petri net
Validation of pervasive cloud task migration with colored petri netValidation of pervasive cloud task migration with colored petri net
Validation of pervasive cloud task migration with colored petri netredpel dot com
 
Osi week10(1) [autosaved] by Gulshan K Maheshwari(QAU)
Osi week10(1) [autosaved] by Gulshan  K Maheshwari(QAU)Osi week10(1) [autosaved] by Gulshan  K Maheshwari(QAU)
Osi week10(1) [autosaved] by Gulshan K Maheshwari(QAU)GulshanKumar368
 
Presentation systemc
Presentation systemcPresentation systemc
Presentation systemcSUBRAHMANYA S
 
SERENE 2014 School: Daniel varro serene2014_school
SERENE 2014 School: Daniel varro serene2014_schoolSERENE 2014 School: Daniel varro serene2014_school
SERENE 2014 School: Daniel varro serene2014_schoolHenry Muccini
 
SERENE 2014 School: Incremental Model Queries over the Cloud
SERENE 2014 School: Incremental Model Queries over the CloudSERENE 2014 School: Incremental Model Queries over the Cloud
SERENE 2014 School: Incremental Model Queries over the CloudSERENEWorkshop
 
Marco Mancuso - Data Context Interaction
Marco Mancuso - Data Context InteractionMarco Mancuso - Data Context Interaction
Marco Mancuso - Data Context InteractioncosenzaLab
 
The Newest in Session Types
The Newest in Session TypesThe Newest in Session Types
The Newest in Session TypesRoland Kuhn
 
A Technical Seminar on OSI model
A Technical Seminar on OSI modelA Technical Seminar on OSI model
A Technical Seminar on OSI modelLikan Patra
 
affine transformation for computer graphics
affine transformation for computer graphicsaffine transformation for computer graphics
affine transformation for computer graphicsDrSUGANYADEVIK
 
ITFT_Inter process communication
ITFT_Inter process communicationITFT_Inter process communication
ITFT_Inter process communicationSneh Prabha
 

Similar a Service-Oriented Architectures: From Design to Production Exploiting Workflow Patterns (20)

Introduction to Kafka with Spring Integration
Introduction to Kafka with Spring IntegrationIntroduction to Kafka with Spring Integration
Introduction to Kafka with Spring Integration
 
CHP-4.pptx
CHP-4.pptxCHP-4.pptx
CHP-4.pptx
 
Parallel SQL for SolrCloud
Parallel SQL for SolrCloudParallel SQL for SolrCloud
Parallel SQL for SolrCloud
 
CSP: Huh? And Components
CSP: Huh? And ComponentsCSP: Huh? And Components
CSP: Huh? And Components
 
Parallel Computing with SolrCloud: Presented by Joel Bernstein, Alfresco
Parallel Computing with SolrCloud: Presented by Joel Bernstein, AlfrescoParallel Computing with SolrCloud: Presented by Joel Bernstein, Alfresco
Parallel Computing with SolrCloud: Presented by Joel Bernstein, Alfresco
 
Osi model
Osi model Osi model
Osi model
 
Computer Networks
Computer NetworksComputer Networks
Computer Networks
 
DaViT.pdf
DaViT.pdfDaViT.pdf
DaViT.pdf
 
Validation of pervasive cloud task migration with colored petri net
Validation of pervasive cloud task migration with colored petri netValidation of pervasive cloud task migration with colored petri net
Validation of pervasive cloud task migration with colored petri net
 
Osi week10(1) [autosaved] by Gulshan K Maheshwari(QAU)
Osi week10(1) [autosaved] by Gulshan  K Maheshwari(QAU)Osi week10(1) [autosaved] by Gulshan  K Maheshwari(QAU)
Osi week10(1) [autosaved] by Gulshan K Maheshwari(QAU)
 
Bn 1024 demo ccnp
Bn 1024 demo  ccnpBn 1024 demo  ccnp
Bn 1024 demo ccnp
 
Presentation systemc
Presentation systemcPresentation systemc
Presentation systemc
 
SERENE 2014 School: Daniel varro serene2014_school
SERENE 2014 School: Daniel varro serene2014_schoolSERENE 2014 School: Daniel varro serene2014_school
SERENE 2014 School: Daniel varro serene2014_school
 
SERENE 2014 School: Incremental Model Queries over the Cloud
SERENE 2014 School: Incremental Model Queries over the CloudSERENE 2014 School: Incremental Model Queries over the Cloud
SERENE 2014 School: Incremental Model Queries over the Cloud
 
Marco Mancuso - Data Context Interaction
Marco Mancuso - Data Context InteractionMarco Mancuso - Data Context Interaction
Marco Mancuso - Data Context Interaction
 
D-prov use-case
D-prov use-caseD-prov use-case
D-prov use-case
 
The Newest in Session Types
The Newest in Session TypesThe Newest in Session Types
The Newest in Session Types
 
A Technical Seminar on OSI model
A Technical Seminar on OSI modelA Technical Seminar on OSI model
A Technical Seminar on OSI model
 
affine transformation for computer graphics
affine transformation for computer graphicsaffine transformation for computer graphics
affine transformation for computer graphics
 
ITFT_Inter process communication
ITFT_Inter process communicationITFT_Inter process communication
ITFT_Inter process communication
 

Más de IMDS2014

A Framework for Rule-Based Dynamic Adaptation
A Framework for Rule-Based Dynamic AdaptationA Framework for Rule-Based Dynamic Adaptation
A Framework for Rule-Based Dynamic AdaptationIMDS2014
 
Process-aware Web Programming with Jolie
Process-aware Web Programming with JolieProcess-aware Web Programming with Jolie
Process-aware Web Programming with JolieIMDS2014
 
Scribbling Interactions with a Formal Foundation
Scribbling Interactions with a Formal FoundationScribbling Interactions with a Formal Foundation
Scribbling Interactions with a Formal FoundationIMDS2014
 
Pict: A programming language based on the pi-calculus
Pict: A programming language based on the pi-calculusPict: A programming language based on the pi-calculus
Pict: A programming language based on the pi-calculusIMDS2014
 
Hop, a language for programming the web 2.0
Hop, a language for programming the web 2.0Hop, a language for programming the web 2.0
Hop, a language for programming the web 2.0IMDS2014
 
Demo presentation chor
Demo presentation chorDemo presentation chor
Demo presentation chorIMDS2014
 

Más de IMDS2014 (6)

A Framework for Rule-Based Dynamic Adaptation
A Framework for Rule-Based Dynamic AdaptationA Framework for Rule-Based Dynamic Adaptation
A Framework for Rule-Based Dynamic Adaptation
 
Process-aware Web Programming with Jolie
Process-aware Web Programming with JolieProcess-aware Web Programming with Jolie
Process-aware Web Programming with Jolie
 
Scribbling Interactions with a Formal Foundation
Scribbling Interactions with a Formal FoundationScribbling Interactions with a Formal Foundation
Scribbling Interactions with a Formal Foundation
 
Pict: A programming language based on the pi-calculus
Pict: A programming language based on the pi-calculusPict: A programming language based on the pi-calculus
Pict: A programming language based on the pi-calculus
 
Hop, a language for programming the web 2.0
Hop, a language for programming the web 2.0Hop, a language for programming the web 2.0
Hop, a language for programming the web 2.0
 
Demo presentation chor
Demo presentation chorDemo presentation chor
Demo presentation chor
 

Último

Pests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPirithiRaju
 
pumpkin fruit fly, water melon fruit fly, cucumber fruit fly
pumpkin fruit fly, water melon fruit fly, cucumber fruit flypumpkin fruit fly, water melon fruit fly, cucumber fruit fly
pumpkin fruit fly, water melon fruit fly, cucumber fruit flyPRADYUMMAURYA1
 
GBSN - Microbiology (Unit 3)
GBSN - Microbiology (Unit 3)GBSN - Microbiology (Unit 3)
GBSN - Microbiology (Unit 3)Areesha Ahmad
 
GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)Areesha Ahmad
 
Sector 62, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 62, Noida Call girls :8448380779 Model Escorts | 100% verifiedSector 62, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 62, Noida Call girls :8448380779 Model Escorts | 100% verifiedDelhi Call girls
 
Thyroid Physiology_Dr.E. Muralinath_ Associate Professor
Thyroid Physiology_Dr.E. Muralinath_ Associate ProfessorThyroid Physiology_Dr.E. Muralinath_ Associate Professor
Thyroid Physiology_Dr.E. Muralinath_ Associate Professormuralinath2
 
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceuticsPulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceuticssakshisoni2385
 
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdfPests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdfPirithiRaju
 
FAIRSpectra - Enabling the FAIRification of Analytical Science
FAIRSpectra - Enabling the FAIRification of Analytical ScienceFAIRSpectra - Enabling the FAIRification of Analytical Science
FAIRSpectra - Enabling the FAIRification of Analytical ScienceAlex Henderson
 
Digital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptxDigital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptxMohamedFarag457087
 
Factory Acceptance Test( FAT).pptx .
Factory Acceptance Test( FAT).pptx       .Factory Acceptance Test( FAT).pptx       .
Factory Acceptance Test( FAT).pptx .Poonam Aher Patil
 
Connaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verified
Connaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verifiedConnaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verified
Connaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verifiedDelhi Call girls
 
chemical bonding Essentials of Physical Chemistry2.pdf
chemical bonding Essentials of Physical Chemistry2.pdfchemical bonding Essentials of Physical Chemistry2.pdf
chemical bonding Essentials of Physical Chemistry2.pdfTukamushabaBismark
 
Grade 7 - Lesson 1 - Microscope and Its Functions
Grade 7 - Lesson 1 - Microscope and Its FunctionsGrade 7 - Lesson 1 - Microscope and Its Functions
Grade 7 - Lesson 1 - Microscope and Its FunctionsOrtegaSyrineMay
 
Bacterial Identification and Classifications
Bacterial Identification and ClassificationsBacterial Identification and Classifications
Bacterial Identification and ClassificationsAreesha Ahmad
 
High Class Escorts in Hyderabad ₹7.5k Pick Up & Drop With Cash Payment 969456...
High Class Escorts in Hyderabad ₹7.5k Pick Up & Drop With Cash Payment 969456...High Class Escorts in Hyderabad ₹7.5k Pick Up & Drop With Cash Payment 969456...
High Class Escorts in Hyderabad ₹7.5k Pick Up & Drop With Cash Payment 969456...chandars293
 
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and SpectrometryFAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and SpectrometryAlex Henderson
 
GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)Areesha Ahmad
 

Último (20)

Pests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdf
 
pumpkin fruit fly, water melon fruit fly, cucumber fruit fly
pumpkin fruit fly, water melon fruit fly, cucumber fruit flypumpkin fruit fly, water melon fruit fly, cucumber fruit fly
pumpkin fruit fly, water melon fruit fly, cucumber fruit fly
 
GBSN - Microbiology (Unit 3)
GBSN - Microbiology (Unit 3)GBSN - Microbiology (Unit 3)
GBSN - Microbiology (Unit 3)
 
GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)
 
Sector 62, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 62, Noida Call girls :8448380779 Model Escorts | 100% verifiedSector 62, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 62, Noida Call girls :8448380779 Model Escorts | 100% verified
 
Thyroid Physiology_Dr.E. Muralinath_ Associate Professor
Thyroid Physiology_Dr.E. Muralinath_ Associate ProfessorThyroid Physiology_Dr.E. Muralinath_ Associate Professor
Thyroid Physiology_Dr.E. Muralinath_ Associate Professor
 
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceuticsPulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
 
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdfPests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
 
FAIRSpectra - Enabling the FAIRification of Analytical Science
FAIRSpectra - Enabling the FAIRification of Analytical ScienceFAIRSpectra - Enabling the FAIRification of Analytical Science
FAIRSpectra - Enabling the FAIRification of Analytical Science
 
Digital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptxDigital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptx
 
Factory Acceptance Test( FAT).pptx .
Factory Acceptance Test( FAT).pptx       .Factory Acceptance Test( FAT).pptx       .
Factory Acceptance Test( FAT).pptx .
 
Clean In Place(CIP).pptx .
Clean In Place(CIP).pptx                 .Clean In Place(CIP).pptx                 .
Clean In Place(CIP).pptx .
 
Site Acceptance Test .
Site Acceptance Test                    .Site Acceptance Test                    .
Site Acceptance Test .
 
Connaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verified
Connaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verifiedConnaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verified
Connaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verified
 
chemical bonding Essentials of Physical Chemistry2.pdf
chemical bonding Essentials of Physical Chemistry2.pdfchemical bonding Essentials of Physical Chemistry2.pdf
chemical bonding Essentials of Physical Chemistry2.pdf
 
Grade 7 - Lesson 1 - Microscope and Its Functions
Grade 7 - Lesson 1 - Microscope and Its FunctionsGrade 7 - Lesson 1 - Microscope and Its Functions
Grade 7 - Lesson 1 - Microscope and Its Functions
 
Bacterial Identification and Classifications
Bacterial Identification and ClassificationsBacterial Identification and Classifications
Bacterial Identification and Classifications
 
High Class Escorts in Hyderabad ₹7.5k Pick Up & Drop With Cash Payment 969456...
High Class Escorts in Hyderabad ₹7.5k Pick Up & Drop With Cash Payment 969456...High Class Escorts in Hyderabad ₹7.5k Pick Up & Drop With Cash Payment 969456...
High Class Escorts in Hyderabad ₹7.5k Pick Up & Drop With Cash Payment 969456...
 
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and SpectrometryFAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
 
GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)
 

Service-Oriented Architectures: From Design to Production Exploiting Workflow Patterns

  • 1. Service-Oriented Architectures: From Design to Production Exploiting Workflow Patterns Presentation by: Martin Villumsen <mvill11@student.sdu.dk> Authors Maurizio Gabbrielli, Saverio Giallorenzo, and Fabrizio Montesi
  • 3. Motivation • Service-Oriented Architecture (SOA) • Coordinate communications into a flow of interactions • Model SOA with Coloured Petri Nets (CPN) • Translation of CPN-modelled SOAs into executable ones (Jolie)
  • 4. Motivation • Workflow Patterns • Describe CPNs in terms of Workflow Patterns • Implementations of Workflow Patterns provided
  • 6. Coloured Petri Nets (CPN) • Modelling language that consists of: • places - represent the state of the system according to a specific marking
  • 7. Coloured Petri Nets (CPN) • Modelling language that consists of: • places - represent the state of the system according to a specific marking • tokens - used to mark when a certain state holds. In CPNs tokens have a value attached to them (token colour)
  • 8. Coloured Petri Nets (CPN) • Modelling language that consists of: • places - represent the state of the system according to a specific marking • tokens - used to mark when a certain state holds. In CPNs tokens have a value attached to them (token colour) • transitions - represent the dynamic behaviour of the system
  • 9. Coloured Petri Nets (CPN) • Modelling language that consists of: • places - represent the state of the system according to a specific marking • tokens - used to mark when a certain state holds. In CPNs tokens have a value attached to them (token colour) • transitions - represent the dynamic behaviour of the system • arcs - specify the “flow”
  • 10. Coloured Petri Nets (CPN) • Tokens that indicate control-flow are typed CID • Input places are denoted by i1, …, in • Output places are denoted by o1, …, on • Internal places are denoted by p1, …, pn • Transitions are denoted by A, …, Z.
  • 11. CPN to Jolie SOAs • Jolie has two kinds of message-passing operations • One-Way: Send/Receive message and pass thread of control • Request-Response: Send/Receive and keep thread of control until it receive/send a response
  • 12. CPN to Jolie SOAs • Translation based on five principles: 1.transitions are services 2.places are message passing operations 3.communications carry typed messages (as coloured tokens) 4.arcs express the type of carried messages and the condition that allow the communication to pass 5.a CPN models a SOA composed by several services running in parallel
  • 13. CPN to Jolie SOAs • Map input places, internal places and output places into One-Way operations (principle 2.)
  • 14. CPN to Jolie SOAs • Map input places, internal places and output places into One-Way operations (principle 2.) • Combine two round-trip One-Way operations into one Request-Response operation
  • 15. CPN to Jolie SOAs • Map input places, internal places and output places into One-Way operations (principle 2.) • Combine two round-trip One-Way operations into one Request-Response operation • Map output places into default One-Way locations DefaultOutput1, …, n
  • 16. CPN to Jolie SOAs • SOA can be realized using • Centralized approach (“orchestration”) • Distributed approach (“choreography”) • For each WP both a centralized and distributed implementation is provided
  • 18.
  • 20. The Upload Service • Interactions between a User, a file upload Service Provider and an Identity Provider
  • 21. The Upload Service • Distributed Sequence ( ; in Jolie)
  • 22. The Upload Service • Distributed Parallel Split ( | in Jolie)
  • 23. The Upload Service • Thread of control passes back to the Service Provider with a another distributed Sequence
  • 25.
  • 27. Conclusion • Methodology for translating CPN-modelled SOAs to Jolie • A realistic use case illustrates that CPN and WP can be used for building SOAs • The work provides a pragmatic assessment on the expressiveness of Jolie • Table on next slide summarizes the results
  • 30. Q&A