
















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

















AbstractâSoftware architectures shift the focus of developers from lines-of-code to coarser-grained architectural elements and their overall interconnection structure. Architecture description languages (ADLs) have been proposed as modeling notations to support architecture-based development. There is, however, little consensus in the research community on what is an ADL, what aspects of an architecture should be modeled in an ADL, and which of several possible ADLs is best suited for a particular problem. Furthermore, the distinction is rarely made between ADLs on one hand and formal specification, module interconnection, simulation, and programming languages on the other. This paper attempts to provide an answer to these questions. It motivates and presents a definition and a classification framework for ADLs. The utility of the definition is demonstrated by using it to differentiate ADLs from other modeling notations. The framework is used to classify and compare several existing ADLs, enabling us, in the process, to identify key properties of ADLs. The comparison highlights areas where existing ADLs provide extensive support and those in which they are deficient, suggesting a research agenda for the future.
Index TermsâSoftware architecture, architecture description language, component, connector, configuration, definition, classification, comparison. Ă
OFTWARE architecture research is directed at reducing costs of developing applications and increasing the potential for commonality between different members of a closely related product family [54], [66]. Software develop- ment based on common architectural idioms has its focus shifted from lines-of-code to coarser-grained architectural elements (software components and connectors) and their overall interconnection structure. To support architecture- based development, formal modeling notations and analy- sis and development tools that operate on architectural specifications are needed. Architecture description lan- guages (ADLs) and their accompanying toolsets have been proposed as the answer. Loosely defined, â˘an ADL for software applications focuses on the high-level structure of the overall application rather than the implementation details of any specific source module⍠[71]. ADLs have recently become an area of intense research in the software architecture community [11], [16], [73], [37]. A number of ADLs have been proposed for modeling architectures, both within a particular domain and as general-purpose architecture modeling languages. In this paper, we specifically consider those languages most commonly referred to as ADLs: Aesop [14], [12], ArTek [69], C2 [39], [42], Darwin [35], [36], LILEANNA [70], MetaH [6], [72], Rapide [31], [32], SADL [46], [47],
UniCon [62], [63], Weaves [20], [21], and Wright [2], [4].^1 Recently, initial work has been done on an architecture interchange language, ACME [15], which is intended to support mapping of architectural specifications from one ADL to another and, hence, enable integration of support tools across ADLs. Although, strictly speaking, ACME is not an ADL, it contains a number of ADL-like features. Furthermore, it is useful to compare and differentiate it from other ADLs to highlight the difference between an ADL and an interchange language. It is therefore, included in this paper. There is, however, still little consensus in the research community on what an ADL is, what aspects of an architecture should be modeled by an ADL, and what should be interchanged in an interchange language [43]. For example, Rapide may be characterized as a general-purpose system description language that allows modeling of component interfaces and their externally visible behavior, while Wright formalizes the semantics of architectural connections. Furthermore, the distinction is rarely made between ADLs on one hand and formal specification, module interconnection (MIL), simulation, and program- ming languages on the other. Indeed, for example, Rapide can be viewed as both an ADL and a simulation language, while Clements contends that CODE [49], a parallel programming language, is also an ADL [8]. Another source of discord is the level of support an ADL should provide to developers. At one end of the spectrum, it can be argued that the primary role of architectural descriptions is to aid understanding and communication about a software system. As such, an ADL must have
70 IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, VOL. 26, NO. 1, JANUARY 2000
. N. Medvidovic is with the Department of Computer Science, University of Southern California, Los Angeles, CA 90007-4313. E-mail: [email protected]. . R.N. Taylor is with the Department of Information and Computer Science, University of California, Irvine, CA 92697-3425. E-mail: [email protected]. Manuscript received 13 Feb. 1998; revised 29 Dec. 1998; accepted 18 Feb.
Recommended for acceptance by M. Jazayeri. For information on obtaining reprints of this article, please send e-mail to: [email protected], and reference IEEECS Log Number 106346. 1. The full name of the ADL for modeling architectures in the C architectural style is ⢠C2SADEL.⍠To distinguish it from SADL, which resulted from an unrelated project, C2SADEL will be referred to simply as â˘C2⍠in this paper. 0098-5589/00/$10.00 fl 2000 IEEE
simple, understandable, and possibly graphical syntax, well-understood, but not necessarily formally defined semantics, and the kinds of tools that aid visualization, understanding, and simple analyses of architectural de- scriptions (e.g., Argo [59]). At the other end of the spectrum, the tendency has been to provide formal syntax and semantics of ADLs, powerful analysis tools, model check- ers, parsers, compilers, code synthesis tools, runtime support tools, and so on (e.g., SADL's architecture refine- ment patterns [47], Darwin's use of -calculus to formalize architectural semantics [36], or UniCon's parser and compiler [62]). While both perspectives have merit, ADL researchers have generally adopted one or the other extreme view. It is our contention that both are important and should be reflected in an ADL. Several researchers have attempted to shed light on these issues, either by surveying what they consider existing ADLs [8], [27], [28], [71] or by listing â˘essential require- ments⢠for an ADL [32], [62], [64], [65]. In our previous work, we attempted to understand and compare ADLs based on problem areas within software architectures for which they are suited [40]. Each of these attempts furthers our understanding of what an ADL is; however, for various reasons, each ultimately falls short in providing a definitive answer to the question. This paper builds upon the results of these efforts. It is further influenced by insights obtained from studying individual ADLs, relevant elements of languages com- monly not considered ADLs (e.g., programming lan- guages), and experiences and needs of an ongoing research project, C2. The paper presents a definition and a relatively concise classification framework for ADLs: An ADL must explicitly model components, connectors, and their configurations; furthermore, to be truly usable and useful, it must provide tool support for architecture-based develop- ment and evolution. These four elements of an ADL are further broken down into constituent parts. The remainder of the paper is organized as follows: Section 2 discusses contributions and shortcomings of other attempts at surveying and classifying ADLs. Section 3 defines our taxonomy of ADLs and demonstrates its utility by determining whether several existing notations are ADLs. Section 4 assesses the above-mentioned ADLs based on the criteria established in Section 3. Discussion and conclusions round out the paper.
Any effort such as this one is based on discoveries and conclusions of other researchers. We closely examined ADL surveys conducted by Clements and Kogut [8], [27], [28] and Vestal [71]. We also studied several researchers' attempts at identifying essential ADL characteristics and requirements: Luckham and Vera [32], Shaw et al. [62], Shaw and Garlan [64], [65], and Tracz [70]. As a basis for architectural interchange, ACME [15] gave us key insights into what needs to remain constant across ADLs. Finally, we built upon our conclusions from earlier attempts to shed light on the nature and needs of architecture modeling [40], [42].
Clements and Kogut [8], [27], [28] provide an extensive classification of existing ADLs. The classification is based on an exhaustive questionnaire of ADL characteristics and features, completed by each language's design team. The survey was conducted in a top-down fashion: The authors used domain analysis techniques to decide what features an ADL should have and then assessed existing languages with respect to those features. While their taxonomy is valuable in bettering our understanding of surveyed ADLs, it comes up short in several respects. Domain analysis is typically used in well- understood domains, which is not the case with ADLs. The survey does not provide any deeper insight into what an ADL is, nor does it present its criteria for including a particular modeling notation. Quite the contrary, several surveyed languages are not commonly considered ADLs, yet little justification is given for their inclusion. Perhaps most illustrative is the example of Modechart, a specifica- tion language for hard-real-time computer systems [26]. Clements labels Modechart â˘a language on the edge of ADLs,⍠whose utility to the architecture community lies in its sophisticated analysis and model checking toolset [7]. Tool support alone is not a sufficient reason to consider it an ADL however. Several of the criteria Kogut and Clements used for ADL evaluation, such as the ability to model requirements and algorithms, are outside an ADL's scope. 2 This kind of survey also runs the risk of not asking all of the relevant questions. Finally, the authors often have to extrapolate very specific information from multiple, potentially subjective, vague, or misunderstood questions. Vestal's approach [71] is more bottom-up. He surveyed four existing ADLs (LILEANNA, MetaH, Rapide, and QAD [22]) and attempted to identify their common properties. He concluded that they all model or support the following concepts to some degree:
. components, . connections, . hierarchical composition, where one component contains an entire subarchitecture, . computation paradigms, i.e., semantics, constraints, and nonfunctional properties, . communication paradigms, . underlying formal models, . tool support for modeling, analysis, evaluation, and verification, and . automatic application code composition. Although â˘cursory⍠(as he qualifies it) and limited in its scope, Vestal's survey contains useful insights that bring us closer to answering the question of what an ADL is. In its approach, our survey is closer to Vestal's than to Clements and Kogut's. In our previous work [40], we attempted to identify the problems or areas of concern that need to be addressed by ADLs:
MEDVIDOVIC AND TAYLOR: A CLASSIFICATION AND COMPARISON FRAMEWORK FOR SOFTWARE ARCHITECTURE DESCRIPTION... 71
. systems, or configurations of components and connectors, . ports, or points of interaction with a component, . roles, or points of interaction with a connector, . representations, used to model hierarchical compositions, and . rep-maps, which map a composite component or connector's internal architecture to elements of its external interface. In ACME, any other aspect of architectural description is represented with property lists (i.e., it is not core). ACME has resulted from a careful consideration of issues in and notations for modeling architectures. As such, it could be viewed as a good starting point for studying existing ADLs and developing new ones. However, ACME represents the least common denominator of existing ADLs, rather than a definition of an ADL. It also does not provide any means for understanding or classifying those features of an architectural description that are placed in property lists. Finally, certain structural constraints imposed by ACME (e.g., a connector may not be directly attached to another connector) satisfy the needs of some approaches (e.g., Aesop, UniCon, and Wright), but not of others (e.g., C2).
Individually, none of the above attempts adequately answer the question of what an ADL is. Instead, they reflect their authors' views on what an ADL should have or should be able to do. However, a closer study of their collections of features and requirements shows that there is a common theme among them, which is used as a guide in formulating our framework for ADL classification and comparison. To complete the framework, the characteristics of individual ADLs and summaries of discussions on ADLs that occurred at the three International Software Architecture Workshops [11], [73], [37], were studied. To a large degree, our taxonomy reflects features supported by all, or most, existing ADLs. In certain cases, we also argue for characteristics typically not supported by current ADLs, but which have either been identified in the literature as important for architecture-based development or have resulted from our experience with our own research project in software architectures, C2. Finally, we have tried to learn from and, where relevant, apply the extensive experience with languages for modeling other aspects of software in formulating our framework. To properly enable further discussion, several definitions are needed. There is no standard, universally accepted definition of architecture, but we will use as our working definition the one provided by Shaw and Garlan [66]: Software architecture [is a level of design that] involves the description of elements from which systems are built, interactions among those elements, patterns that guide their composition, and constraints on these patterns. An ADL is thus a language that provides features for modeling a software system's conceptual architecture, distinguished from the system's implementation. ADLs provide both a concrete syntax and a conceptual framework
for characterizing architectures [15]. The conceptual frame- work typically reflects characteristics of the domain for which the ADL is intended and/or the architectural style. The framework typically subsumes the ADL's underlying semantic theory (e.g., CSP, Petri nets, finite state machines).
We introduce the top-level categories of our ADL classification and comparison framework in this section. The building blocks of an architectural description are:
A component in an architecture is a unit of computation or a data store. Therefore, components are loci of computation and state [62]. Components may be as small as a single procedure or as large as an entire application. Each component may
MEDVIDOVIC AND TAYLOR: A CLASSIFICATION AND COMPARISON FRAMEWORK FOR SOFTWARE ARCHITECTURE DESCRIPTION... 73
require its own data or execution space, or it may share them with other components. As already discussed, explicit component interfaces are a feature required of ADLs. Additional comparison features are those for modeling component types, semantics, constraints, evolution, and non- functional properties. Each is discussed below: InterfaceâA component's interface is a set of interaction points between it and the external world. The interface specifies the services (messages, operations, and variables) a component provides. In order to support reasoning about a component and the architecture that includes it, ADLs may also provide facilities for specifying component needs, i.e., services required of other components in the architecture. An interface thus defines computational commitments a component can make and constraints on its usage. TypesâComponent types are abstractions that encapsu- late functionality into reusable blocks. A component type can be instantiated multiple times in a single architecture or it may be reused across architectures. Component types can be parameterized, further facilitating reuse. Explicit model- ing of types also aids understandability and analyzability of an architecture in that the properties of a type are shared by all of its instances. SemanticsâWe define component semantics as a high- level model of a component's behavior. Such a model is needed to perform analysis, enforce architectural con- straints, and ensure consistent mappings of architectures from one level of abstraction to another. Note that a component's interface also allows a certain, limited degree
of reasoning about its semantics. However, the notion of semantics used in this paper refers strictly to models of component behavior. ConstraintsâA constraint is a property of or assertion about a system or one of its parts, the violation of which will render the system unacceptable (or less desirable) to one or more stakeholders [9]. In order to ensure adherence to intended component uses, enforce usage boundaries, and establish dependencies among internal parts of a component, constraints on them must be specified. EvolutionâAs architectural building blocks, compo- nents will continuously evolve. Component evolution can be informally defined as the modification of (a subset of) a component's properties, e.g., interface, behavior, or im- plementation. ADLs can ensure that evolution happens in a systematic manner by employing techniques such as subtyping of component types and refinement of component features. Nonfunctional PropertiesâA component's nonfunc- tional properties (e.g., safety, security, performance, port- ability) typically cannot be directly derived from the specification of its behavior. Early specification of such properties (at the architectural level) is needed to enable simulation of runtime behavior, perform analysis, enforce constraints, map component implementations to processors, and aid in project management.
Connectors are architectural building blocks used to model interactions among components and rules that govern those interactions. Unlike components, connectors may not correspond to compilation units in an implemented system. They may be implemented as separately compilable message routing devices, but may also manifest themselves as shared variables, table entries, buffers, instructions to a linker, dynamic data structures, sequences of procedure calls embedded in code, initialization parameters, client- server protocols, pipes, SQL links between a database and an application, and so forth [15], [62]. The features characterizing connectors are their interfaces, types, seman- tics, constraints, evolution, and nonfunctional properties.^4 Each is defined and motivated below: InterfaceâA connector's interface is a set of interac- tion points between the connector and the components and other connectors attached to it. Since a connector does not perform any application-specific computations, it exports as its interface those services it expects of its attached components. Connector interfaces enable proper connectivity of components and their interaction in an architecture and, thereby, reasoning about architectural configurations. TypesâConnector types are abstractions that encapsu- late component communication, coordination, and media- tion decisions. Architecture-level interactions may be characterized by complex protocols. Making these protocols reusable both within and across architectures requires that ADLs model connectors as types. This is typically done in two ways: as extensible type systems, defined in terms of
74 IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, VOL. 26, NO. 1, JANUARY 2000
Fig. 1. ADL classification and comparison framework. Essential modeling features are in bold font.
with preexisting components and connectors of varying granularity, possibly specified in different formal modeling languages and implemented in different programming languages, with varying operating system requirements, and supporting different communication protocols. It is therefore important that ADLs be open, i.e., that they provide facilities for architectural specification and devel- opment with heterogeneous components and connectors. ScalabilityâArchitectures are intended to provide developers with abstractions needed to cope with the issues of software complexity and size. ADLs must therefore directly support specification and development of large- scale systems that are likely to grow further. EvolvabilityâNew software systems rarely provide entirely unprecedented functionality, but are, rather, â˘var- iations on a theme.⍠An architecture evolves to reflect and enable evolution of a family of software systems. Since evolution (i.e., maintenance) is the single costliest software development activity [18], system evolvability becomes a key aspect of architecture-based development. ADLs need to augment evolution support at the level of components and connectors with features for their incremental addition, removal, replacement, and reconnection in a configuration. DynamismâEvolution, as we define it, refers to â˘off- line⍠changes to an architecture (and the resulting system). Dynamism, on the other hand, refers to modifying the architecture and enacting those modifications in the system while the system is executing. Support for dynamism is important in the case of certain safety- and mission-critical systems, such as air traffic control, telephone switching, and high availability public information systems. Shutting down and restarting such systems for upgrades may incur unacceptable delays, increased cost, and risk [52]. To support architecture-based run-time evolution, ADLs need to provide specific features for modeling dynamic changes and techniques for effecting them in the running system. ConstraintsâConstraints that depict dependencies in a configuration complement those specific to individual components and connectors. Many global constraints are derived from or directly depend upon local constraints. For example, constraints on valid configurations may be expressed as interaction constraints among constituent components and connectors, which, in turn, are expressed through their interfaces and protocols; performance of a system described by a configuration will depend upon the performance of each individual architectural element; safety of an architecture is a function of the safety of its constituents. Nonfunctional PropertiesâCertain nonfunctional prop- erties are system-level, rather than individual component or connector properties. Configuration-level nonfunctional properties are needed to select appropriate components and connectors, perform analysis, enforce constraints, map architectural building blocks to processors, and aid in project management.
The motivation behind developing formal languages for architectural description is that their formality renders them suitable for reasoning and manipulation by software tools. A supporting toolset that accompanies an ADL is, strictly
speaking, not a part of the language. However, the usefulness of an ADL is directly related to the kinds of tools it provides to support architectural design, analysis, evolution, executable system generation, and so forth. The importance of architectural tools is reflected in the on-going effort by a large segment of the community to identify the components that comprise a canonical â˘ADL toolkit⍠[17]. Although the results of this work are still preliminary, several general categories have emerged. They reflect the kinds of tool support commonly provided by existing architectural approaches: active specification, multiple views, analysis, refinement, implementation generation, and dynamism. Each is discussed below: Active SpecificationâADL tools provide active specifi- cation support by reducing the space of possible design options based on the current state of the architecture. Such tools provide design guidance and can significantly reduce a software architect's cognitive load. They can be either proactive, by suggesting courses of action or disallowing design options that may result in undesirable design states, or reactive, by informing the architect of such states once they are reached during design. Active specification tools can deliver their feedback intrusively, forcing the architect to acknowledge it before continuing, or nonintrusively, allowing the architect to view the feedback at his discretion. Multiple ViewsâWhen defining an architecture, differ- ent stakeholders (e.g., architects, developers, managers, customers) may require different views of the architecture. The customers may be satisfied with a high-level, â˘boxes- and-lines⍠description, the developers may want detailed (formal) component and connector specifications, while the managers may require a view of the corresponding system development process. Providing the most appropriate view to a given stakeholder and ensuring inter-view consistency are key issues to be addressed by an ADL toolkit. AnalysisâArchitectural descriptions are often intended to model large, distributed, concurrent systems. The ability to evaluate the properties of such systems upstream, at an architectural level, can substantially lessen the cost of any errors. Given that many details are abstracted away in architectures, this task may also be easier than at source code level. Analysis of architectures has thus been a primary focus of ADL toolset developers. RefinementâThe importance of supporting refinement of architectures across levels of detail was briefly argued above and more extensively by Garlan [13] and Moriconi et al. [47]. Refining architectural descriptions is a complex task whose correctness and consistency cannot always be guaranteed by formal proof, but adequate tool support can give architects increased confidence in this respect. Implementation GenerationâThe ultimate goal of any software design and modeling endeavor is to produce the executable system. An elegant architectural model is of limited value unless it can be converted into a running application. Doing so manually may result in many problems of consistency and traceability between an architecture and its implementation. It is therefore desir- able, if not imperative, for an ADL toolkit to provide tools to assist in producing source code.
76 IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, VOL. 26, NO. 1, JANUARY 2000
DynamismâWe have argued for the need to model dynamic changes at the level of architecture. However, an ADL's ability to model dynamic changes is insufficient to guarantee that they will be applied to the executing system in a property-preserving manner. Software tools are needed to analyze the modified architecture to ensure its desirable properties, correctly map the changes expressed in terms of architectural constructs to the implementation modules, ensure continuous execution of the application's vital subsystems and preservation of state during the modifica- tion, and analyze and test the modified application while it is executing.
In order to clarify what an ADL is, it may be useful to point out several notations that, though similar, are not ADLs according to our definition: high-level design notations, MILs, programming languages, object-oriented (OO) mod- eling notations, and formal specification languages. The requirement to model configurations explicitly distinguishes ADLs from some high-level design languages. Existing languages that are sometimes referred to as ADLs can be grouped into three categories based on how they model configurations:
. Implicit configuration languages model configurations implicitly through interconnection information that is distributed across definitions of individual components and connectors; . In-line configuration languages model configurations explicitly, but specify component interconnections, along with any interaction protocols, â˘in-lineâŤ; . Explicit configuration languages model both compo- nents and connectors separately from configurations. The items in the first category, implicit configuration languages, are, by the definition given in this paper, not ADLs, although they may serve as useful tools in modeling certain aspects of architectures. Two examples of such languages are LILEANNA and ArTek. In LILEANNA, interconnection information is distributed among the with clauses of individual packages, package bindings (view construct), and compositions (make). In ArTek, there is no configuration specification; instead, each connector speci- fies component ports to which it is attached. The focus on conceptual architecture and explicit treat- ment of connectors as first-class entities differentiate, ADLs from MILs [55], programming languages, and OO notations and languages (e.g., Unified Modeling Language, or UML [57], [58]). MILs typically describe the uses relationships among modules in an implemented system and support only one type of connection [4], [64]. Programming languages describe a system's implementation whose architecture is typically implicit in subprogram definitions and calls. Explicit treatment of connectors also distinguishes ADLs from OO languages, as demonstrated in [34]. It is important to note that there is a less than firm boundary between ADLs and MILs. Certain ADLs, e.g., Wright and Rapide, model components and connectors at a high level of abstraction and do not assume or prescribe a particular relationship between an architectural descrip- tion and an implementation. We refer to these languages as
implementation independent. On the other hand, several ADLs, e.g., Weaves, UniCon, and MetaH, require a much higher degree of fidelity of an architecture to its imple- mentation. Components modeled in these languages are directly related to their implementations so that a module interconnection specification may be indistinguishable from an architectural description in such a language. These are implementation constraining languages. We have also recently shown that an OO language, such as UML, can be used to model software architectures if it supports certain extensions [41], [60]. These extensions are used to represent architectural abstractions that either differ (e.g., topological constraints) or do not exist (e.g., con- nectors) in OO design. Extending UML in such a manner is clearly useful in that it supports mapping of an architecture to a more familiar and widely used notation, therefore facilitating broader understanding of the architecture and enabling more extensive tool support for manipulating it. However, it is unrealistic to expect that UML could be extended to model every feature of every ADL; our initial experience indeed confirms this [60]. Moreover, although UML may provide modeling power equivalent to or surpassing that of an ADL, the abstractions it provides will not match an architect's mental model of the system as faithfully as the architect's ADL of choice. If the primary purpose of a language is to provide a vehicle of expression that matches the intuitions and practices of users, then that language should aspire to reflect those intentions and practices [65]. We believe this to be a key issue and one that argues against considering a notation like UML an ADL: A given language (e.g., UML) offers a set of abstractions that an architect uses as design tools; if certain abstractions (e.g., components and connectors) are buried in others (e.g., classes), the architect's job is made more (and unnecessarily) difficult; separating components from connectors, raising them both to visibility as top-level abstractions, and endowing them with certain features and limitations also raises them in the consciousness of the designer. An ADL typically subsumes a formal semantic theory. That theory is part of the ADL's underlying framework for characterizing architectures; it influences the ADL's suit- ability for modeling particular kinds of systems (e.g., highly concurrent systems) or particular aspects of a given system (e.g., its static properties). Examples of formal specification theories are Statecharts [23], partially-ordered event sets [33], communicating sequential processes (CSP) [24], model-based formalisms (e.g., chemical abstract machine, or CHAM [25], Z [67]), algebraic formalisms (e.g., Obj [19]), and axiomatic formalisms (e.g., Anna [30]). Of the above- mentioned formal notations, Z has been demonstrated appropriate for modeling only certain aspects of architectures, such as architectural style rules [1], [42]. Partially-ordered event sets, CSP, Obj, and Anna have already been successfully used by existing modeling languages (Rapide, Wright, and LILEANNA, respectively). Modeling capabilities of the remaining two notations, Statecharts and CHAM, are somewhat similar to those of ADLs. Although they do not express systems in terms of components, connectors, and configurations per se, their
MEDVIDOVIC AND TAYLOR: A CLASSIFICATION AND COMPARISON FRAMEWORK FOR SOFTWARE ARCHITECTURE DESCRIPTION... 77
Interface points are typed in a number of ADLs: ACME, Aesop, Darwin, MetaH, SADL, and UniCon. UniCon supports a predefined set of common player types, including RoutineDef, RoutineCall, GlobalDataDef, GlobalDataUse, ReadFile, WriteFile, RPCDef, and RPCCall. On the other hand, ports in C2 and Weaves are type- indifferent in order to maximize the flexibility of interconnection. Weaves ports perform wrapping and unwrapping of data objects by means of envelopes, which hide the types of the underlying data objects, while C2 ports are designed to handle any C2 messages. Finally, Wright and UniCon allow specification of expected component behavior or constraints on component usage relevant to each point of interaction. For example, UniCon allows specification of the number of associations in which a player can be involved. Fig. 2 depicts the constraint that the input player of the StreamIn type is bound to standard input and participates in exactly one association in a given architecture. Wright specifies the protocol of interaction at each port in CSP [24]. In the example given in Fig. 3, DataRead is a simple input (read only) port. 6
All of the surveyed ADLs distinguish component types from instances. Rapide does so with the help of a separate types language [31]. Weaves distinguishes between sockets and tool fragments that populate them. With the exception of MetaH and UniCon, all ADLs provide extensible component type systems. MetaH and UniCon support only a predefined, built-in set of types. MetaH component types are: process, macro, mode, system, and application.^7 Compo- nent types supported by UniCon are: Module, Computation, SharedData, SeqFile, Filter, Process, SchedProcess, and General. Several ADLs (ACME, Darwin, Rapide, SADL, and Wright) make explicit use of parameterization of compo- nent interface signatures. This is typically done in the manner similar to programming languages such as Ada and C++. Rapide and Wright also allow the behavior associated with a particular type to be parameterized. Rapide does so by specifying event patterns, discussed below. Wright
allows parameterization of a component by its computation, a CSP specification that defines the component's behavior. This allows the architect to vary the behavior of a component in a systematic manner.
All ADLs support specification of component semantics, although to varying degrees. The ADLs' underlying semantic models range from expressing semantic informa- tion in component property lists (UniCon) to models of dynamic component behavior (Rapide and Wright). 8 Other points along this spectrum are arbitrarily complex beha- vioral specifications that are treated as uninterpreted annotations (ACME); an accompanying language for modeling algorithms in the ADL's domain (MetaH); specification of static component semantics via invariants and operation pre- and post-conditions (C2); and models of interaction and composition properties of composite components expressed in the -calculus [44] (Darwin). Rapide introduces a unique mechanism for expressing both a component's behavior and its interaction with other components: partially ordered sets of events (posets). Rapide uses event patterns to recognize posets. During poset recognition, free variables in a pattern are bound to specific matching values in a poset. Event patterns are used both as triggers and outputs of component state transitions. Fig. 4 shows an example of a simple Rapide component with a causal relationship between events: When the Application component observes a Receive event, it generates a Results event in response; the two events have the same string parameter.
All ADLs constrain the usage of a component by specifying its interface as the only legal means of interaction. Formal specification of component semantics further specifies relationships and dependencies among internal elements of a component. Several additional means for constraining components are common. A number of ADLs provide stylistic invariants (Aesop, C2, SADL, and Wright). An example stylistic invariant is C2's requirement that a component have exactly two communication ports, one each on its top and bottom sides. A component can also be constrained via attributes. Fig. 2 shows how a UniCon component is constrained by restricting the number of associations in which its players can participate. MetaH also constrains the implementation and usage of a component by specifying its (nonfunctional) attributes, such as: ExecutionTime, Deadline, and Criticality. Finally, Rapide enables specification of pattern constraints
MEDVIDOVIC AND TAYLOR: A CLASSIFICATION AND COMPARISON FRAMEWORK FOR SOFTWARE ARCHITECTURE DESCRIPTION... 79
Fig. 3. Interaction protocol for a component port in Wright:! denotes event transitions, p a successfully terminating process, u nondetermi- nistic choice, and âä deterministic choice.
Fig. 4. A Rapide component's behavior specified with posets.
Fig. 2. Specification of a component player in UniCon.
on event posets that are generated and observed from a component's interface. In the example shown in Fig. 5, the constraint implies that all, and only, messages taken in by the Resource component are delivered.
A number of ADLs view and model components as inherently static. For example, MetaH and UniCon define component types by enumeration, allowing no subtyping, and hence no evolution support; Weaves considers tool fragment evolution outside its scope. Several ADLs support component evolution via subtyping. They typi- cally support a limited notion of subtyping or rely on the mechanisms provided by the underlying programming language. For example, ACME supports strictly structural subtyping with its extends feature, while Rapide evolves components via OO inheritance. SADL allows the specification of high-level properties that must be satisfied by subtypes: The example in Fig. 6 specifies that Local_Client is the subtype of Client such that all of its instances satisfy the predicate Local. Aesop and C2 provide more extensive component sub- typing support. Aesop enforces behavior-preserving subtyp- ing to create substyles of a given architectural style. An Aesop subclass must provide strict subtyping behavior for opera- tions that succeed, but may also introduce additional sources of failure with respect to its superclass. C2, on the other hand, supports multiple subtyping relationships among compo- nents: name, interface, behavior, and implementation [39], [42]. Different combinations of these relationships are specified using the keywords and and not. Fig. 7 demonstrates two possible subtyping relationships: Well_1 preserves (and possibly extends) the behavior of the component Matrix, but may change its interface and implementation; Well_2's subtyping relationship mandates that it must alter Matrix's interface. Rapide and SADL also provide features for refining components across levels of abstraction. This mechanism may be used to evolve components by explicating any deferred design decisions, which is somewhat similar to extending inherited behavior in OO languages. Indeed, subtyping is simply a form of refinement in a general case. This is, however, not true of Rapide and SADL, both of which place additional constraints on refinement maps in order to prove or demonstrate certain properties of architectures. Refinement of components and connectors in Rapide and SADL is a byproduct of the refinement of configurations, their true focus. Therefore, we will defer
further discussion of this issue until Section 4.3.
Despite the need for and benefits of specifying nonfunc- tional properties, there is a notable lack of support for them in existing ADLs. ACME, Aesop, and Weaves allow specification of arbitrary component properties and/or annotations. However, none of them interprets such properties nor do they make direct use of them. MetaH and UniCon provide more advanced support for modeling nonfunctional properties. They require such information to analyze architecture for real-time schedul- ability (both ADLs) and reliability and security (MetaH). Both also use source code location attributes for implemen- tation generation. Several representative nonfunctional properties in MetaH are: SourceName, SourceFile, ClockPeriod, Deadline, and Criticality. UniCon allows specification of Priority, Library, ImplType (source, object, executable, data, or whatever), and Processor.
Overall, surveyed ADLs provide comprehensive support for modeling components. All of them regard components as first-class entities. Furthermore, all models interface and distinguish between component types and instances. On the other hand, a majority of the ADLs do not support evolution or nonfunctional properties. It is illustrative that Aesop is the only ADL that provides at least some support for each of the six classification categories and that, of the five ADLs that support five of the categories, C2 and Rapide do not model nonfunctional properties, and MetaH, UniCon, and Weaves do not support evolution. Every ADL supports or allows at least four of the six categories. A more complete summary of this section is given in Table 2.
ADLs model connectors in various forms and under various names. For example, ACME, Aesop, C2, SADL, UniCon, and Wright model connectors explicitly and refer to them as connectors. Weaves also models connectors explicitly, but refers to them as transport services. Rapide and MetaH connections and Darwin bindings are modeled in-line, and cannot be named, subtyped, or reused (i.e., connectors are not first-class entities). Darwin and Rapide do allow abstracting away complex connection behaviors into â˘con- nector components.⍠In this section, we compare existing ADLs with respect to the support they provide for different aspects of connectors.
In general, only the ADLs that model connectors as first- class entities support explicit specification of connector interfaces. Most such ADLs model component and connector interfaces in the same manner, but refer to them differently. Thus, connector interface points in
80 IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, VOL. 26, NO. 1, JANUARY 2000
Fig. 5. A pattern constraint in Rapide.
Fig. 6. A subtype specification in SADL.
Fig. 7. Specification of component subtypes in C2.
event-to-mode); and equivalence connections, which specify objects that are shared among components. ACME, Aesop, C2, SADL, and Wright base connector types on interaction protocols. UniCon, on the other hand, only allows connectors of prespecified enumerated types: Pipe, FileIO, ProcedureCall, DataAccess, PLBundler, Remote- ProcCall, and RTScheduler. ACME and SADL also provide parameterization facilities that enable flexible specification of connector signatures and of constraints on connector semantics. Similarly to its components, Wright allows a connector to be parameterized by the specification of its behavior (glue).
It is interesting to note that ADLs that do not model connectors as first-class objects, e.g., Rapide, may model connector semantics, while languages that do model connectors explicitly, such as ACME, do not always provide means for defining their semantics. ADLs tend to use a single mechanism for specifying the semantics of both components and connectors. For example, Rapide uses posets to describe communication patterns among its components; Wright models connector glue and event trace specifications with CSP, as shown in Fig. 11; and UniCon allows specification of semantic information for connectors in property lists (e.g., a real-time scheduling algorithm or path traces through real-time code). Additionally, connector
semantics in UniCon are implicit in their (predefined) connector types. For example, declaring a connector to be a pipe implies certain functional properties. Several ADLs use a different semantic model for their connectors than for components. For example, as demon- strated in Fig. 9, SADL provides a constraint language for specifying style-specific connector semantics. C2 models a connector's message filtering policy: message_sink, no_filtering, message_filtering, and prioritized. Finally, Weaves employs a set of naming conventions that imply its transport services' semantics. For example, a single-writer, single-reader queue transport service is named Queue_1_1.
With the exception of C2 and Weaves, whose connector interfaces are a function of their attached components (see Section 4.2.1), ADLs that model connectors as first-class objects constrain their usage via interfaces. None of the ADLs that specify connections in-line (Darwin, MetaH, and Rapide) place any such constraints on them. Implementa- tion and usage of connectors is further constrained in those ADLs that model connector semantics. Aesop, C2, SADL, and Wright also impose stylistic invariants, such as C2's restriction that each connector port may only be attached to a single other port. UniCon restricts the number of component players attached to a connector role by using the MinConns and MaxConns attributes. Additionally, the types of players that can serve in a given role are constrained in UniCon via the Accept attribute and in Wright by specifying interaction protocols for the role (see Fig. 11). For example, the output UniCon role from Fig. 8 can be constrained to accept the StreamIn player of the Filter component type (see Fig. 12).
ADLs that do not model connectors as first-class objects (Darwin, MetaH, and Rapide) also provide no facilities for their evolution. Others focus on configuration-level evolu- tion (Weaves) or provide a predefined set of connector types with no language features for evolution support (UniCon). Several ADLs employ identical mechanisms for connector and component evolution: ACME supports structural con- nector subtyping, Aesop supports behavior preserving subtyping, and SADL supports subtyping of connectors and their refinements across styles and levels of abstraction. C2 connectors are inherently evolvable because of their context-reflective interfaces; C2 connectors also evolve by altering their filtering policies. Finally, Wright supports
82 IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, VOL. 26, NO. 1, JANUARY 2000
Fig. 8. Specification of a connector role in UniCon.
Fig. 9. SADL connector interfaces. (a) Definition and instantiation of a connector in the specification of a SADL architecture. (b) Specification of the connector's type in the definition of the dataflow style; all connectors of the DF_Chanl type will support interactions between two components.
Fig. 10. C2 connectors have context reflective interfaces. Each C2 connector is capable of supporting arbitrary addition, removal, and reconnection of any number of C2 components. (a) Software architect selects a set of components and a connector from a design palette. The connector has no communication ports since no components are attached to it. (b/d) As components are attached to the connector to form an architecture, the connector creates new communication ports to support component intercommunication.
connector evolution via parameterization, where, e.g., the same connector can be instantiated with a different glue.
UniCon is the lone ADL that supports explicit specification of nonfunctional connector properties, using such information to analyze an architecture for real-time schedulability. Its SchedProcess connector has an Algorithm attribute. If the value of Algorithm is set to RateMonotonic, UniCon uses trace, period, execution time, and priority information for schedul- ability analysis. As with their components, ACME, Aesop, and Weaves allow specification of arbitrary, but uninter- preted connector annotations.
The support provided by the ADLs for modeling connectors is considerably less extensive than for components. Three ADLs (Darwin, MetaH, and Rapide) do not regard connectors as first-class entities, but, rather, model them in-line. Their connectors are always specified as instances and cannot be manipulated during design or reused in the future. Overall, their support for connectors is negligible, as can be observed in Table 3. All ADLs that model connectors explicitly also model their interfaces and distinguish connector types from instances. It is
MEDVIDOVIC AND TAYLOR: A CLASSIFICATION AND COMPARISON FRAMEWORK FOR SOFTWARE ARCHITECTURE DESCRIPTION... 83
Fig. 11. A connector specified in Wright; role and glue semantics are expressed in CSP.
Fig. 12. Constraining a UniCon connector role to accept a specific component player.
ADL Support for Modeling Connectors
a higher level of abstraction than source code modules. There is also no guarantee that the specified source modules will correctly implement the desired behavior. Finally, even if the specified modules currently implement the needed behavior correctly, this approach provides no means of ensuring that future changes to those modules are traced back to the architecture and vice versa. SADL and Rapide support refinement and traceability more extensively. They provide maps for refining architec- tures across different levels of abstraction. SADL uses its maps (see Fig. 14) to prove the correctness of architectural refinements, while Rapide generates comparative simula- tions of architectures at different levels. Both languages thus provide the means for tracing design decisions and changes from one level of architectural specification (or implemen- tation) to another. They enforce different refinement rules, however: SADL's stringent correctness-preserving criterion ensures that all decisions made at a given level are maintained at all subsequent levels, but disallows new decisions being introduced; Rapide's maps allow new decisions, but may also eliminate high-level behaviors at the lower levels. Garlan has recently argued for a marriage of the two approaches [13].
No ADL provides explicit support for multiple formal specification languages. Of those ADLs that support implementation of architectures, several are also tightly tied to a particular programming language. For example, Aesop and Darwin only support development with components implemented in C++, while MetaH is restricted to Ada and UniCon to C. On the other hand, C2 currently supports development in C++, Ada, and Java, while Weaves supports interconnection of tool fragments implemented in C, C++, Objective C, and Fortran. Several ADLs place restrictions that limit the number and kinds of components and connectors they can support. For example, MetaH requires each component to include a loop with a call to the predeclared procedure KERNEL.A- WAIT_DISPATCH to periodically dispatch a process. Any existing components have to be modified to include this construct before they can be used in a MetaH architecture. Similarly, UniCon allows certain types of components and connectors (e.g., pipes, filters and sequential files), but requires wrappers for others (e.g., spreadsheets, constraint solvers, or relational databases). Finally, another aspect of heterogeneity is the granularity of components. Most surveyed ADLs support modeling of both fine and coarse-grain components. At one extreme are components that describe a single operation, such as computations in UniCon or procedures in MetaH, while the other extreme can be achieved by hierarchical composition, discussed in Section 4.3.2.
We consider the impact of scaling an architecture along two general dimensions: adding elements to the architec- ture's interior (Fig. 16a) and adding them along the architecture's boundaries (Fig. 16b). To support the former, ADLs can, minimally, employ compositionality features, discussed in Section 4.3.2: The original architecture is
treated as a single, composite component, which is then attached to new components and connectors. Objectively evaluating an ADLs ability to support the latter is more difficult, but certain heuristics can be of help. It is generally easier to expand architectures described in explicit configuration ADLs than in-line configuration ADLs: Connectors in the latter are described solely in terms of the components they connect and adding new components may require modifications to existing connector instances. Additionally, ADLs that allow a variable number of components to be attached to a single connector are better suited to scaling up than those that specify the exact number of components a connector can service. For example, ACME and Aesop could not handle the extension to the architecture shown in Fig. 16a without redefining Conn1 and Conn2, while C2 and UniCon can. To properly evaluate an ADL's support for scalability, these heuristics should be accompanied by other criteria. The ultimate determinant of scalability support is the ability of developers to implement and/or analyze large systems based on the architectural descriptions given in an ADL. For example, as an in-line configuration language, Rapide has been highlighted as an ADL whose features may hamper scalability, yet it has been used to specify architectures of several large, real world systems. Several other ADLs have been applied to large-scale examples:
. Wright was used to model and analyze the Runtime Infrastructure (RTI) of the Department of Defense High-Level Architecture for Simulations [5], whose original specification was over 100 pages long. . SADL ensured the consistency between the reference architecture and the implementation of a power- control system used by the Tokyo Electric Power Company, implemented in 200,000 Fortran 77 lines of code (LOC). . C2 has been used in the specification and imple- mentation of its supporting environment, consisting of a number of large custom-built and OTS components [42], [52]. The custom-built components
MEDVIDOVIC AND TAYLOR: A CLASSIFICATION AND COMPARISON FRAMEWORK FOR SOFTWARE ARCHITECTURE DESCRIPTION... 85
Fig. 16. An existing architecture is scaled up: (a) by adding new components/connectors to its interior and (b) by expanding it â˘outward.⍠C2's graphical notation is used for illustration.
comprise over 100,000 Java LOC; the OTS compo- nents comprise several million LOC.
. Weaves has been used in satellite telemetry proces- sing applications, whose size has ranged between 100,000 and over 1,000,000 LOC. . A representative example of Rapide's use is the X/Open Distributed Transaction Processing Industry Standard, whose documentation is over 400 pages long. X/Open's reference architecture and subsequent extensions have been successfully specified and simulated in Rapide [31].
Evolvability of an architectural configuration can be viewed from two different perspectives. One is its ability to accommodate addition of new components in the manner depicted in Fig. 16. The issues inherent in doing so were discussed in Section 4.3.5. Another view of evolvability is an ADL's tolerance and/or support for incomplete architectur- al descriptions. Incomplete architectures are common during design as some decisions are deferred and others have not yet become relevant. It would therefore be advantageous for an ADL to allow incomplete descriptions. However, most existing ADLs and their supporting toolsets have been built around the notion that precisely these kinds of situations must be prevented. For example, Darwin, MetaH, Rapide, and UniCon compilers, constraint checkers, and runtime systems have been constructed to raise exceptions if such situations arise. In this case, an ADL, such as Wright, which focuses its analyses on information local to a single connector, is better suited to accommodate expansion of the architecture than, e.g., SADL, which is very rigorous in its refinement of entire architectures. Another aspect of evolution is support for families of applications. One way in which all ADLs support families is by separating component and connector types from instances. For example, Weaves supports specification of architectural frameworks, which are populated with sockets, rather than actual tool fragments and transport services. Each instantiation of an architecture can then be considered a member of the same family. This is a limited notion of family, as it does not allow the architecture itself to be modified. Furthermore, the family to which an application belongs is implicit in its architecture. ACME is the only surveyed language that specifies architectural families explicitly, as first-class language constructs, and supports their evolution. The component and connector types declared in a family provide a design
vocabulary for all systems that are declared as members of that family. The example given in Fig. 17 shows the declaration of a simple ACME family and its evolution.
The majority of existing ADLs view configurations stati- cally. The exceptions are C2, Darwin, Rapide, and Weaves. Darwin and Rapide support only constrained dynamic manipulation of architectures, where all runtime changes must be known a priori [51], [52]. Darwin allows runtime replication of components via dynamic instantiation, as well as deletion and rebinding of components by interpreting Darwin scripts. An example of dynamic instantiation in Darwin is given in Fig. 18: Invoking the service create_inst with a data parameter results in a new instance of component comp to which data is passed. Rapide supports conditional configuration: Its where clause enables architectural rewiring at runtime, using the link and unlink operators. Recently, Wright has adopted a similar approach to dynamic architecture changes: It distinguishes between communication and control events, where the control events are used to specify conditions under which dynamic changes are allowed [3]. The reconfiguration actions that are triggered in response to control events are: new, del, attach, and detach. C2 and Weaves support dynamic manipulation without any restrictions on the types of permitted changes. Instead, arbitrary modifications are allowed in principle; their consistency is ensured at system runtime. C2's architecture modification (sub)language (AML) specifies a set of opera- tions for insertion, removal, and rewiring of elements in an architecture at runtime: addComponent, removeComponent, weld, and unweld [38], [52]. For example, the extension to the architecture depicted in Fig. 16a is specified in C2's AML as shown in Fig. 19. Weaves provides similar support by exporting an application programmable interface (API) to a model of a weave.
Most ADLs enforce built-in constraints on what they consider to be valid configurations. For example, UniCon always requires a connector role to be attached to a component player, while Darwin only allows bindings between provided and required services. On the other hand, several ADLs provide facilities for specifying
86 IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, VOL. 26, NO. 1, JANUARY 2000
Fig. 17. Declaration of a family of architectures, fam, and its subfamily, sub_fam, in ACME. fam is evolved into sub_fam by adding a new component and a property to one of fam component ports.
Fig. 18. Dynamic component instantiation in Darwin.
Fig. 19. Dynamic insertion of a component into a C2 architecture Sample_Arch. The start command informs the C2 implementation infrastructure (see Section 4.4.5) to start executing Comp5.
connectors iconically and allow both top-level and detailed views of composite elements. Support for other views is sparse. C2's Argo design environment provides a view of the architecture-centered development process [59]. Darwin's Software Architect's Assistant provides a hierarchical view of the architecture which shows all the component types and the â˘include⍠relationships among them in a tree structure. Rapide and C allow visualization of an architecture's execution behavior by
building an executable simulation of the architecture and providing tools for viewing and filtering events generated by the simulation. In particular, Rapide uses its Simulator tool to build the simulation and its Animation Tools to animate its execution. Rapide also provides Poset Browser, a tool that allows viewing events generated by the simulation. Weaves adopts a similar approach: It allows insertion of low-overhead observers into a weave to support real-time execution animation.
88 IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, VOL. 26, NO. 1, JANUARY 2000
ADL Support for Modeling Architectural Configurations
The types of analyses for which an ADL is well-suited depend on its underlying semantic model and, to a lesser extent, its specification features. For example, Wright uses CSP to analyze individual connectors and components attached to them for deadlocks; Aesop and C2 ensure style- specific topological constraints and type conformance among architectural elements; MetaH and UniCon support schedulability analysis by specifying nonfunctional proper- ties, such as criticality and priority; finally, SADL can establish relative correctness of two architectures with respect to a refinement map. Another set of analysis techniques involves simulation of the behavior described in an architecture. Examples are Rapide's, C2's, and Weaves' event monitoring and filtering tools. Similarly, Darwin allows instantiation of parameters and dynamic components to enact â˘what if⢠scenarios. A related technique, commonly employed in Weaves, is to insert into the architecture a â˘listener⍠component whose only task is to analyze the data it receives from adjacent components. Language parsers and compilers are another kind of analysis tool. Parsers analyze architectures for syntactic correctness, while compilers establish semantic correctness. All of the surveyed languages have parsers. Several (Darwin, MetaH, and UniCon) also have â˘compilers,⍠enabling them to generate executable systems from archi- tectural descriptions, provided that component implemen- tations already exist. Rapide's compiler generates executable simulations of Rapide architectures. C2's DRADEL environment, on the other hand, provides a tool that generates executable implementation skeletons from an architectural model; the skeletons are completed either by developing new or reusing OTS functionality. Another aspect of analysis is enforcement of constraints. Parsers and compilers enforce constraints implicit in type information, nonfunctional attributes, component and con- nector interfaces, and semantic models. Rapide also sup- ports explicit specification of other types of constraints, and provides means for their checking and enforcement. Its Constraint Checker analyzes the conformance of a Rapide simulation to the formal constraints defined in the archi- tecture. C2's constraint checker currently focuses only on the topological rules of the style; an initial integration with the architecture constraint checking tool, Armani [45], allows specification and enforcement of arbitrary constraints.
Several ADLs support direct refinement of architectural models to executable code via â˘compilation.⍠Darwin, MetaH, and UniCon achieve this in a manner similar to MILs: Architectural components are implemented in a programming language and the architectural description serves only to ensure proper interconnection and commu- nication among them. The drawbacks of this approach were discussed in Section 4.3.3. Rapide, on the other hand, provides an executable sublanguage that contains many common programming language control structures. C goes beyond linking existing modules, but not as far as to provide executable language constructs: An architecture is
refined into a partial implementation which contains completion guidelines for developers derived from the architectural description. For example, each method is accompanied by specifications of its precondition and postcondition, as shown in Fig. 21; the developer must only ensure their satisfaction when implementing the method and need not worry about the rest of the system. Only SADL and Rapide provide tool support for refining architectures across multiple levels of abstraction and specificity. SADL's support is partial. It requires manual proofs of mappings of constructs between an abstract and a more concrete architectural style. Such a proof is performed only once; thereafter, SADL provides a tool that automatically checks whether any two architectures described in the two styles adhere to the mapping. Rapide, on the other hand, supports event maps between individual architectures. The maps are compiled by Rapide's Simulator so that the Constraint Checker can verify that the events generated during simulation of the concrete architecture satisfy the constraints in the abstract architecture.
A large number of ADLs, but not all, support generation of a system from its architecture. Exceptions are SADL, ACME, and Wright, which are currently used strictly as modeling notations and provide no implementation generation support. It is interesting to note that, while SADL focuses on refining architectures, it does not take the final refinement step from architectural descriptions to source code. Several ADLs employ architectural â˘compilers,⍠as already discussed above. Aesop adopts a different ap- proach: It provides a C++ class hierarchy for its concepts and operations, such as components, connectors, ports, roles, and attachments. This hierarchy forms a basis from which an implementation of an architecture may be produced; the hierarchy is, in essence, a domain-specific language for implementing Aesop architectures. A similar approach is used in C2, which provides a framework of abstract classes for C2 concepts [42]. Components and connectors used in C2 applications are subclassed from the appropriate framework classes. The framework has been implemented in C++, Java, and Ada; several OTS middleware technologies have been integrated with the framework to enable interactions between C components implemented in different languages [10]. Application skeletons produced by C2's code generation facilities discussed above result in instantiated, but partially implemented, framework classes.
MEDVIDOVIC AND TAYLOR: A CLASSIFICATION AND COMPARISON FRAMEWORK FOR SOFTWARE ARCHITECTURE DESCRIPTION... 89
Fig. 21. Each method generated by C2 is preceded by its precondition and followed by its postcondition.