Free Essay

Civil

In:

Submitted By ravaxl
Words 6001
Pages 25
Paper published in IEEE Software 12 (6) November 1995, pp. 42-50

Architectural Blueprints—The “4+1” View Model of Software Architecture
Philippe Kruchten Rational Software Corp.

Abstract This article presents a model for describing the architecture of software-intensive systems, based on the use of multiple, concurrent views. This use of multiple views allows to address separately the concerns of the various ‘stakeholders’ of the architecture: end-user, developers, systems engineers, project managers, etc., and to handle separately the functional and non functional requirements. Each of the five views is described, together with a notation to capture it. The views are designed using an architecture-centered, scenariodriven, iterative development process. Keywords: software architecture, view, object-oriented design, software development process

Introduction
We all have seen many books and articles where one diagram attempts to capture the gist of the architecture of a system. But looking carefully at the set of boxes and arrows shown on these diagrams, it becomes clear that their authors have struggled hard to represent more on one blueprint than it can actually express. Are the boxes representing running programs? Or chunks of source code? Or physical computers? Or merely logical groupings of functionality? Are the arrows representing compilation dependencies? Or control flows? Or data flows? Usually it is a bit of everything. Does an architecture need a single architectural style? Sometimes the architecture of the software suffers scars from a system design that went too far into prematurely partitioning the software, or from an over-emphasis on one aspect of software development: data engineering, or run-time efficiency, or development strategy and team organization. Often also the architecture does not address the concerns of all its “customers” (or “stakeholders” as they are called at USC). This problem has been noted by several authors: Garlan & Shaw1, Abowd & Allen at CMU, Clements at the SEI. As a remedy, we propose to organize the description of a software architecture using several concurrent views, each one addressing one specific set of concerns.

An Architectural Model
Software architecture deals with the design and implementation of the high-level structure of the software. It is the result of assembling a certain number of architectural elements in some well-chosen forms to satisfy the major functionality and performance requirements of the system, as well as some other, non-functional requirements such as reliability, scalability, portability, and availability. Perry and Wolfe put it very nicely in this formula2, modified by Boehm: Software architecture = {Elements, Forms, Rationale/Constraints} Software architecture deals with abstraction, with decomposition and composition, with style and esthetics. To describe a software architecture, we use a model composed of multiple views or perspectives. In order to eventually address large and challenging architectures, the model we propose is made up of five main views (cf. fig. 1): • The logical view, which is the object model of the design (when an object-oriented design method is used), • the process view, which captures the concurrency and synchronization aspects of the design, • the physical view, which describes the mapping(s) of the software onto the hardware and reflects its distributed aspect,



the development view, which describes the static organization of the software in its development environment.

The description of an architecture—the decisions made—can be organized around these four views, and then illustrated by a few selected use cases, or scenarios which become a fifth view. The architecture is in fact partially evolved from these scenarios as we will see later.
End-user Functionality Programmers Software management

Logical View

Development View

Scenarios Process View
Integrators Performance Scalability

Physical View
System engineers Topology Communications

Figure 1 — The “4+1” view model We apply Perry & Wolf’s equation independently on each view, i.e., for each view we define the set of elements to use (components, containers, and connectors) , we capture the forms and patterns that work, and we capture the rationale and constraints, connecting the architecture to some of the requirements. Each view is described by a blueprint using its own particular notation. For each view also, the architects can pick a certain architectural style, hence allowing the coexistence of multiple styles in one system. We will now look in turn at each of the five views, giving for each its purpose: which concerns is addresses, a notation for the corresponding architectural blueprint, the tools we have used to describe and manage it. Small examples are drawn from the design of a PABX, derived from our work at Alcatel Business System and an Air Traffic Control system3, but in very simplified form—the intent here is just to give a flavor of the views and their notation and not to define the architecture of those systems. The “4+1” view model is rather “generic”: other notations and tools can be used, other design methods can be used, especially for the and the logical and process decompositions, but we have indicated the ones we have used with success.

2

The Logical Architecture
The Object-Oriented Decomposition The logical architecture primarily supports the functional requirements—what the system should provide in terms of services to its users. The system is decomposed into a set of key abstractions, taken (mostly) from the problem domain, in the form of objects or object classes. They exploit the principles of abstraction, encapsulation, and inheritance. This decomposition is not only for the sake of functional analysis, but also serves to identify common mechanisms and design elements across the various parts of the system. We use the Rational/Booch approach for representing the logical architecture, by means of class diagrams and class templates.4 A class diagram shows a set of classes and their logical relationships: association, usage, composition, inheritance, and so forth. Sets of related classes can be grouped into class categories. Class templates focus on each individual class; they emphasize the main class operations, and identify key object characteristics. If it is important to define the internal behavior of an object, this is done with state transition diagrams, or state charts. Common mechanisms or services are defined in class utilities. Alternatively to an OO approach, an application that is very data-driven may use some other form of logical view, such as E-R diagrams. Notation for the logical view The notation for the logical view is derived from the Booch notation4. It is considerably simplified to take into account only the items that are architecturally significant. In particular, the numerous adornments are not very useful at this level of design. We use Rational Rose® to support the logical architecture design.

Components

Connectors
Association Class Containment, Aggregation Class Utility Usage Inheritance Parameterized Class Instanciation

Class category

Figure 2 — Notation for the logical blueprint Style for the logical view The style we use for the logical view is an object-oriented style. The main guideline for the design of the logical view is to try to keep a single, coherent object model across the whole system, to avoid premature specialization of classes and mechanisms per site or per processor.

3

Examples of Logical blueprints Figure 3a shows the main classes involved in the Télic PABX architecture.
Display & User Interface External Interfaces -Gateways

Simulation and Training

Conversation

Translation Services
Flight management Air Traffic Management

Terminal

Connection Services
Aeronautical Information

Controller

Numbering Plan

Mechanisms Services Basic elements

