Building trust in third-party components using component wrappers in the .NET frameworks

  • Authors:
  • Christine A. Mingins;Chee Y. Chan

  • Affiliations:
  • Monash University, Caulfield East 3145, VIC, Australia;Monash University, Caulfield East 3145, VIC, Australia

  • Venue:
  • CRPIT '02 Proceedings of the Fortieth International Conference on Tools Pacific: Objects for internet, mobile and embedded applications
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

Software purchasers are often provided with very sparse information about how to correctly deploy software components. We describe a novel contract-based approach to building trust in third party components. In contrast to the usual approach where contracts specifying the software semantics are constructed at the time of source code generation, we retrofit existing components with Contract wrappers. Sets of client requirements on the component are expressed in terms of software contracts using the Design by Contract™ method. The targeted component is then wrapped in this executable specification. Subsequent calls to the component are made via the wrapper. Any client misunderstanding about the component's functionality will be picked up as contract violations. Contract wrappers also serve as the basis for test suites for integrating components into applications, and as documentation for future updates.We demonstrate how such contract wrappers can be constructed and deployed using the cross-language metadata capabilities available in Microsoft's new .NET Framework.