Skip to Main content Skip to Navigation
Conference papers

Developing Honest Java Programs with Diogenes

Abstract : Modern distributed applications are typically obtained by integrating new code with legacy (and possibly untrusted) third-party services. Some recent works have proposed to discipline the interaction among these services through behavioural contracts. The idea is a dynamic discovery and composition of services, where only those with compliant contracts can interact, and their execution is monitored to detect and sanction contract breaches. In this setting, a service is said honest if it always respects the contracts it advertises. Being honest is crucial, because it guarantees a service not to be sanctioned; further, compositions of honest services are deadlock-free. However, developing honest programs is not an easy task, because contracts must be respected even in the presence of failures (whether accidental or malicious) of the context. In this paper we present Diogenes, a suite of tools which supports programmers in writing honest Java programs. Through an Eclipse plugin, programmers can write a specification of the service, verify its honesty, and translate it into a skeletal Java program. Then, they can refine this skeleton into proper Java code, and use the tool to verify that its honesty has not been compromised by the refinement.
Complete list of metadata

Cited literature [18 references]  Display  Hide  Download

https://hal.inria.fr/hal-01432927
Contributor : Hal Ifip <>
Submitted on : Thursday, January 12, 2017 - 11:34:46 AM
Last modification on : Thursday, January 12, 2017 - 11:38:42 AM
Long-term archiving on: : Friday, April 14, 2017 - 4:06:10 PM

File

426757_1_En_4_Chapter.pdf
Files produced by the author(s)

Licence


Distributed under a Creative Commons Attribution 4.0 International License

Identifiers

Citation

Nicola Atzei, Massimo Bartoletti. Developing Honest Java Programs with Diogenes. 36th International Conference on Formal Techniques for Distributed Objects, Components, and Systems (FORTE), Jun 2016, Heraklion, Greece. pp.52-61, ⟨10.1007/978-3-319-39570-8_4⟩. ⟨hal-01432927⟩

Share

Metrics

Record views

141

Files downloads

241