Figure 3— a. Logical blueprint for the Télic PABX . b. Blueprint for an Air Traffic Control System A PABX establishes commmunications between terminals. A terminal may be a telephone set, a trunk line (i.e., line to central-office), a tie line (i.e., private PABX to PABX line), a feature phone line, a data line, an ISDN line, etc. Different lines are supported by different line interface cards. The responsibility of a line controller object is to decode and inject all the signals on the line interface card, translating card-specific signals to and from a small, uniform set of events: start, stop, digit, etc. The controller also bears all the hard real-time constraints. This class has many subclasses to cater for different kinds of interfaces. The responsibility of the terminal object is to maintain the state of a terminal, and negotiate services on behalf of that line. For example, it uses the services of the numbering plan to interpret the dialing in the selection phase. The conversation represents a set of terminals engaged in a conversation. The conversation uses translation services (directory, logical to physical address mapping, routes), and connection services to establish a voice path between the terminals. For a much bigger system, which contains a few dozen classes of architectural significance, figure 3b show the top level class diagram of an air traffic control system, containing 8 class categories (i.e., groups of classes).

The Process Architecture
The Process Decomposition The process architecture takes into account some non-functional requirements, such as performance and availability. It addresses issues of concurrency and distribution, of system’s integrity, of fault-tolerance, and how the main abstractions from the logical view fit within the process architecture—on which thread of control is an operation for an object actually executed. The process architecture can be described at several levels of abstraction, each level addressing different concerns. At the highest level, the process architecture can be viewed as a set of independently executing logical networks of communicating programs (called “processes”), distributed across a set of hardware resources connected by a LAN or a WAN. Multiple logical networks may exist simultaneously, sharing the same physical resources. For example, independent logical networks may be used to support separation of the on-line operational system from the off-line system, as well as supporting the coexistence of simulation or test versions of the software. A process is a grouping of tasks that form an executable unit. Processes represent the level at which the process architecture can be tactically controlled (i.e., started, recovered, reconfigured, and shut down). In

4

addition, processes can be replicated for increased distribution of the processing load, or for improved availability. The software is partitioned into a set of independent tasks. A task is a separate thread of control, that can be scheduled individually on one processing node. We can distinguish then: major tasks, that are the architectural elements that can be uniquely addressed and minor tasks, that are additional tasks introduced locally for implementation reasons (cyclical activities, buffering, time-outs, etc.). They can be implemented as Ada tasks for example, or light-weight threads. Major tasks communicate via a set of well-defined inter-task communication mechanisms: synchronous and asynchronous message-based communication services, remote procedure calls, event broadcast, etc. Minor tasks may communicate by rendezvous or shared memory. Major tasks shall not make assumptions about their collocation in the same process or processing node. Flow of messages, process loads can be estimated based on the process blueprint. It is also possible to implement a “hollow” process architecture with dummy loads for the processes, and measure its performance on the target system, as described by Filarey et al. in their Eurocontrol experiment. Notation for the Process view The notation we use for the process view is expanded from the notation originally proposed by Booch for Ada tasking. Again the notation used focuses on the elements that are architecturally significant. (Fig. 4)

Components

Connectors
Unspecified Process Message Remote Procedure Call Message, bidirectional

Simplified Process Periodic process adornment

Event broadcast

(Indicates a cyclical process)

Figure 4 — Notation for the Process blueprint We have used the Universal Network Architecture Services (UNAS) product from TRW to architect and implement the set of processes and tasks (and their redundancies) into networks of processes. UNAS contains a tool—the Software Architects Lifecycle Environment (SALE)—which supports such a notation. SALE allows for the graphical depiction of the process architecture, including specifications of the possible inter-task communication paths, from which the corresponding Ada or C++ source code is automatically generated. The benefit of this approach to specifying and implementing the process architecture is that changes can be incorporated easily without much impact on the application software. Style for the process view Several styles would fit the process view. For example, picking from Garlan and Shaw’s taxonomy1 we can have: pipes and filters, or client/server, with variants of multiple client/single server and multiple clients/multiple servers. For more complex systems, one could use a style similar to the process groups approach of the ISIS system as described by K. Birman with another notation and toolset.

5

Example of a Process blueprint
Terminal process

Controller process

Main controller task

Controller task Low rate

Controller task High rate

Figure 5 — Process blueprint for the Télic PABX (partial) All terminals are handled by a single terminal process, which is driven by messages in its input queues. The controller objects are executed on one of three tasks that composes the controller process: a low cycle rate task scans all inactive terminals (200 ms), puts any terminal becoming active in the scan list of the high cycle rate task (10ms), which detects any significant change of state, and passes them to the main controller task which interprets the changes and communicates them by message to the corresponding terminal. Here message passing within the controller process is done via shared memory.

The Development Architecture
Subsystem decomposition The development architecture focuses on the actual software module organization on the software development environment. The software is packaged in small chunks—program libraries, or subsystems— that can be developed by one or a small number of developers. The subsystems are organized in a hierarchy of layers, each layer providing a narrow and well-defined interface to the layers above it. The development architecture of the system is represented by module and subsystem diagrams, showing the ‘export’ and ‘import’ relationships. The complete development architecture can only be described when all the elements of the software have been identified. It is, however, possible to list the rules that govern the development architecture: partitioning, grouping, visibility. For the most part, the development architecture takes into account internal requirements related to the ease of development, software management, reuse or commonality, and to the constraints imposed by the toolset, or the programming language. The development view serves as the basis for requirement allocation, for allocation of work to teams (or even for team organization), for cost evaluation and planning, for monitoring the progress of the project, for reasoning about software reuse, portability and security. It is the basis for establishing a line-of-product. Notation for the Development Blueprint Again, a variation of the Booch notation, limiting it to the items that are architecturally significant.

6

Components

Connectors

Module

Reference Compilation dependency (include, "with")

Subsystem

Layer

