transforming web services choreographies with priorities
play

TRANSFORMING WEB SERVICES CHOREOGRAPHIES WITH PRIORITIES AND TIME - PowerPoint PPT Presentation

TRANSFORMING WS-CDL WITH PRIORITIES AND TIME CONSTRAINTS INTO PRIORITIZED-TIME PETRI NETS TRANSFORMING WEB SERVICES CHOREOGRAPHIES WITH PRIORITIES AND TIME CONSTRAINTS INTO PRIORITIZED-TIME PETRI NETS V. Valero M.E. Cambronero G. Daz J.J.


  1. TRANSFORMING WS-CDL WITH PRIORITIES AND TIME CONSTRAINTS INTO PRIORITIZED-TIME PETRI NETS TRANSFORMING WEB SERVICES CHOREOGRAPHIES WITH PRIORITIES AND TIME CONSTRAINTS INTO PRIORITIZED-TIME PETRI NETS V. Valero M.E. Cambronero G. Díaz J.J. Pardo Departamento de Sistemas Informáticos Universidad de Castilla-La Mancha Valentin.Valero@uclm.es FLACOS 2007

  2. TRANSFORMING WS-CDL WITH PRIORITIES AND TIME CONSTRAINTS INTO PRIORITIZED-TIME PETRI NETS CONTENTS 1 MOTIVATION AND GOALS 2 WS-CDL 3 TIME AND PRIORITIES IN WS-CDL 4 PRIORITIZED-TIME PETRI NETS (PTPNs) 5 PTPN SEMANTICS 6 CASE STUDY 7 CONCLUSIONS

  3. TRANSFORMING WS-CDL WITH PRIORITIES AND TIME CONSTRAINTS INTO PRIORITIZED-TIME PETRI NETS CONTENTS 1 MOTIVATION AND GOALS 2 WS-CDL 3 TIME AND PRIORITIES IN WS-CDL 4 PRIORITIZED-TIME PETRI NETS (PTPNs) 5 PTPN SEMANTICS 6 CASE STUDY 7 CONCLUSIONS

  4. TRANSFORMING WS-CDL WITH PRIORITIES AND TIME CONSTRAINTS INTO PRIORITIZED-TIME PETRI NETS CONTENTS 1 MOTIVATION AND GOALS 2 WS-CDL 3 TIME AND PRIORITIES IN WS-CDL 4 PRIORITIZED-TIME PETRI NETS (PTPNs) 5 PTPN SEMANTICS 6 CASE STUDY 7 CONCLUSIONS

  5. TRANSFORMING WS-CDL WITH PRIORITIES AND TIME CONSTRAINTS INTO PRIORITIZED-TIME PETRI NETS CONTENTS 1 MOTIVATION AND GOALS 2 WS-CDL 3 TIME AND PRIORITIES IN WS-CDL 4 PRIORITIZED-TIME PETRI NETS (PTPNs) 5 PTPN SEMANTICS 6 CASE STUDY 7 CONCLUSIONS

  6. TRANSFORMING WS-CDL WITH PRIORITIES AND TIME CONSTRAINTS INTO PRIORITIZED-TIME PETRI NETS CONTENTS 1 MOTIVATION AND GOALS 2 WS-CDL 3 TIME AND PRIORITIES IN WS-CDL 4 PRIORITIZED-TIME PETRI NETS (PTPNs) 5 PTPN SEMANTICS 6 CASE STUDY 7 CONCLUSIONS

  7. TRANSFORMING WS-CDL WITH PRIORITIES AND TIME CONSTRAINTS INTO PRIORITIZED-TIME PETRI NETS CONTENTS 1 MOTIVATION AND GOALS 2 WS-CDL 3 TIME AND PRIORITIES IN WS-CDL 4 PRIORITIZED-TIME PETRI NETS (PTPNs) 5 PTPN SEMANTICS 6 CASE STUDY 7 CONCLUSIONS

  8. TRANSFORMING WS-CDL WITH PRIORITIES AND TIME CONSTRAINTS INTO PRIORITIZED-TIME PETRI NETS CONTENTS 1 MOTIVATION AND GOALS 2 WS-CDL 3 TIME AND PRIORITIES IN WS-CDL 4 PRIORITIZED-TIME PETRI NETS (PTPNs) 5 PTPN SEMANTICS 6 CASE STUDY 7 CONCLUSIONS

  9. TRANSFORMING WS-CDL WITH PRIORITIES AND TIME CONSTRAINTS INTO PRIORITIZED-TIME PETRI NETS MOTIVATION AND GOALS MOTIVATION AND GOALS THERE IS A NEED OF A TECHNOLOGY FOR WEB SERVICES COMPOSITION

  10. TRANSFORMING WS-CDL WITH PRIORITIES AND TIME CONSTRAINTS INTO PRIORITIZED-TIME PETRI NETS MOTIVATION AND GOALS MOTIVATION AND GOALS Business�Collaboration�Language: Choreography�Description�Language Quality�of Service Business�Process�Languages: BPEL,�CI,�XPDL,�BPML Transactions Reliable Quality�of Security Coordination Messaging Service Context UDDI Discovery WSDL Description SOAP Trasport XML,�Encodings HTTP,�BEEP,�IIOP,�JMS,�SMTP Trasport

  11. TRANSFORMING WS-CDL WITH PRIORITIES AND TIME CONSTRAINTS INTO PRIORITIZED-TIME PETRI NETS MOTIVATION AND GOALS MOTIVATION AND GOALS Choreography layer: Collaboration of parties, establishing their common and complementary observable behaviour. Independent of platform or programming model. A contract among the different participants. Basic element: interactions.

  12. TRANSFORMING WS-CDL WITH PRIORITIES AND TIME CONSTRAINTS INTO PRIORITIZED-TIME PETRI NETS MOTIVATION AND GOALS MOTIVATION AND GOALS TIME + PRIORITIES

  13. TRANSFORMING WS-CDL WITH PRIORITIES AND TIME CONSTRAINTS INTO PRIORITIZED-TIME PETRI NETS MOTIVATION AND GOALS MOTIVATION AND GOALS <?xml version="1.0" encoding=’MF-P’?> <package xmlns="http://www.w3.org/2004/12/ws-chor/cdl" ::::::::::::::::::::::: <choreography name="SeatReservation" root="true"> ::::::::::::::::::::::: <sequence> <choice> <interaction name="requesttriptraveler" ::::::::::::::::::::::: operation="RequestingTrip"> <participate fromRole="tns:Traveler" toRole="tns:ARSforTraveler"/> <exchange name="request" ......... </exchange> <exchange name="response" ......... </exchange> </interaction> <interaction name="requesttripTA" ::::::::::::::: operation="RequestingTripTA"> <participate fromRole="tns:TravelAgent" toRole="tns:ARSforTravelAgent"/> <exchange name="request" ......... </exchange> <exchange name="response" ......... </exchange> </interaction> </choice> <choice> <sequence> t ,1,[4,10] t ,3,[2,5] <interaction name="reservationtriptraveler" 1 2 ::::::::: operation="ReservatingTrip"> <participate fromRole="tns:Traveler" toRole="tns:ARSforTraveler"/> <exchange name="request" ......... </exchange> <exchange name="response" ......... </exchange> <priority value="4" /> </interaction> <interaction name="bookseattraveler" :::::::::::::::: operation="Bookingseat"> <participate fromRole="tns:Traveler" toRole="tns:ARSforTraveler"/> <exchange name="request" ......... </exchange> <exchange name="response" ......... </exchange> <priority value="4" /> <timeout time-to-complete =" 48" /> </interaction> </sequence> <sequence> <interaction name="reservationtripTA" ::::::::::::::::::::::: operation="ReservatingTripTA"> <participate fromRole="tns:TravelAgent" toRole="tns:ARSforTravelAgent"/> <exchange name="request" ......... </exchange> t ,1,[4,10] t ,3,[2,5] <exchange name="response" ......... </exchange> 4 <priority value="2" /> 3 </interaction> <interaction name="bookseatTA" ::::::::::::: operation="BookingseatTA"> <participate fromRole="tns:TravelAgent" toRole="tns:ARSforTravelAgent"/> <exchange name="request" :::::::::::::::: </exchange> <exchange name="response" :::::::::::::::: </exchange> <priority value="2" /> <timeout time-to-complete =" 48" /> </interaction> </sequence> </choice> </sequence> </choreography> </package> PRIORITIZED−TIME PETRI NET WS-CDL DOCUMENT

  14. TRANSFORMING WS-CDL WITH PRIORITIES AND TIME CONSTRAINTS INTO PRIORITIZED-TIME PETRI NETS MOTIVATION AND GOALS MOTIVATION AND GOALS The PTPN representation provides a graphical view of the global behaviour. A tool can be used to simulate and analyse the system.

  15. TRANSFORMING WS-CDL WITH PRIORITIES AND TIME CONSTRAINTS INTO PRIORITIZED-TIME PETRI NETS WS-CDL WS-CDL Elements Participants, Role Types and Relationship Types. Information Types, Variables and Tokens. Channels. Choreographies. Activities and Ordering Structures. Workunits.

  16. TRANSFORMING WS-CDL WITH PRIORITIES AND TIME CONSTRAINTS INTO PRIORITIZED-TIME PETRI NETS WS-CDL CHOREOGRAPHIES They establish the common rules that govern the ordering of exchanged messages and the collaborative behaviour.

  17. TRANSFORMING WS-CDL WITH PRIORITIES AND TIME CONSTRAINTS INTO PRIORITIZED-TIME PETRI NETS WS-CDL CHOREOGRAPHIES Parts of a choreography: LIFE − LINE (PROGRESSION) EXCEPTION ABNORMAL BLOCK TERMINATION FINALIZER BLOCK CORRECT TERMINATION

  18. TRANSFORMING WS-CDL WITH PRIORITIES AND TIME CONSTRAINTS INTO PRIORITIZED-TIME PETRI NETS WS-CDL CHOREOGRAPHIES Activities: Work that the choreography must perform. BASIC ACTIVITIES ORDERING STRUCTURES SEQUENCE INTERACTION ACTIVITIES PARALLEL ASSIGN, SILENT AND NOACTION ACTIVITIES CHOICE

  19. TRANSFORMING WS-CDL WITH PRIORITIES AND TIME CONSTRAINTS INTO PRIORITIZED-TIME PETRI NETS TIME AND PRIORITIES IN WS-CDL TIME AND PRIORITIES IN WS-CDL Some parties may establish time restrictions for some interactions. Some parties may desire to favor some interactions by means of priorities.

  20. TRANSFORMING WS-CDL WITH PRIORITIES AND TIME CONSTRAINTS INTO PRIORITIZED-TIME PETRI NETS TIME AND PRIORITIES IN WS-CDL TIME AND PRIORITIES IN WS-CDL Interaction activities may have a time-out associated. Date and Time variables can be used in the guards of workunits to delay the execution. Priorities can be introduced in interactions.

  21. TRANSFORMING WS-CDL WITH PRIORITIES AND TIME CONSTRAINTS INTO PRIORITIZED-TIME PETRI NETS PRIORITIZED-TIME PETRI NETS (PTPNs) PRIORITIZED-TIME PETRI NETS Definition (PTPN) A PTPN is a tuple N = ( P , T , F , α , β , π ) . P Finite set of places T Finite set of transitions ( T = T 1 ∪ T 2 ) F Flow relation ( F ⊆ ( P × T ) ∪ ( T × P )) α : T → N Earliest Static Firing Time β : T → N ∪ { ∞ } Latest Static Firing Time π : T → N Priority function

  22. TRANSFORMING WS-CDL WITH PRIORITIES AND TIME CONSTRAINTS INTO PRIORITIZED-TIME PETRI NETS PRIORITIZED-TIME PETRI NETS (PTPNs) PRIORITIZED-TIME PETRI NETS Firing rule: When a transition becomes enabled a local clock is set. The transition can be fired when its clock has a value in its associated time interval. No time can elapse when a clock of a transition in T 2 reaches its latest firing time.

Recommend


More recommend