Abstract behavior types : a foundation model for components and their composition
The notion of Abstract Data Type (ADT) has served as a foundation model for structured and object oriented programming for some thirty years. The current trend in software engineering toward component based systems requires a foundation model as well. The most basic inherent property of an ADT, i.e., that it provides a set of operations, subverts some highly desirable properties in emerging formal models for components that are based on the object oriented paradigm. We introduce the notion of Abstract Behavior Type (ABT) as a higher-level alternative to ADT and propose it as a proper foundation model for both components and their composition. An ABT defines an abstract behavior as a relation among a set of timed-data-streams, without specifying any detail about the operations that may be used to implement such behavior or the data types it may manipulate for its realization. The ABT model supports a much looser coupling than is possible with the ADT's operational interface, and is inherently amenable to exogenous coordination. We propose that both of these are highly desirable, if not essential, properties for models of components and their composition. To demonstrate the utility of the ABT model, we describe Reo: an exogenous coordination language for compositional construction of component connectors based on a calculus of channels. We show the expressive power of Reo, and the applicability of ABT, through a number of examples.
|Distributed Systems (acm C.2.4), Concurrent Programming (acm D.1.3), Miscellaneous (acm D.1.m), Language Classifications (acm D.3.2), Language Constructs and Features (acm D.3.3), Modes of Computation (acm F.1.2), LOGICS AND MEANINGS OF PROGRAMS (acm F.3)|
|Software (theme 1)|
|Software Engineering [SEN]|
Arbab, F. (2003). Abstract behavior types : a foundation model for components and their composition. Software Engineering [SEN]. CWI.