Figure 5 — Notation for the Development blueprint The Apex Development Environment from Rational supports the definition and the implementation of the development architecture, the layering strategy described above, and the enforcement of the design rules. Rational Rose can draw the development blueprints at the module and subsystem level, in forward engineering and by reverse engineering from the development source code, for Ada and C++. Style for the Development View We recommend adopting a layered style for the development view, defining some 4 to 6 layers of subsystems. Each layer has a well-defined responsibility. The design rule is that a subsystem in a certain can only depend on subsystem that are in the same layer or in layers below, in order to minimize the development of very complex networks of dependencies between modules and allow simple release strategies layer by layer.
5
Man-Machine Interface External systems Off-line tools Test harnesses

CAATS, MAATS, etc...

HATS Components

4

ATC Functional areas: Flight management, Sector Management, etc.

ATC Framework

3
Aeronautical classes ATC classes

Distributed Virtual Machine

2

Support Mechanisms: Communication, Time, Storage, Resource management, etc.

Basic elements

1
Common utilities Bindings Low-level services

HardWare, OS, COTS

Figure 6 — The 5 layers of Hughes Air Traffic Systems (HATS) Example of Development architecture Figure 6 represents the development organization in five layers of a line-of-product of Air Traffic Control systems developed by Hughes Aircraft of Canada3. This is the development architecture corresponding to the logical architecture shown in fig. 3b. Layers 1 and 2 constitute a domain-independent distributed infrastructure that is common across the line of products and shields it from variations in hardware platform, operating system, or off-the-shelf products

7

such as database management system. To this infrastructure, layer 3 adds an ATC framework to form a domain-specific software architecture. Using this framework a palette of functionality is build in layer 4. Layer 5 is very customer- and product-dependent, and contains most of the user-interface and interfaces with the external systems. Some 72 subsystems are spread across of the 5 layers, containing each from 10 to 50 modules, and can be represented on additional blueprints.

The Physical Architecture
Mapping the software to the hardware The physical architecture takes into account primarily the non-functional requirements of the system such as availability, reliability (fault-tolerance), performance (throughput), and scalability. The software executes on a network of computers, or processing nodes (or just nodes for short). The various elements identified— networks, processes, tasks, and objects—need to be mapped onto the various nodes. We expect that several different physical configurations will be used: some for development and testing, others for the deployment of the system for various sites or for different customers. The mapping of the software to the nodes therefore needs to be highly flexible and have a minimal impact on the source code itself. Notation for the Physical Blueprint Physical blueprints can become very messy in large systems, so they take several forms, with or without the mapping from the process view.
Components Connectors
Communication line Communication (non permanent) Uni-directional communication High bandwidth communication, Bus Processor

Other device

Figure 7 — Notation for the Physical blueprint UNAS from TRW provide us here with data-driven means of mapping the process architecture onto the physical architecture allowing a large class of changes in the mapping without source code modifications. Example of Physical blueprint
C primary C backup

F Primary

F backup

F Primary

F backup

K

K

K

K

K

K

K

K

Figure 8 — Physical blueprint for the PABX Figure 8 shows one possible hardware configuration for a large PABX, whereas figures 9 and 10 show mappings of the process architecture on two different physical architectures, corresponding to a small and a large PABX. C, F and K are three types of computers of different capacity, supporting three different executables.
F
Conversation process

Terminal Process

K
Controller Process

Figure 9 — A small PABX physical architecture with process allocation

8

C
Central Process Back-up nodes

F

Pseudo Central process

F

Pseudo Central process

Conversation process

Conversation process

Terminal Process

Terminal Process

more K processors

K
Controller Process

K
Controller Process

K
Controller Process

line cards

line cards

line cards

Figure 10 — Physical blueprint for a larger PABX showing process allocation

Scenarios
Putting it all together The elements in the four views are shown to work together seamlessly by the use of a small set of important scenarios —instances of more general use cases—for which we describe the corresponding scripts (sequences of interactions between objects, and between processes) as described by Rubin and Goldberg6. The scenarios are in some sense an abstraction of the most important requirements. Their design is expressed using object scenario diagrams and object interaction diagrams4. This view is redundant with the other ones (hence the “+1”), but it serves two main purposes: • as a driver to discover the architectural elements during the architecture design as we will describe later • as a validation and illustration role after this architecture design is complete, both on paper and as the starting point for the tests of an architectural prototype. Notation for the Scenarios The notation is very similar to the Logical view for the components (cf. fig. 2), but uses the connectors of the Process view for interactions between objects (cf. fig. 4). Note that object instances are denoted with solid lines. As for the logical blueprint, we capture and manage object scenario diagrams using Rational Rose. Example of a Scenario Fig. 11 shows a fragment of a scenario for the small PABX. The corresponding script reads: 1. The controller of Joe’s phone detects and validate the transition from on-hook to off-hook and sends a message to wake up the corresponding terminal object. 2. The terminal allocates some resources, and tells the controller to emit some dial-tone. 3. The controller receives digits and transmits them to the terminal. 4. The terminal uses the numbering plan to analyze the digit flow. 5. When a valid sequence of digits has been entered, the terminal opens a conversation.

9

(1) Off-Hook (4) digit

Joe:Controller

(2) dial tone

Joe:Terminal
(3) digit (5) open conversation

Numbering plan

:Conversation

Figure 11 — Embryo of a scenario for a local call—selection phase

