ACM Transactions on Programming Languages and Systems · 2009 · 203 citations · 23 references
ComputingComputer ScienceContract TheoryContractsFormal MethodsDeductive VerificationSoftware DesignSpecification LanguagesDecision Algorithm DevelopmentLogical DeductionReplacementService ContractsWeb Services
Contracts are behavioral descriptions of Web services, and the approach is grounded in simple ideas and basic intuitions despite its technical richness. The paper devises a theory of contracts that formalizes client–service compatibility and safe service replacement, demonstrates practical aspects through two concrete syntaxes applied to Web services, and explores filter implementation and future research directions. The theory relies on a filter—an explicit coercion that restricts service behaviors to achieve compatibility across usage scenarios—and a decidable relation whose algorithm is derived via cut‑elimination, proving subcontracting’s logical coherence. Contracts statically guarantee successful completion of all interactions between compatible clients and services; filters act as proofs of a sound, complete subcontracting deduction system extending Hennessy's must‑testing preorder, and the approach works largely independent of the programming language.
Contracts are behavioral descriptions of Web services. We devise a theory of contracts that formalizes the compatibility of a client with a service, and the safe replacement of a service with another service. The use of contracts statically ensures the successful completion of every possible interaction between compatible clients and services. The technical device that underlies the theory is the filter , which is an explicit coercion preventing some possible behaviors of services and, in doing so, make services compatible with different usage scenarios. We show that filters can be seen as proofs of a sound and complete subcontracting deduction system which simultaneously refines and extends Hennessy's classical axiomatization of the must testing preorder. The relation is decidable, and the decision algorithm is obtained via a cut-elimination process that proves the coherence of subcontracting as a logical system. Despite the richness of the technical development, the resulting approach is based on simple ideas and basic intuitions. Remarkably, its application is mostly independent of the language used to program the services or the clients. We outline the practical aspects of our theory by studying two different concrete syntaxes for contracts and applying each of them to Web services languages. We also explore implementation issues of filters and discuss the perspectives of future research this work opens.
23
Web Services Business Process Execution Language Version 2.0
Charlton Barreto, Vaughn Bullard, Thomas Erl et al. · 2007 · 2.8K citations
Testing equivalences for processes
Rocco De Nicola, Matthew Hennessy · Theoretical Computer Science · 1984 · 1.2K citations
A semantics of multiple inheritance
Luca Cardelli · Information and Computation · 1988 · 627 citations
Language Studies, World Languages, Knowledge Representation +7