Making Components Contract Aware

  • Authors:
  • Antoine Beugnard;Jean-Marc Jézéquel;Noël Plouzeau;Damien Watkins

  • Affiliations:
  • -;-;-;-

  • Venue:
  • Computer
  • Year:
  • 1999

Quantified Score

Hi-index 4.12

Visualization

Abstract

Components have long promised to encapsulate data and programs into a box that operates predictably without requiring that users know the specifics of how it does so. Many advocates have predicted that components will bring about widespread software reuse, spawning a market for components usable with such mainstream software buses as the Common Object Request Broker Architecture (CORBA) and the Distributed Component Object Model (DCOM). In the Windows world, at least, this prediction is becoming a reality. Yet recent reports indicate mixed results when using and reusing components in mission-critical settings. Such results raise disturbing questions. How can you trust a component? What if the component behaves unexpectedly, either because it is faulty or simply because you misused it? Before we can trust a component in mission-critical applications, we must be able to determine, reliably and in advance, how it will behave. In this article the authors define a general model of software contracts and show how existing mechanisms could be used to turn traditional components into contract-aware ones.