Correspondence Between the Views
The various views are not fully orthogonal or independent. Elements of one view are connected to elements in other views, following certain design rules and heuristics. From the logical to the process view We identify several important characteristics of the classes of the logical architecture: • Autonomy: are the objects active, passive, protected? -an active object takes the initiative of invoking other objects’ operations or its own operations, and has full control over the invocation of its own operations by other objects -a passive object never invokes spontaneously any operations and has no control over the invocation of its own operations by other objects - a protected object never invokes spontaneously any operations but performs some arbitration on the invocation of its operations. • Persistence: are the objects transient , permanent? Do they the failure of a process or processor? • Subordination: are the existence or persistence of an object depending on another object? • Distribution: are the state or the operations of an object accessible from many nodes in the physical architecture, from several processes in the process architecture? In the logical view of the architecture we consider each object as active, and potentially “concurrent,” i.e., behaving “in parallel” with other objects, and we pay no more attention to the exact degree of concurrency we need to achieve this effect. Hence the logical architecture takes into account only the functional aspect of the requirements. However when we come to defining the process architecture, implementing each object with its own thread of control (e.g., its own Unix process or Ada task) is not quite practical in the current state of technology, because of the huge overhead this imposes. Moreover, if objects are concurrent, there must be some form of arbitration for invoking their operations. On another hand, multiple threads of control are needed for several reasons: • To react rapidly to certain classes of external stimuli, including time-related events • To take advantage of multiple CPUs in a node, or multiple nodes in a distributed system • To increase the CPU utilization, by allocating the CPU to other activities while some thread of control is suspended waiting for some other activity to complete (e.g., access to some external device, or access to some other active object) • To prioritize activities (and potentially improve responsiveness) • To support system scalability (with additional processes sharing the load) • To separate concerns between different areas of the software • To achieve a higher system availability (with backup processes) We use concurrently two strategies to determine the ‘right’ amount of concurrency and define the set of processes that are needed. Keeping in mind the set of potential physical target architectures, we can proceed either: • Inside-out: Starting from the logical architecture: define agent tasks which multiplex a single thread of control

10

across multiple active objects of a class; objects whose persistency or life is subordinate to an active object are also executed on that same agent; several classes that need to be executed in mutual exclusion, or that require only small amount of processing share a single agent. This clustering proceeds until we have reduced the processes to a reasonably small number that still allows distribution and use of the physical resources. • Outside-in: Starting with the physical architecture: identify external stimuli (requests) to the system, define client processes to handle the stimuli and servers processes that only provide services and do not initiate them; use the data integrity and serialization constraints of the problem to define the right set of servers, and allocate objects to the client and servers agents; identify which objects must be distributed. The result is a mapping of classes (and their objects) onto a set of tasks and processes of the process architecture. Typically, there is an agent task for an active class, with some variations: several agents for a given class to increase throughput, or several classes mapped onto a single agent because their operations are infrequently invoked or to guarantee sequential execution. Note that this is not a linear, deterministic process leading to an optimal process architecture; its requires a few iterations to get an acceptable compromise. There are numerous other ways to proceed, as shown by Birman et al.5 or Witt et al.7 for example. The precise method used to construct the mapping is outside of the scope of this article, but we can illustrate it on a small example. Fig. 12 shows how a small set of classes from some hypothetical air-traffic control system maybe mapped onto processes. The flight class is mapped onto a set of flight agents: there are many flights to process, a high rate of external stimuli, response time is critical, the load must be spread across multiple CPUs. Moreover the persistency and distribution aspects of the flight processing are deferred to a flight server, which is duplicated for availability reasons. A flight profile or a clearance are always subordinate to a flight, and although there are complex classes, they share the processes of the flight class. Flights are distributed to several other processes, notably for to display and external interfaces. A sectorization class, which established a partitioning of airspace for the assignment of jurisdiction of controllers over flights, because of its integrity constraints, can be handled only by a single agent, but can share the server process with the flight: updates are infrequent. Locations and airspace and other static aeronautical information are protected objects, shared among several classes, rarely updated; they are mapped on their own server, and distributed to other processes.

11

flight

sectorization

clearance

profile

location

airspace

flight Backup profile

clearance

multiple flight agents

flight server

sectorization Single sectorization agent backup location

airspace

aeronautical info server

Figure 12: Mapping from Logical to Process view From logical to development A class is usually implemented as a module, for example a type in the visible part of an Ada package. Large classes are decomposed into multiple packages. Collections of closely related classes—class categories— are grouped into subsystems. Additional constraints must be considered for the definition of subsystems, such as team organization, expected magnitude of code (typically 5K to 20K SLOC per subsystem), degree of expected reuse and commonality, and strict layering principles (visibility issues), release policy and configuration management. Therefore we usually end up with a view that does not have a one to one correspondence with the logical view. The logical and development views are very close, but address very different concerns. We have found that the larger the project, the greater the distance between these views. Similarly for the process and physical views: the larger the project, the greater the distance between the views. For example, if we compare fig. 3b and fig. 6, there is no one to one mapping of the class categories to the layers. If we take the ‘External interfaces—Gateway’ category, its implementation is spread across several layers: communications protocols are in subsystems in or below layer 1, general gateway mechanisms are in subsystems in layer 2, and the actual specific gateways in layer 5 subsystems. From process to physical Processes and process groups are mapped onto the available physical hardware, in various configurations for testing or deployment. Birman describes some very elaborate schemes for this mapping in the Isis project5. The scenarios relate mostly to the logical view, in terms of which classes are used, and to the process view when the interactions between objects involve more than one thread of control.

12

Tailoring the Model
Not all software architecture need the full “4+1” views. Views that are useless can be omitted from the architecture description, such as the physical view, if there is only one processor, and the process view if there is only process or program. For very small system, it is even possible that the logical view and the development view are so similar that they do not require separate descriptions. The scenarios are useful in all circumstances.

