원시데이터 수집 시스템
선정목록으로

Merging Multiparty Protocols in Multiparty Choreographies

관련 필름·전자재료 · (16) CPI(투명 폴리이미드)

기본 정보

저자
  1. Carbone, Marco — IT University of Copenhagen
  2. Montesi, Fabrizio — IT University of Copenhagen
DOI
10.48550/arxiv.1302.6331
저널
arXiv (Cornell University)
발행년도
2022
발행기관
Cornell University
피인용수
0
라이선스
0
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.48550/arxiv.1302.6331
토픽
Textile materials and evaluations
OpenAlex ID
W6929397930

평가 내용

관련도
관련
사업분야
필름·전자재료 · (16) CPI(투명 폴리이미드)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > CPI(투명 폴리이미드)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Choreography-based programming is a powerful paradigm for defining communication-based systems from a global viewpoint. A choreography can be checked against multiparty protocol specifications, given as behavioural types, that may be instantiated indefinitely at runtime. Each protocol instance is started with a synchronisation among the involved peers. We analyse a simple transformation from a choreography with a possibly unbounded number of protocol instantiations to a choreography instantiating a single protocol, which is the merge of the original ones. This gives an effective methodology for obtaining new protocols by composing existing ones. Moreover, by removing all synchronisations required for starting protocol instances, our transformation reduces the number of communications and resources needed to execute a choreography.

본문 24,316자

