A contract-oriented middleware

Massimo Bartoletti University of Cagliari (Italy) — BETTY COST Action

London, Apr 17th, 2015

Service brokering

“Designing the architecture for Web services” — Hugo Haas, W3C, 2003

Service brokering with untrusted participants

A contract-oriented middleware

A contract-oriented middleware

Timed Session Types in a nutshell

Contracts = Timed Session Types I

Timed extension of binary (synchronous) session types I I

I

Internal choices !a {t < 7} + !b {5 < t < 10} External choice ?a {t < 10} & ?b {7 < t < 10}

Decidable notions for: I I I I

progress (checkCompliance()) dual construction (dualOf()) runtime monitoring (send(), receive()) subtyping

M. Bartoletti, T. Cimoli, M. Murgia, A.S. Podda, L. Pompianu Compliance and subtyping in timed session types. FORTE 2015.

Example: Paypal User Protection Agreement

p = ?pay {tpay } . ?ok &  ?dispute {tpay < 180, td } . p 0 p 0 = ?ok {td < 20} & // escalate the dispute to a claim ?claim {td < 20 ∧ tpay > 7, tc } . ?rcpt {tc < 3, tc } . !refund {tc < 7} & ?abort

TOOL DEMO co2.unica.it

Case studies

I

COReserve: a generic reservation marketplace I I I I

I

clients + resource providers TSTs describe resource usage protocols violating contracts decrements reputation demo: coreserve.unica.it

A generic trouble ticketing service I I

TSTs describe tickets workflow (early development stage)

Performance statistics

Conclusions I

Idea: bottom-up service composition, in an adversarial setting I I I

I

Challenge 1: empirical validation of the paradigm I I I

I

functional + non-functional aspects in contracts other forms of punishment: sanctions find other challenging case studies

Challenge 2: verification of contract-oriented services: I I I I I

I

contract-agnostic middleware + TSTs can be extended with other contract models (e.g. multiparty) secure distributed implementation (early development stage)

goal: analyse your service in isolation “honesty by typing” not enough quantitative analysis wrt random service populations statistical model checking? from CO2 specifications to Java-CO2

try it!

co2.unica.it

Thanks!

A contract-oriented middleware - UniCa

Apr 17, 2015 - runtime monitoring (send(), receive()). ▻ subtyping. M. Bartoletti, T. Cimoli, M. Murgia, A.S. Podda, L. Pompianu. Compliance and subtyping in ...

362KB Sizes 1 Downloads 278 Views

Recommend Documents

A contract-oriented middleware - UniCa
A contract-oriented middleware. Massimo Bartoletti. University of Cagliari (Italy) — BETTY COST Action. London, Apr 17th, 2015 ...

Honesty by typing - UniCa
We introduce a type system for CO2 processes, which associates behavioural types. (based on Basic Parallel ... this result, we show that our type system has a decidable type inference (Theorem 8.6). We establish subject reduction, i.e. types ...... A

Honesty by typing - UniCa
This dichotomy is well witnessed by the service-oriented paradigm, which ...... Another research direction is the integration of contract-oriented primitives within.

A contract-oriented middleware
Rule [Fuse] searches the system for compliant pairs of latent ..... a data storage layer. ... a dedicated cloud server, equipped with a quad-core Intel Xeon CPU ...

Contracts as games on event structures - UniCa
May 4, 2015 - The following lemma establishes a confluence result, namely: given a set of fired events, the order in which we pick them to build the remainder ...

Oracle® Fusion Middleware -
Sep 1, 2008 - 1 Introduction to Building Fusion Web Applications with Oracle ADF. 1.1. Introduction to Oracle ...... How to Set Database and Java Data Types for an Entity Object Attribute .............. 4-29. 4.10.2 ...... How to Access an Applicatio

Oracle® Fusion Middleware -
Sep 1, 2008 - Fusion Developer's Guide for Oracle Application Development. Framework ...... Introduction to Developing a Web Application with ADF Faces.

A Survey on Service Composition Middleware in ...
context awareness, QoS management, security, spontaneous management, and ...... [35] UPnP Forum, "Understanding UPnP: A White Paper",. Technical Report ...

Oracle® Fusion Middleware -
Sep 1, 2008 - 1 Introduction to Building Fusion Web Applications with Oracle ADF. 1.1 ...... create, modify, and validate data using web, wireless, desktop, .... that handles displaying the component and also provides the JavaScript objects.

MySIM: A Spontaneous Service Integration Middleware ...
Jul 17, 2009 - managing pervasive applications. Middleware are enabling technologies for the development, execution and interaction of applications, standing between the operating systems and applications. The service-oriented architecture (SOA) mid-

A Middleware Service for Pervasive Social Networking
Social Networks, Pervasive Computing, Middleware. 1. INTRODUCTION. Pervasive Social Networking (PSN) [1] (also called Mo- bile Social Networking) is a ...

Oracle® Fusion Middleware -
Sep 1, 2008 - What Happens When You Add Attribute Control Hints ........................................... 4-21. 4.7. Working ...... 12-15. 12.4.3.2. Setting Digital Signatures.

Modelware for Middleware
CRC for Enterprise Distributed Systems (DSTC)∗. April 16, 2003. Abstract ... ering the design of an enterprise application creating a. Platform Independent ... concepts, allowing the annotation of the PIM to indicate which application artifacts ...

Notes on contract-oriented computing - Unica
Jan 9, 2014 - Systems of contracting participants are modelled using the CO2 calculus. ... ES can provide a basic semantic model for contractual clauses, by inter- ..... Consider a travel agency A which queries in parallel an airline ticket ...

Groups Identification and Individual Recommendations in ... - Unica
users by exploiting context-awareness in a domain. This is done by computing a set of previously expressed preferences, in order to recommend items that are ...

La Unica Esperanza - Alejandro Bullon.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... La Unica Espe ... ro Bullon.pdf. La Unica Esper ... dro Bullon.pdf.

A Middleware for Context-Aware Agents in Ubiquitous
computing is essentially a reactive approach to information access, and it ..... Context-sensitive object request broker (R-ORB) hides the intricacies of ad hoc ...

A Portable Client/Server Communication Middleware ...
using high performance SAN technologies to provide efficient ... provide efficient communication support for cluster- ..... The Linux kernel versions are 2.4.18 for.

A Client/Server Message Oriented Middleware for ...
Device software drivers installation and configuration are performed on the server .... PC computer host sees base communication board as a virtual serial port.

A Middleware-Independent Model and Language for Component ...
A component implements a component type τ, same as a class implements an interface. A component (τ, D, C) is characterized by its type τ, by the distribution D of Boolean type which indicates whether the implementation is distributed, and by its c

Custom execution environments in the BOINC middleware
where applications are confined to a closed environment, to prevent them from causing any harm to the hosting system. To provide the security that volunteers expect, .... supports the platform and operating system where it is executed. By using Libbo

Contracts as games on event structures - UniCa
May 4, 2015 - distrusting, we study concurrent games on event structures; there, participants may play by firing events in ..... In this section we present a game-based model for contracts, originally introduced in [12]. ...... is that if a client co

Developing honest Java programs with Diogenes - UniCa
sourceforge.net), a domain-specific language for writing type systems. 4 Conclusions. Diogenes fills a gap between foundational research on honesty [8,6,9] and more practical research on contract-oriented programming [5]. Its effectiveness can be imp