Iterative process
Witt et al. indicate 4 phases for the design or an architecture: sketching, organizing, specifying and optimizing, subdivided into some 12 steps7. They indicate that some backtracking may be needed. We think that this approach is too “linear” for an ambitious and rather unprecedented project. Too little is known at the end of the 4 phases to validate the architecture. We advocate a more iterative development, were the architecture is actually prototyped, tested, measured, analyzed, and then refined in subsequent iterations. Besides allowing to mitigate the risks associated with the architecture, such an approach has other side benefits for the project: team building, training, acquaintance with the architecture, acquisition of tools, runin of procedures and tools, etc. (We are speaking here of an evolutionary prototype, that slowly grows into becoming the system, and not of throw-away, exploratory prototypes.) This iterative approach also allows the requirements to be refined, matured, better understood. A scenario-driven approach The most critical functionality of the system is captured in the form of scenarios (or use cases). By critical we mean: functions that are the most important, the raison d’être of the system, or that have the highest frequency of use, or that present some significant technical risk that must be mitigated. Start: • A small number of the scenarios are chosen for an iteration based on risk and criticality. Scenarios may be synthesized to abstract a number of user requirements. • A strawman architecture is put in place. The scenarios are then “scripted” in order to identify major abstractions (classes, mechanisms, processes, subsystems) as indicated by Rubin and Goldberg6 — decomposed in sequences of pairs (object, operation). • The architectural elements discovered are laid out on the 4 blueprints: logical, process, development, and physical. • This architecture is then implemented, tested, measured, and this analysis may detect some flaws or potential enhancement. • Lessons learned are captured. Loop: The next iteration can then start by: • reassessing the risks, • extending the palette of scenarios to consider • selecting a few additional scenarios that will allow risk mitigation or greater architecture coverage Then: • Try to script those scenarios in the preliminary architecture • discover additional architectural elements, or sometimes significant architectural changes that need to occur to accommodate these scenarios • update the 4 main blueprints: logical, process, development, physical • revise the existing scenarios based on the changes • upgrade the implementation (the architectural prototype) to support the new extended set of scenario. • Test. Measure under load, in real target environment if possible. • All five blueprints are then reviewed to detect potential for simplification, reuse, commonality. • Design guidelines and rationale are updated. • Capture the lessons learned. End loop The initial architectural prototype evolves to become the real system. Hopefully after 2 or 3 iterations, the architecture itself become stable: no new major abstractions are found, no new subsystems or processes, no

13

new interfaces. The rest of the story is in the realm of software design, where, by the way, development may continue using very similar methods and process. The duration of these iterations varies considerably: with the size of the project to put in place, with the number of people involved and their familiarity with the domain and with the method, and with the degree of “unprecedentedness” of the system w.r.t. this development organization. Hence the duration of an iteration may be 2-3 weeks for a small project (e.g., 10 KSLOC), or up to 6-9 months for a large command and control system (e.g., 700 KSLOC).

Documenting the architecture
The documentation produced during the architectural design is captured in two documents: • A Software Architecture Document, whose organization follows closely the “4+1” views (cf. fig. 13 for a typical outline) • A Software Design Guidelines, which captures (among other things) the most important design decisions that must be respected to maintain the architectural integrity of the system. Title Page Change History Table of Contents List of Figures 1. Scope 2. References 3. Software Architecture 4. Architectural Goals & Constraints 5. Logical Architecture 6. Process Architecture 7. Development Architecture 8. Physical Architecture 9. Scenarios 10. Size and Performance 11. Quality Appendices A. Acronyms and Abbreviations B. Definitions C. Design Principles Figure 13 — Outline of a Software Architecture Document

Conclusion
This “4+1” view model has been used with success on several large projects with or without some local customization and adjustment in terminology4. It actually allowed the various stakeholders to find what they want to know about the software architecture. Systems engineers approach it from the Physical view, then the Process view. End-users, customers, data specialists from the Logical view. Project managers, software configuration staff see it from the Development view. Other sets of views have been proposed and discussed, within Rational and elsewhere, for instance by Meszaros (BNR), Hofmeister, Nord and Soni (Siemens), Emery and Hilliard (Mitre)8, but we have found that often these other views proposed could usually be folded into one of the 4 we described. For example a Cost & Schedule view folds into the Development view, a Data view into the Logical view, an Execution view into a combination of the Process and Physical view.
View Components Connectors Logical Class association, inheritance, containment Class category Process Task Rendez-vous, Message, broadcast, RPC, etc. Process Development Module, Subsystem compilation dependency, “with” clause, “include” Subsystem (library) Physical Node Communication medium, LAN, WAN, bus, etc. Physical subsystem Scenarios Step, Scripts

Containers

Web

14

Stakeholders Concerns

End-user Functionality

Tool support

Rose

System designer, integrator Performance, availability, S/W faulttolerance, integrity UNAS/SALE DADS

Developer, manager Organization, reuse, portability, lineof-product Apex, SoDA

System designer Scalability, performance,av ailability UNAS, Openview DADS

End-user, developer Understandability

Rose

Table 1 — Summary of the “4+1” view model Acknowledgments The “4+1” view model owes its existence to many colleagues at Rational, at Hughes Aircraft of Canada, at Alcatel, and elsewhere. In particular I would like to thank for their contributions Ch. Thompson, A. Bell, M. Devlin, G. Booch, W. Royce, J. Marasco, R. Reitman, V. Ohnjec, and E. Schonberg.

References
1. 2. 3. 4. 5. 6. 7. 8. D. Garlan & M. Shaw, “An Introduction to Software Architecture,” Advances in Software Engineering and Knowledge Engineering, Vol. 1, World Scientific Publishing Co. (1993). D. E. Perry & A. L. Wolf, “Foundations for the Study of Software Architecture,” ACM Software Engineering Notes, 17, 4, October 1992, 40-52. Ph. Kruchten & Ch. Thompson, “An Object-Oriented, Distributed Architecture for Large Scale Ada Systems,” Proceedings of the TRI-Ada ’94 Conference, Baltimore, November 6-11, 1994, ACM, p.262-271. G. Booch: Object-Oriented Analysis and Design with Applications, 2nd. edition, Benjamin-Cummings Pub. Co., Redwood City, California, 1993, 589p. K. P. Birman, and R. Van Renesse, Reliable Distributed Computing with the Isis Toolkit, IEEE Computer Society Press, Los Alamitos CA, 1994. K. Rubin & A. Goldberg, “Object Behavior Analysis,” CACM, 35, 9 (Sept. 1992) 48-62 B. I. Witt, F. T. Baker and E. W. Merritt, Software Architecture and Design—Principles, Models, and Methods, Van Nostrand Reinhold, New-York (1994) 324p. D. Garlan (ed.), Proceedings of the First Internal Workshop on Architectures for Software Systems, CMU-CS-TR-95-151, CMU, Pittsburgh, 1995.