본문 펼치기
# Merging Multiparty Protocols in Multiparty Choreographies Marco Carbone <sup>∗</sup> IT University of Copenhagen Copenhagen, Denmark carbonem@itu.dk Fabrizio Montesi IT University of Copenhagen Copenhagen, Denmark fmontesi@itu.dk Choreography-based programming is a powerful paradigm for defining communication-based systems from a global viewpoint. A choreography can be checked against multiparty protocol specifications, given as behavioural types, that may be instantiated indefinitely at runtime. Each protocol instance is started with a synchronisation among the involved peers. We analyse a simple transformation from a choreography with a possibly unbounded number of protocol instantiations to a choreography instantiating a single protocol, which is the merge of the original ones. This gives an effective methodology for obtaining new protocols by composing existing ones. Moreover, by removing all synchronisations required for starting protocol instances, our transformation reduces the number of communications and resources needed to execute a choreography. ## 1 Introduction Communication-based programming is a widespread design paradigm where the entities of a system communicate exclusively by means of message passing. Communication-based systems are employed in many areas, from multi-core programming [4] to service-oriented and cloud computing [14, 5, 1, 10]. In such systems, entities engage in communication flows where their input and output operations must follow a specific order. The structure of each flow is defined by a protocol. Choreography-based programming is an emerging methodology for defining communication-based systems in terms of _global_ _descriptions_ . A global description gives a global view of how messages are exchanged during execution, in contrast with the methodologies where the code for each entity is defined separately. Global descriptions have been studied as models [8, 7, 13, 11], as standards [18, 2], and as language implementations [12, 16, 15]. In [9] we propose a language where both the abstract and the concrete descriptions of a system are given in global terms. Programmers can use _choreographies_ for defining the concrete behaviour of a system and then check them against _protocols_, given as _global_ _types_ [11]. The language allows for instantiating different protocols multiple times, checking that each instantiation respects the corresponding protocol type. In the sequel, we introduce a small example for explaining the basic mechanisms of a choreography and how it integrates with a protocol specification. Our example implements two protocols, called _Ga_ and _Gb_ . In _Ga_, a user U sends a message to a client application C together with some authentication credentials (encoded as a string). This is expressed by the global type: _Ga_ = U -> C : string where U and C are called the _roles_ of the protocol. The above behavioural type simply expresses that for executing protocol _Ga_, whoever plays role U needs to send a message of type string to a party playing ∗Research supported by the Danish Agency for Science, Technology and Innovation. S. J. Gay and P. H. Kelly (Eds.): Programming Language Approaches to Concurrency- and Communication-cEntric Software (PLACES 2012) [EPTCS 109, 2013, pp. 21–27, doi:10.4204/EPTCS.109.4](http://dx.doi.org/10.4204/EPTCS.109.4) © M. Carbone & F. Montesi 22 Merging Multiparty Protocols in Multiparty Choreographies role C. Protocol _Gb_ is a little bit more complex: _Gb_ = C -> F : string ; F -> C : { _ok_ : C -> F : file, _quit_ : end} Here, the roles interacting are a client C and a file server F. In _Gb_, the client sends a string to the file server F (some authentication credentials) which can reply with either label _ok_ or label _quit_ . In the first case, the client will send a file to be stored to the file server, whereas in the other case the protocol will just terminate. Although the global types above give a good abstraction of the protocols that a programmer wishes to use, they give no information on how they can be combined in an implementation. A possible implementation can be given with the choreography _C_ defined below: _C_ = 1. rec _X_ in c[C], u[U] start _a_ ( _k_ ); 2. u[U].password() -> c[C]. _pwd_ : _k_ ; 3. c[C], f[F] start _b_ ( _k_ <sup>′</sup> ); 4. c[C]. _pwd_ -> f[F]. _y_ : _k_ <sup>′</sup> ; 5. if check( _y_ )@f then f[F] -> c[C] : _k_ <sup>′</sup> [ _ok_ ]; 6. c[C]. _file_ -> f[F]. _z_ : _k_ <sup>′</sup> 7. else f[F] -> c[C] : _k_ <sup>′</sup> [ _quit_ ]; _X_ (1) We briefly describe the choreography above. In Line 1, the operation c[C], u[U] start _a_ ( _k_ ) starts protocol _Ga_ where c and u denote two executing threads willing to implement protocol _Ga_ playing roles C and U respectively. The two symbols _a_ and _k_ denote the name of the protocol _Ga_ and a session identifier _k_ (which functions as a binder). In Line 2, we can see a communication over session _k_ where the user u, playing role U, sends the return value of some internal function password() to c. In Line 3, thread c and another thread f start protocol _Gb_, similarly to the start of protocol _Ga_ . Line 4 contains a new interaction where c forwards the password _pwd_ to f. In Line 5 we have an if-then-else implementing the abstract branching given in the protocol description of _Gb_ . Note that in the then-branch f communicates the choice of _ok_ to c, whereas it uses label _quit_ in the else-branch. The choreography in (1) interleaves the two protocols _Ga_ and _Gb_ in a particular order decided by the programmer. The local behaviour of each thread (implementation) can be then automatically generated by means of _EndPoint_ _Projection_ [9, 8]. We observe that (1), since it executes two protocols, has two operations for protocol initiation (Lines 1 and 3) in the body of a recursion. At the endpoint level starts are implemented through synchronisations between peers [6, 11], which may be computationally expensive in a distributed system. Now, we ask: _Can_ _we_ _remove_ _the_ _synchronisation_ _points_ _introduced_ _by_ _start_ _operations_ _in_ _a_ _choreogra-_ _phy?_ _And, what are the consequences?_ In this paper, we analyse a straightforward transformation on choreographies that cancels out start operations. E.g., the choreography _C_ in (1) could be transformed into: 1. c[C], u[U], f[F] start _c_ ( _k_ ); 2. rec _X_ in u[U].password() -> c[C]. _pwd_ : _k_ ; 4. c[C]. _pwd_ -> f[F]. _y_ : _k_ ; 5. if check( _y_ )@f then f[F] -> c[C] : _k_ [ _ok_ ]; 6. c[C]. _file_ -> f[F]. _z_ : _k_ 7. else f[F] -> c[C] : _k_ [ _quit_ ]; _X_ (2) Although (2) has a single start operation, we observe that it is semantically related to (1), since all data communications performed in (1) are also performed in (2) and viceversa. Moreover, since the single M. Carbone & F. Montesi 23 synchronisation point in (2) is no longer under recursion, we conjecture that this aspect may greatly improve the execution of choreographies in asynchronous settings. We also observe that (2) does no longer implement the two binary protocols _Ga_ and _Gb_, but it subsumes a new three-party protocol _Gc_ obtained by composing the former two: _Gc_ = rec t in U -> C : string ; C -> F : string ; F -> C : { _ok_ : C -> F : file, _quit_ : t } Note that because of the recursive behaviour appearing in _C_ (but not in _Ga_ and _Gb_ ), we need to include some recursive behaviour in the new type (hence the recursion rec t ). Observe also that _Gc_ is a _multiparty_ protocol, i.e. it considers more than two participants. Because of this, we believe that such a transformation could be used for creating new protocols. In fact, it may happen that such a choreography represents a pattern that the programmer may want to reuse in other programs. Unfortunately, there is no way to reuse such a pattern in a safe way other than copying and editing the code. By using the transformation hinted above, we could abstract the behaviour of a choreography and make it reusable in other programs. In the remainder of the paper, we try to lay the foundations of this idea by giving a formalisation of the concept into a simplified version of the global calculus with multiparty protocols [9]. ## 2 Formalisation and Results Calculus, Semantics and Types. We formalise our choreographies with a simplification of the Global Calculus (GC) [9]. Fig. 1 reports the syntax of GC. In the Figure, τ is a thread (running process); p, q,... _C_ ::= η ; _C_ _(seq)_ | if _e_ @ τ then _C_ 1 else _C_ 2 _(cond)_ | rec _X_ in _C_ _(rec)_ | _X_ _(call)_ | ( ν _k_ ) _C_ _(res)_ | 0 _(inact)_ η ::= τ 1[p1],..., τ _n_ [p _n_ ] start _a_ ( _k_ ) _(start)_ | τ 1[p]. _e_ -> τ 2[q]. _x_ : _k_ _(com)_ | τ 1[p] -> τ 2[q] : _k_ [ _l_ ] _(sel)_ Figure 1: Global Calculus, syntax. are roles; _a_ is a public channel; _k_ is a session channel; _x_ is a placeholder for values; and _l_ is a _label_ for branching. _e_ denotes a first-order expression on values (integers, strings, . . . ), whose syntax we leave unspecified. We read _(seq)_ as: do η and then proceed as _C_ . η represents an interaction between some threads. Term _(start)_ denotes the initiation of a multiparty session (protocol): threads τ _i_ wish to start the multiparty session _a_ and tag it with a fresh session channel (identifier) _k_, which is bound in the choreography continuation. The threads τ _i_ are ordinary threads running in parallel. The p _i_ ’s denote the roles played by the threads in the session. In-session communication is denoted by the term _(com)_ where thread τ 1 sends the evaluation of expression _e_ to thread τ 2 which binds it to variable _x_ in the choreography continuation. In term _(sel)_, τ 1 communicates to τ 2 her wish to select branch _l_ . In term _(cond)_, thread τ makes an internal choice between branches _C_ 1 and _C_ 2 by evaluating _e_ . _(rec)_ and _(call)_ model standard recursion. _(res)_, used only at runtime, allows to bind session channel _k_ in _C_ . We use ( ν _k_ 1,..., _kn_ ) as an abbreviation for ( ν _k_ 1) ... ( ν _kn_ ) . 0 is the empty choreography. 24 Merging Multiparty Protocols in Multiparty Choreographies ⌊ <sup>C</sup> |START⌉ τ 1[p1],..., τ _n_ [p _n_ ] start _a_ ( _k_ ); _C_ → ( ν _k_ ) _C_ ⌊ <sup>C</sup> |COM⌉ τ 1[p]. _e_ -> τ 2[q]. _x_ : _k_ ; _C_ → _C_ [ _v_ / _x_ ] ( _e_ ↓ _v_ ) ⌊ <sup>C</sup> |SEL⌉ τ 1[p] -> τ 2[q] : _k_ [ _l_ ]; _C_ → _C_ ⌊ <sup>C</sup> |IF⌉ if _e_ @ τ then _C_ 1 else _C_ 2 → _Ci_ ( _i_ = 1 if _e_ ↓ true, _i_ = 2 otherwise) ⌊ <sup>C</sup> |CTX⌉ _C_ → _C_ <sup>′</sup> ⇒ rec _X_ in _C_ → rec _X_ in _C_ <sup>′</sup> ⌊ <sup>C</sup> |RES⌉ _C_ → _C_ <sup>′</sup> ⇒ ( ν _k_ ) _C_ → ( ν _k_ ) _C_ <sup>′</sup> ⌊ <sup>C</sup> |STRUCT⌉ _C_ 1 ≡ _C_ 1 <sup>′</sup> 1 <sup>′</sup> <sup>→</sup> <sup>_C_</sup> 2 <sup>′</sup> _C_ 2 <sup>′</sup> 1 <sup>′</sup> _C_ 1 <sup>′</sup> 2 <sup>′</sup> <sup>≡</sup> <sup>_C_</sup> <sup>2</sup> ⇒ _C_ 1 → _C_ 2 Figure 2: Global Calculus, semantics. The semantics of the global calculus is a reduction relation → which just reduces the size of a choreography wrt prefixing. Formally, → is the smallest relation satisfying the rules reported in Fig. 2. In ⌊ <sup>C</sup> |STRUCT⌉, structural congruence ≡ is standard: it handles alpha-renaming and expansion of recursive calls. Given that there are some fresh names created, the semantics may introduce restriction operators (Rule ⌊ <sup>C</sup> |START⌉). For instance, the term _C_ = c[C], u[U] start _a_ ( _k_ ); u[U].password() -> c[C]. _pwd_ : _k_ ; _C_ <sup>′</sup> would have the following reduction chain: _C_ → ( ν _k_ ) u[U].password() -> c[C]. _pwd_ : _k_ ; _C_ <sup>′</sup> → ( ν _k_ ) _C_ <sup>′</sup> [password()/ _pwd_ ] In [9], we develop a type theory for our choreography model exploiting global types for representing protocols (as we did in the Introduction). A type system checks that the protocol instances in a choreography follow the given global types. As an example, we can see that protocols _Ga_ and _Gb_ are correctly used by the choreography _C_ given in the Introduction. Fig. 3 reports the syntax for global types. _G_ ::= p -> q : _S_ ; _G_ _(com)_ | p -> q : { _li_ : _Gi_ } _i_ ∈ _I_ _(choice)_ | end _(inact)_ | rec t in _G_ _(rec)_ | t _(call)_ _S_ ::= bool | int | string | file | ... _(sort)_ Figure 3: Global Types, syntax. Choreography Transformation. We can now present our transformation for choreographies. Formally, we define a function {[ _C_ ]} <sup>_k_</sup> that transforms a choreography _C_ into another choreography which implements the same behaviour of _C_ using a single session _k_ . {[ _C_ ]} <sup>_k_</sup> is inductively defined by the following rules. Below we assume, without any loss of generality, that all session channels started in _C_ are different, i.e. there are no two subterms of the form τ 1[p1],..., τ _n_ [p _n_ ] start _a_ ( _k_ ) in _C_ with the same _k_ . {[ τ 1[p1],..., τ _n_ [p _n_ ] start _a_ ( _k_ <sup>′</sup> ); _C_ <sup>′</sup> ]} <sup>_k_</sup> = {[ _C_ <sup>′</sup> ]} <sup>_k_</sup> {[ τ 1[p]. _e_ -> τ 2[q]. _x_ : _k_ <sup>′</sup> ; _C_ ]} <sup>_k_</sup> = τ 1[ τ 1]. _e_ -> τ 2[ τ 2]. _x_ : _k_ ; {[ _C_ ]} <sup>_k_</sup> {[ τ 1[p] -> τ 2[q] : _k_ <sup>′</sup> [ _l_ ]; _C_ ]} <sup>_k_</sup> = τ 1[ τ 1] -> τ 2[ τ 2] : _k_ [ _l_ ]; {[ _C_ ]} <sup>_k_</sup> {[ if _e_ @ τ then _C_ 1 else _C_ 2 ]} <sup>_k_</sup> = if _e_ @ τ then {[ _C_ 1 ]} <sup>_k_</sup> else{[ _C_ 2 ]} <sup>_k_</sup> {[ rec _X_ in _C_ ]} <sup>_k_</sup> = rec _X_ in {[ _C_ ]} <sup>_k_</sup> M. Carbone & F. Montesi 25 We briefly comment the rules above. _(start)_ terms are simply removed. In interactions the role of each thread is annotated with the thread name, in order to maintain the distinction between roles with the same name played by different threads. All other terms are preserved. We can give an example of the transformation by applying it to the choreography _C_ using protocols _Ga_ and _Gb_ in the Introduction. We obtain: {[ _C_ ]} <sup>_k_</sup> = 1. rec _X_ in u[u].password() -> c[c]. _pwd_ : _k_ ; c[c]. _pwd_ -> f[f]. _y_ : _k_ ; 2. if check( _y_ )@f then f[f] -> c[c] : _k_ [ _ok_ ]; c[c]. _file_ -> f[f]. _z_ : _k_ 3. else f[f] -> c[c] : _k_ [ _quit_ ]; _X_ Observe that the result is the same to the transformation example we have shown in the Introduction, up to renaming of roles and the first start operation for starting _k_ . We omit how to automatically generate the latter, since it can be done through a very simple traversal of the structure of {[ _C_ ]} <sup>_k_</sup>, tracking the roles of each thread in the interactions. Results. Hereby, we present some of the properties enjoyed by our simple transformation. Our first result is about the correctness of the behaviour of the transformation result. Specifically, the transformation does not introduce any additional behaviour (soundness) and it preserves the original behaviour up to removal of start terms and renaming of roles (completeness). Theorem 2.1 (Correctness) . _Let C be a choreography and k a session channel name._ _Then,_ _•_ (Soundness) {[ _C_ ]} <sup>_k_</sup> −→ _C_ <sup>′</sup> _for_ _some C_ <sup>′</sup> _implies_ _that_ _there_ _exists_ _C_ <sup>′′</sup> _such_ _that_ _C_ −→ _C_ <sup>′′</sup> _and C_ <sup>′</sup> = {[ _C_ <sup>′′</sup> ]} <sup>_k_</sup> _•_ (Completeness) _C_ −→ _C_ <sup>′</sup> _for some C_ <sup>′</sup> _implies that there exists C_ <sup>′′</sup> _such that C_ <sup>′</sup> −→ <sup>∗</sup> _C_ <sup>′′</sup> _and_ {[ _C_ ]} <sup>_k_</sup> −→ {[ _C_ <sup>′′</sup> ]} <sup>_k_</sup> The result above can also be stated in a stronger form in terms of bisimilarity, using the labelled semantics reported in [9]. We chose this form for the sake of brevity. Our second result is about typing: there is a relationship between the typing of a choreography and its transformation. Intuitively, {[ _C_ ]} <sup>_k_</sup> can be typed using a composition of the types of _C_ . The following definition formalises this composition. We remind the reader that a global type can always be regarded to as a standard regular tree representation [17]. In the sequel, the function paths( _G_ ) denotes the set of paths in the regular tree representation of a global type _G_ . Moreover, the function interleave applied to a set of paths returns the set of all their possible interleaves. <sup>∗</sup> is the standard Kleene star, denoting closure of paths under repetition. Definition 2.1 (Mesh Global Types) . _Given a set of global types_ { _G_ 1,..., _Gn_ } _, we define_ mesh({ _G_ 1,..., _Gn_ }) _,_ _called the_ mesh _of G_ 1,..., _Gn, as the closure under_ α _-renaming of the set_ <sup>∗</sup> 1 <sup>,...,</sup> <sup>_p_</sup> _m_ <sup>∗</sup> <sup>)</sup> <sup>_for some_</sup> <sup>_p_</sup> <sup>_j_</sup> <sup>∈</sup> <sup>�</sup> { _G_ | _p_ ∈ paths( _G_ ) _only if_ _p_ ∈ interleave( _p_ <sup>∗</sup> 1 1≤ _i_ ≤ _n_ <sup>paths(</sup> <sup>_Gi_</sup> <sup>) }</sup> The mesh of a set of global types is the set of all the global types whose paths are the interleaving of some repetitions of the paths of the original types. We can now state our second main result: the transformation of a well-typed choreography is still well-typed and its type is in the mesh of the original types. Below, _a_ 1 : _G_ 1, ..., _an_ : _Gn_ ⊢ _C_ ⊲ _kn_ +1 : _Gn_ +1, ..., _k_ : _Gm_ refers to the type system found in [9]. Intuitively, _C_ is well-typed if it follows the protocols described by _Gi_ in each session to be started through _ai_ and each running session _ki_ . 26 Merging Multiparty Protocols in Multiparty Choreographies Theorem 2.2 (Transformation Typing) . _Let C be a choreography such that_ _a_ 1 : _G_ 1, ..., _an_ : _Gn_ ⊢ _C_ ⊲ _kn_ +1 : _Gn_ +1, ..., _k_ : _Gm_ _Then, for every session channel name k there exists G_ ∈ mesh({ _G_ 1, ..., _Gm_ }) _such that_ /0 ⊢ {[ _C_ ]} <sup>_k_</sup> ⊲ _k_ : _G_ Considering again our example, we can type its transformation {[ _C_ ]} <sup>_k_</sup> with the following global type _G_ . _G_ = rec t in u -> c : string ; c -> f : string ; f -> c : { _ok_ : c -> f : file, _quit_ : t } Observe that type _G_ is a nontrivial composition of the types _Ga_ and _Gb_ that we have shown in our introduction. Indeed we can observe that c is a single role even though thread c plays two protocols in the original choreography. ## 3 Conclusions and Further Developments We have shown how a choreography implementing different sessions of different types can be transformed into a choreography with a single session implementing a single global type. Furthermore, the type of the latter is a composition of the original types. Our transformation is useful for eliciting the abstract behaviour of a system that implements many protocols (given as types). A programmer may design a choreography and then check if the global abstract behaviour of its implementation is the expected one. Even more importantly, a software architect could exploit our transformation in order to design new standard protocols by extracting them from a choreography. Interestingly, our transformation could also be used for extracting global types out of binary session types once a global implementation is given [8]. Another potential benefit of our transformation lies in resource control. Our transformation removes protocol starts but preserves behaviour. This has two implications. First, all the synchronisations required for starting a protocol instance at the endpoint level are no longer required. This may help in improving the performance of a system. Second, in practice it is usually the case that threads (or processes) can be dynamically spawned at runtime whenever a new session is created. We believe that our transformation can be extended to transform a choreography with an unbounded number of threads and sessions (due to recursion) to a choreography with a finite number of these resources. This would help in managing the resource consumption of complex distributed systems, leading to applications, e.g., in the fields of embedded systems and optimisation. For example, one could design an ad-hoc system optimised for a choreography with a predetermined number of threads. The formalisation presented in this paper is only an initial step towards a more complete theory. Specifically, we did not deal with some useful features such as channel passing and thread spawning. We plan to investigate these features in future work. We also plan to give a concrete implementation of our transformation for the Chor language [9, 3], and use it to benchmark our theory through practical scenarios. ## References [1] _Advanced Message Queueing Protocol (AMQP)_ . [http://www.amqp.org/.](http://www.amqp.org/) M. Carbone & F. Montesi 27 [2] _Business Process Model and Notation_ . [http://www.omg.org/spec/BPMN/2.0/.](http://www.omg.org/spec/BPMN/2.0/) [3] _Chor. Choreography programming language._ [http://www.chor-lang.org/.](http://www.chor-lang.org/) [4] _Message Passing Interface (MPI)_ . [http://www.mpi-forum.org/.](http://www.mpi-forum.org/) [5] _WS-BPEL OASIS Web Services Business Process Execution Language_ . [http://docs.oasis-open.org/](http://docs.oasis-open.org/wsbpel/2.0/wsbpel-specification-draft.html) [wsbpel/2.0/wsbpel-specification-draft.html.](http://docs.oasis-open.org/wsbpel/2.0/wsbpel-specification-draft.html) [6] Lorenzo Bettini, Mario Coppo, Loris D’Antoni, Marco De Luca, Mariangiola Dezani-Ciancaglini & Nobuko Yoshida (2008): _Global_ _Progress_ _in_ _Dynamically_ _Interleaved_ _Multiparty_ _Sessions_ . In: CONCUR, LNCS [5201, Springer, pp. 418–433, doi:10.1007/978-3-540-85361-9_33.](http://dx.doi.org/10.1007/978-3-540-85361-9_33) [7] N. Busi, R. Gorrieri, C. Guidi, R. Lucchi & G. Zavattaro (2006): _Choreography and orchestration confor-_ _mance_ _for_ _system_ _design_ . In: Proc.ofCoordination’06, LNCS 4038, Springer-Verlag, pp. 63–81, [doi:10.](http://dx.doi.org/10.1007/11767954_5) [1007/11767954_5.](http://dx.doi.org/10.1007/11767954_5) [8] Marco Carbone, Kohei Honda & Nobuko Yoshida (2012): _Structured_ _Communication-Centered Program-_ _ming for Web Services_ . [ACM Trans. Program. Lang. Syst. 34(2), p. 8, doi:10.1145/2220365.2220367.](http://dx.doi.org/10.1145/2220365.2220367) [9] Marco Carbone & Fabrizio Montesi (2011): _Typed Multiparty Global Programming_ . Technical Report TR 2011-149, IT University of Copenhagen. [Available at http://www.itu.dk/people/fabr/multichor.](http://www.itu.dk/people/fabr/multichor) [10] Claudio Guidi, Paolo Anedda & Tullio Vardanega (2012): _Towards a New Paas Architecture Generation_ . In: CLOSER, pp. 279–282. [11] K. Honda, N. Yoshida & M. Carbone (2008): _Multiparty Asynchronous Session Types_ . In: POPL’08, 43(1), [ACM Press, New York, NY, USA, pp. 273–284, doi:10.1145/1328438.1328472.](http://dx.doi.org/10.1145/1328438.1328472) [12] Kohei Honda, Aybek Mukhamedov, Gary Brown, Tzu-Chun Chen & Nobuko Yoshida (2011): _Scribbling_ _Interactions_ _with_ _a_ _Formal_ _Foundation_ . In: ICDCIT, LNCS 6536, Springer, pp. 55–75, [doi:10.1007/](http://dx.doi.org/10.1007/978-3-642-19056-8_4) [978-3-642-19056-8_4.](http://dx.doi.org/10.1007/978-3-642-19056-8_4) [13] I. Lanese, C. Guidi, F. Montesi & G. Zavattaro (2008): _Bridging the Gap between Interaction- and Process-_ _Oriented Choreographies_ . In Antonio Cerone & Stefan Gruner, editors: Proc. of SEFM’08, IEEE, pp. 323– [332, doi:10.1109/SEFM.2008.11.](http://dx.doi.org/10.1109/SEFM.2008.11) [14] F. Montesi, C. Guidi & G. Zavattaro (2007): _Composing Services with_ _JOLIE_ . In: Proc. of ECOWS 2007, [pp. 13–22, doi:10.1109/ECOWS.2007.19.](http://dx.doi.org/10.1109/ECOWS.2007.19) [15] Nicholas Ng, Nobuko Yoshida & Kohei Honda (2012): _Multiparty_ _Session_ _C:_ _Safe_ _Parallel_ _Programming_ _with Message Optimisation_ . In: [TOOLS (50), pp. 202–218, doi:10.1007/978-3-642-30561-0_15.](http://dx.doi.org/10.1007/978-3-642-30561-0_15) [16] PI4SOA (2008): _http://www.pi4soa.org_ . [17] Benjamin C. Pierce (2002): _Types and Programming Languages_ . MIT Press, MA, USA. [18] W3C WS-CDL Working Group (2004): _Web_ _Services_ _Choreography_ _Description_ _Language_ _Version_ _1.0_ . http://www.w3.org/TR/2004/WD-ws-cdl-10-20040427/.

섹션 본문

섹션 본문이 없습니다.

참고문헌

참고문헌 정보가 없습니다.