@incollection{eprints281, booktitle = {Formal Methods for Open Object-Based Distributed Systems (FMOODS 2008)}, editor = {Gilles Barthe and Frank S. de Boer}, publisher = {Springer}, author = {Michele Boreale and Roberto Bruni and Rocco De Nicola and Michele Loreti}, series = {Lecture Notes in Computer Science}, title = {Sessions and Pipelines for Structured Service Programming}, year = {2008}, volume = {5051}, pages = {19--38}, abstract = {Service-oriented computing is calling for novel computational models and languages with primitives for client-server interaction, orchestration and unexpected events handling. We present CaSPiS, a process calculus where the notions of session and pipelining play a central role. Sessions are two-sided and can be equipped with protocols executed by each side. Pipelining permits orchestrating the flow of data produced by different sessions. The calculus is also equipped with operators for handling (unexpected) termination of the partner?s side of a session. Several examples are presented to provide evidence for the flexibility of the chosen set of primitives. Our main result shows that in CaSPiS it is possible to program a ?graceful termination? of nested sessions, which guarantees that no session is forced to hang forever after the loss of its partner. }, url = {http://eprints.imtlucca.it/281/} }