15

Similar Documents

Premium Essay

Civil

...Rivera 1 Mrs. Smith Extra Credit 8 May, 2014 The Civil War During the summer of 18 61, Willmar McClain decided to move his family to Appomattox, courthouse from harms away. In 1865, Lee surrendered his army of northern Virginia to Grant in the front yard of the courthouse and on that day.. The civil war was fought in ten thousand places. More than 3 million Americans fought in the civil war and as a result over six hundred thousand men died. The war consisted of Four years(1861-1865) of brutal battle between Americans. The war began mainly over a dispute between the northerners and the southerners about the southerners not willing to make change of dismissing slavery. The northern state army were called the Union while the southerners were called the Confederates. In 1860, Abraham Lincoln was the president of the united states at the time. Lincoln won the presidency with only 40% of the vote George McClellan was the general for the Union side and Ulysses S. Grant was the general for the Confederate side. During the war, there were many people who took it upon themselves to justify their beliefs by killing their opposing side. For example, the radical abolitionist John Brown thought he was gods agent on earth. Him and his sons hacked 5 pro-slavery men to death with swords. In 1865, The Union were simply outnumbered compared to the confederates. The union lack the amount of soldiers, the necessary utilities needed to survive, weapons, ammo ect. and even with...

Words: 265 - Pages: 2

Premium Essay

Civil Right

...NONVIOENT RESISTANCE & RACIAL JUSTICE The Civil Rights Movement was a movement that gave African Americans equal rights and freedom. One person who was important during this time was Martin Luther King, Jr. He was a strong advocate that used non-violent resistance against the racial oppression of African Americans. Racial justice is where everyone is treated equally and not discriminated against. No matter if a person has a different type of skin color, they should not be treated differently. The way King did this was speaking to people of other races. One of his well-known speeches was “I have dream.” He claimed that black people should have equal rights as the whites. “One day right there in Alabama, little black boys and black girls will be able to join hands with little white boys and white girls as sisters and brothers.” Martin Luther King, Jr. wanted Americans to be unified. He wrote about six necessary characteristics of nonviolence and was inspired by Gandhi. Though these were big part of the movement, King really gave much emphasis to it by fighting for freedom, and treating people equally. Three significant aspects that he brought to The Civil Rights Movement were strength of spirit, friendship, and willingness to accept suffering without retaliation Black people bonded together during The Civil Rights Movement in 1950s and 1960s. When people were gathered in the fight for freedom, it kept their spirits...

Words: 844 - Pages: 4

Premium Essay

Civil Engineers

...Responsibilities and Duties of a Civil Engineer Author : Exforsys Inc.     Published on: 26th Oct 2006    |   Last Updated on: 13th Dec 2010 The General Responsibilities and Specific Duties of a Civil Engineer The work of a civil engineer is all around us yet many do not even realize what a civil engineer is responsible for doing. The job role of a civil engineer is extremely important as it equates for the overall safety of society in many different facets. It is important to look at the role that a civil engineer plays and realize what they do in their daily job duties that make the area safe for the people who live there. What Is a Civil Engineer? It is important to first provide a formal definition highlighting the role of a civil engineer. A civil engineer is responsible for using their civil engineering background to plan and oversee various construction efforts in many different areas of this field. They will apply civil engineering principles to ensure that structures are constructed in the safest, sturdiest manner. General Responsibilities of a Civil Engineer A civil engineer engages in many general responsibilities on a daily basis. These responsibilities are a crucial part of their job and enable the civil engineer to engage in their profession to the best of their ability. One general responsibility of the civil engineer is to analyze various factors concerning a construction job. The civil engineer will analyze the proposed site location as well as the entire...

Words: 1134 - Pages: 5

Premium Essay

Civil Disobedience

...Civil Disobedience Civil Disobedience was a common topic between Thoreau, Gandhi, and Martin Luther King Jr. Each of these historic figures had varying views on what should be accepted in the light of civil disobedience. Thoreau felt that there should be a more violent take on what you believed in, while Gandhi and Martin Luther King Jr. felt that the people should have a peaceful nonviolent protest. The views of these offers vary due to the time period but they are all based on the same idea, civil disobedience. Thoreau, Gandhi, and King Jr. all expressed their views of civil disobedience differently. In Thoreau’s “Civil Disobedience”, he expressed his own ideas of civil disobedience with his words and actions. He showed his disagreement with the government’s policies by refusing to pay his taxes, and not reacting to how he was treated when he was jailed for the night. He believed that “the government is best which governs least” (Thoreau 392). In saying this he means that he would like to see a government that does not control the people harshly and lets them express their thoughts freely. Hare and Madden believe that civil disobedience should be “directed specifically to exert pressure that is likely to change an unjust situation” (Parker 37). While Thoreau suggests a more forceful approach, Gandhi hopes for a passive approach, Gandhi suggests a more peaceful approach when dealing with civil disobedience. He believes that if the people use force to acquire what...

Words: 669 - Pages: 3

Premium Essay

Civil Engineering

...What is Civil Engineering? This definition of Civil Engineering is found at Answer.com. Civil Engineering is a branch of engineering that encompasses the conception, design, construction, and management of residential and commercial buildings and structures, water supply facilities, and transportation systems for goods and people, as well as control of the environment for the maintenance and improvement of the quality of life. Civil engineering includes planning and design professionals in both the public and private sectors, contractors, builders, educators, and researchers. The civil engineer holds the safety, health, and welfare of the public paramount. Civil engineering projects and systems should conform to governmental regulations and statutes; should be built economically to function properly with a minimum of maintenance and repair while withstanding anticipated usage and weather; and should conserve energy and allow hazard-free construction while providing healthful, safe, and environmentally sound utilization by society. Civil engineers play a major role in developing workable solutions to construct, renovate, repair, maintain, and upgrade infrastructure. The infrastructure includes roads, mass transit, railroads, bridges, airports, storage buildings, terminals, communication and control towers, water supply and treatment systems, storm water control systems, wastewater collection, treatment and disposal systems, as well as living and working areas, recreational buildings...

