Download PDF

5th International Symposium Software Composition (SC2006), Date: 2006/03/25 - 2006/03/26, Location: Vienna, Austria

Publication date: 2006-03-25
Volume: 4089 Pages: 34 - 49
ISBN: 3-540-37657-7, 9783540376576 ISSN: 0302-9743
Publisher: Springer

Lecture Notes in Computer Science

Author:

Desmet, Lieven
Piessens, Frank ; Joosen, Wouter ; Verbaeten, Pierre ; Löwe, Welf ; Südholt, Mario

Keywords:

Science & Technology, Technology, Computer Science, Software Engineering, Computer Science, Theory & Methods, Computer Science

Abstract:

To maintain loose coupling and facilitate dynamic composition, components in a pipe-and-filter architecture have a very limited syntactic interface and often communicate indirectly by means of a shared data repository. This severely limits the possibilities for compile time compatibility checking. Even static type checking is made largely irrelevant due to the very general types given in the interfaces. The combination of pipe-and-filter and a shared data repository is widely used, and in this paper we study this problem in the context of the Struts framework. We propose simple, but formally specified, behavioural contracts for components in such frameworks and show that automated formal verification of certain semantical compatibility properties is feasible. In particular, our verification guarantees that indirect data sharing through the shared data repository is performed consistently.