Words: 329 - Pages: 2

Premium Essay

Civil Action

...The movie Civil Action is about personal injury lawyer named Jan Schlichtman who sues two major companies, Beatrice foods, and Grace Industries. Jan becomes too emotionally attached to the case. At first he is all about the money then it becomes more than that to him and he gets to involved in finding the truth, and his judgment becomes slighted. Throughout the movie and the case; civil trail procedure is shown from jury selection to the verdict. In the movie Jan starts out as a rich millionaire personal injury lawyer who is also one ofBoston’s top 10 bachelors. Then an orphan case one day had landed on his desk, and this case was filed by the town ofWoobergfor the wrongful death of eight children. Jan said no to the town at first and told them that there was no money involved for him so he would not do it, but he then got curious and did some research and found that 2 major companies were involved in this case. The companies Beatrice Foods and Grace Industries. So then Jan decides that now he has the opportunity to make a lot of money so he tells the town he has reconsidered and will do the case. Once the complaint is filed and the two companies are summoned to the pre trail court, the two lawyers for the companies are Mr. Cheeseman for Grace and Mr. Facher for Beatrice. Grace Industry’s lawyer Mr. Cheeseman tried to overturn the case by using Rule 11. Rule 11 is a very old and ridiculous rule that has not been used in decades so then his appeal is overturned. After the appeal...

Words: 700 - Pages: 3

Premium Essay

Civil Rights And Civil Liberties Essay

...4 Gita Shrestha Professor Sherry Sharifian GOVT 2305 September 29, 2017 Civil Liberties and Civil Rights The state of being free where government cannot abridge from any law or judicial interpretation without due process is known as civil liberties. According to Oxford dictionary, “Civil Liberty is the state of being subject only to laws established for the good of the community, especially with regard to freedom of action and speech.” Hence in simple form we can say civil liberty is the freedom or rights we got since we are born. 1 Civil liberties may include freedom of speech, freedom of religion, right to privacy, freedom of expression, freedom of assembly right to fair trial etc. To talk about civil rights, Oxford Dictionary defined,...

Words: 665 - Pages: 3

Premium Essay

Civil Engineers

...Responsibilities and Duties of a Civil Engineer Author : Exforsys Inc. Published on: 26th Oct 2006 | Last Updated on: 13th Dec 2010 The General Responsibilities and Specific Duties of a Civil Engineer The work of a civil engineer is all around us yet many do not even realize what a civil engineer is responsible for doing. The job role of a civil engineer is extremely important as it equates for the overall safety of society in many different facets. It is important to look at the role that a civil engineer plays and realize what they do in their daily job duties that make the area safe for the people who live there. What Is a Civil Engineer? It is important to first provide a formal definition highlighting the role of a civil engineer. A civil engineer is responsible for using their civil engineering background to plan and oversee various construction efforts in many different areas of this field. They will apply civil engineering principles to ensure that structures are constructed in the safest, sturdiest manner. General Responsibilities of a Civil Engineer A civil engineer engages in many general responsibilities on a daily basis. These responsibilities are a crucial part of their job and enable the civil engineer to engage in their profession to the best of their ability. One general responsibility of the civil engineer is to analyze various factors concerning a construction job. The civil engineer will analyze the proposed site location as well as the entire...

Words: 327 - Pages: 2

Premium Essay

Civil Engineering.

...naturally built environment, including works such as bridges, roads, canals, dams and buildings.[1][2][3] Civil engineering is the oldest engineering discipline after military engineering,[4] and it was defined to distinguish non-military engineering from military engineering.[5] It is traditionally broken into several sub-disciplines including environmental engineering,geotechnical engineering, structural engineering, transportation engineering, municipal or urban engineering, water resources engineering, materials engineering, coastal engineering,[4] surveying, and construction engineering.[6] Civil engineering takes place on all levels: in the public sector from municipal through to federal levels, and in the private sector from individual homeowners through to international companies. ------------------------------------------------- History of the civil engineering profession Engineering has been an aspect of life since the beginnings of human existence. The earliest practices of Civil engineering may have commenced between 4000 and 2000 BC in Ancient Egypt and Mesopotamia (Ancient Iraq) when humans started to abandon a nomadic existence, thus causing a need for the construction of shelter. During this time, transportation became increasingly important leading to the development of the wheel and sailing. Until modern times there was no clear distinction between civil engineering and architecture, and the term engineer and architectwere mainly geographical variations referring...

Words: 5421 - Pages: 22

Free Essay

Civil Lawsuit

...Civil Lawsuit Student Name: Course/Number: Due Date: Faculty Name: Question One: Have you or any family member or close personal friend ever taken the drug before? This question will be helpful in determining whether to keep or dismiss the potential juror from the jury pool since it would determine whether they have any history of using the drug manufactured by the defendant. The reason is that in some cases, individuals may have negative reactions from using particular drugs that contain certain elements in them of which they may be allergic to. At the same time, another family member or close personal friend of the individual may have also taken the drug and not once did it result in them facing any side effects. Question Two: Have any of you or members of your immediate family ever suffered any complications from acne before? This question will be also be helpful to determine whether to keep or dismiss the potential juror from the jury pool because it would determine whether the plaintiff has a history with the resulting side effects of using the drug. Most drugs that are manufactured by companies result in possible different side effects ranging from one individual to another. With regards to the side effect that the plaintiff suffered, it is important to determine whether the disease is part of their family history. Question Three: The court is aware that there has been a great deal of public discussion in print as well as in the media through numerous TV commercials...

Words: 657 - Pages: 3

Free Essay

Civil Litigation

...Civil Litigation Process Litigation is the process of bringing, maintaining and defending a lawsuit. This process is very difficult, time-consuming, and costly. In addition, the entire process must comply with complex rules and regulations. The pretrial litigation process is divided into a pretrial and trial process. The pretrial litigation process can also be divided into several major steps. These steps include: pleadings, discovery, dismissals and pretrial judgments, and settlement conference. The entire process begins when a party brings a dispute against another party to a court system. The party bringing the dispute or compliant is the plaintiff. The party on the receiving end of the complaint or lawsuit is referred to as the defendant. The paperwork filed with the court to initiate and respond to a lawsuit is called the pleadings. Major parts of the pleadings include the complaint, the answer, the cross-complaint, and the reply. For the plaintiff to initiate a lawsuit, a complaint must be filed with the proper court system. The complaint is a document served to the defendant to initiate the lawsuit. This document must name the parties to the lawsuit, allege the ultimate facts and law violated, and contain a “prayer for relief” for a remedy to be awarded by the court. The length of the complaint will usually depend on the complexity of the case being heard. Once the process of filing a complaint is finished the court will issue a summons, a court order...

Words: 3130 - Pages: 13

Premium Essay

Civil Disopbeidence

...Cannon 30 April 2013 Civil Disobedience When should civil disobedience be justified? Civil disobedience is defined as the refusal to obey government laws, in an effort to bring upon a change in governmental policy or legislation. Civil disobedience is not an effort to dissolve the American government, because without government our society would result in chaos. Sometimes, when there is an unjust law and the government won't take the initiative to fix it, the public must act as civil disobedient to bring awareness and fix the unjust law. There have been times when citizens have felt the need to revolt against the government because of an issue that is unjust. There were such cases during the time of Dr. Martin Luther King Jr. and Henry David Thoreau made such actions to prove their point. Civil disobedience is justified when its goal is to obtain equal rights and service for everyone, without causing physical damage to people and their property, and without breaking the just laws that are already enforced. It should only be practiced when the government fails to uphold justice and fix laws that don't allow everyone the equal rights already given to some. In his essay, "Civil Disobedience" Thoreau wrote in 1849 after spending a night in the Walden town jail for refusing to pay a poll tax that supported the Mexican War. He recommended passive resistance as a form of tension that could lead to reform of unjust laws practiced by the government. He voiced civil disobedience as "An...

Words: 1384 - Pages: 6

Free Essay

Civil Union

...Journal Article - Case Comment Civil unions - exclusion of same-sex couples. E.H.R.L.R. 2014, 2, 179-184 [European Human Rights Law Review] Publication Date: 2014 Subject: Family law. Other related subjects: Human rights Keywords: Civil partnerships; Greece; Right to respect for private and family life; Same sex partners; Sexual orientation discrimination Abstract: Comments on the European Court of Human Rights decision in Vallianatos v Greece (29381/09) on whether a Greek law affording legal recognition to civil unions between unmarried heterosexual couples but not same sex couples breached the European Convention on Human Rights 1950 arts 8 and 14. Notes that the court did not assess whether Greece had a positive obligation to introduce civil unions for same sex couples. Considers the potential implications of the ruling for the civil partnership institution in England and Wales. Legislation Cited: European Convention on Human Rights 1950 art.8 European Convention on Human Rights 1950 art.14 Cases Cited: Vallianatos v Greece (29381/09) Unreported November 7, 2013 (ECHR (Grand Chamber)) © 2014 Sweet & Maxwell Page1 European Human Rights Law Review 2014 Case Comment Civil unions - exclusion of same-sex couples Subject: Family law. Other related subjects: Human rights Keywords: Civil partnerships; Greece; Right to respect for private and family life; Same sex partners; Sexual orientation discrimination Legislation: European Convention on Human Rights European Convention...

Words: 3504 - Pages: 15

Premium Essay

Civil Rights

...The Civil Rights Movement Civil rights for blacks became a major national political issue in the 1950's and early 1960's. Thousands of Americans, white and black, were demonstrating across the South in an effort to end segregation in stores, restaurants, hotels, libraries, and all public places. Fair housing and equal employment opportunities were also a major concern. The demonstrators used tactics such as picketing, marches, demonstrations, voter registration, and various forms of civil disobedience. Thousands of civil rights demonstrators were arrested, and hundreds were beaten. Those who did not want the old ways of treating blacks to change dynamited scores of churches and homes. It was always important thought that the demonstrators and their acts were none violent, as Martin Luther King Jr. believed that nonviolence could and will overcome violence. Black people faced many hardships when it came to daily living. They were not allowed to attend white schools, they were not allowed to eat or shop in the same places as most white people. Even transportation was segregated so that blacks and whites were separated. One of the biggest blows for black equality came when Oliver Brown challenged the School Board of Topeka so that his child could attend school. The Supreme Court, under Chief Justice Earl Warren, announced its decision in the case of Brown v. Board of Education of Topeka, Kansas on May 17, 1954.  The decision declared that the system of segregated public...

Words: 501 - Pages: 3

Free Essay

Civil Disobedience

...result in crossing lines and getting in trouble, but can also be one the most effective way to get noticed. If an opinion is not being noticed, citizens can make it a priority to be heard because without a voice there can be no guidelines. In government, boundaries are needed to lead its citizens towards a righteous path; however, if a citizen leans toward another path of righteousness a voice is needed to be heard. Citizens should not be lurking in the shadows and keeping an opinion bottled up to never be heard. If an idea or belief gets shot down, a citizen can try again to make their idea noticed. Martin Luther King Jr. addresses civil disobedience in “ Letter from Birmingham Jail,” as “ Injustice anywhere is a threat to justice everywhere” (173). Although civil disobedience can alter life drastically, it does not mean to continue on the path of insanity, but to stand up for what you believe is just. While standing up for justice is admirable, however, it is not always easy. In Iran, the government can take disciplinary action towards its citizens striking fear and panic into their souls. In the book The Complete Persepolis written by Marjane Satrapi, in which she discusses a hectic life in Iran. In chapter fourteen “The Wine,” Satrapi discusses how the government takes disciplinary action towards the citizens who chose to rebel by having a party. The citizens found at the party...

Words: 924 - Pages: 4