Register your product to gain access to bonus material or receive a coupon.
This book introduces the concepts and practices of software architecture-what a software system is designed to do and how that system's components are meant to interact with each other. An architecture is an abstract view distinct from the details of implementation, algorithm, and data representation. Architecture is, increasingly, a crucial part of a software organization's business strategy because it is a reusable asset that can be reapplied to subsequent systems. Reuse leads to the architecture business cycle, allowing an organization to leverage the effort invested in an architecture to enter whole new business areas.
Drawing on their extensive experience building and evaluating architectures, the authors cover the essential technical topics for specifying and validating a system. For the first time in a book, they also emphasize the importance of the business context in which large systems are designed. Their aim is to present software architecture in a real-world setting, reflecting both the constraints and the opportunities that companies encounter. To that end, key points of both technical and organizational discussions are illuustrated by a selection of "industrial-strength" case studies. These studies, undertaken by the authors and the Software Engineering Institute, describe how successful architectures have led to the fulfillment of demanding requirements and enhanced an organization's position in its business community.
If you design, develop, or manage the building of large software systems, or if you have an interest in acquiring such systems for your corporation or government agency, use this book to quickly get you up to speed on software architecture.
0201199300B04062001
(Each chapter concludes with a Summary, For Further Reading and/or Discussion Questions.)
Preface.
Reader’s Guide.
Acknowledgments.
I. ENVISIONING ARCHITECTURE.
1. The Architecture Business Cycle.Where Do Architectures Come From?
Software Processes and the Architecture Business Cycle.
What Makes a “Good” Architecture?
2. What Is Software Architecture?What Software Architecture Is and What It Isn’t.
Architectural Styles, Reference Models, and Reference Architectures.
Other Viewpoints.
Why Is Software Architecture Important?
Architectural Structures.
3. A-7E: A Case Study in Utilizing Architectural Structures.Relationship to the Architecture Business Cycle.
Requirements and Qualities.
Architectural Approach.
Architecture for the A-7E Avionics System.
II. CREATING AND ANALYZING AN ARCHITECTURE.
4. Quality Attributes.Architectures and Quality Attributes.
Architectural Means for Achieving Qualities.
5. Moving From Qualities to Architecture: Architectural Styles.Introducing Architectural Styles.
Organizing Architectural Styles.
Refinements of Styles.
Using Styles in System Design.
Achieving Quality Goals with Architectural Styles.
6. Unit Operations.Introducing Unit Operations.
Applying Unit Operations to User-Interface Software.
Ramifications of Addressing Quality Attributes.
7. The World Wide Web: A Case Study in Interoperability.Relationship to the Architecture Business Cycle.
Requirements and Qualities.
Architectural Approach.
Architectural Solution.
Architecture Business Cycle Today.
8. CORBA: A Case Study of an Industry Standard Computing Infrastructure.Relationship to the Architecture Business Cycle.
Requirements and Qualities.
Architectural Approach.
Architectural Solution.
The Web and CORBA.
9. Analyzing Development Qualities at the Architectural Level: The Software Architecture Analysis Method.The How and Why of Analyzing Software Architecture.
Overview of Software Architecture Analysis Method.
A Small Example of SAAM Application.
SAAM Applied to a Financial Management System.
SAAM Applied to a Revision-Control System.
Observations on SAAM.
10. Architecture Reviews.Costs and Benefits.
Review Techniques.
The Review Practice.
11. Air Traffic Control: A Case Study in Designing for High Availability.Relationship to the Architecture Business Cycle.
Requirements and Qualities.
Architectural Approach.
Architectural Solution.
Assessing the Architecture for Maintainability.
III. MOVING FROM ARCHITECTURES TO SYSTEMS.
12. Architecture Description Languages.Architecture Description Languages Today.
Capturing Architectural Information in an ADL.
How Do ADLs Help System Development?
Choosing an ADL.
An Example of an ADL.
13. Architecture-Based Development.Forming the Team Structure.
Creating a Skeletal System.
Exploiting Patterns in Software Architecture.
Ensuring Conformance to an Architecture.
Building Domain-Specific Languages.
14. Flight Simulation: A Case Study in Architecture for Integrability.Relationship to the Architecture Business Cycle.
Requirements and Qualities.
Architectural Approach.
Architectural Solution.
Achievement of Goals.
IV. REUSEING ARCHITECTURES.
15. Product Lines: Reusing Architectural Assets within an Organization.Creating Products and Evolving a Product Line.
Organizational Implications of a Product Line.
Component-Based Systems.
16. CelsiusTech: A Case Study in Product Line Development.Relationship to the Architecture Business Cycle.
Requirements and Qualities.
Architectural Approach.
17. Communitywide Reuse of Architectural Assets.Reference Architectures.
Open Systems.
The Process of Engineering an Open System.
Standards.
18. The Meteorological Anchor Desk System: A Case Study in Building a Web-Based System from Off-the-Shelf Components.Relationship to the Architecture Business Cycle.
Requirements and Qualities.
Architectural Approach.
Architectural Solution.
19. Software Architecture in the Future.The Architecture Business Cycle Revisited.
Architecture and Legacy Systems.
Achieving an Architecture.
From Architecture to System.
Acronyms.Software architecture is an important field of study that is becoming more important and more talked about with every passing day. But, to our knowledge, there exists little practical guidance on how to manage software architecture within a real software development organization from a technical or from a managerial perspective. This book has emerged from our belief that the coupling of the software architecture of a system and its business and organizational context has not been well explored.
Our experience with designing and reviewing large and complex software-intensive systems has led us to recognize the role of business and organization in the design of the system and also in its ultimate success or failure. Systems are built to satisfy an organizationis requirements (or assumed requirements in the case of shrink-wrapped products), and these requirements determine the extent to which a system must meet performance targets, be highly available, interoperate with other systems, or be designed for long lifetimes. These properties of a system are constrained by the systemis software architecture; or, to put it another way, the desire to achieve these properties influences the design choices made by a software architect.
In this book we demonstrate this coupling through the use of case studies drawn from real systems, including the following:
These and other case studies show how the architectures flow from requirements of organizations and their business models, from the experience of the organizationis architects, and from the prevailing design climate.
In addition, we discuss how architectures themselves can be powerful vehicles for influencing all of the preceding. A successful product or set of products can influence how other products are built; certainly, the case study of the software underlying the World Wide Web is a good example of this. Before this system existed, there was far less network awareness; less thought was given to accessibility of data; and security was the concern of only a few organizations, typically financial institutions and government agencies.
This book is aimed at the software professionalothe person designing and implementing large software-intensive systemsoand at the managers of software professionals. It does not contain, for example, detailed financial justification for using a software architecture, for doing early architectural analyses, or for investing in a product line approach to building software. We provide only anecdotal evidence to support the claims that these pay off, although we passionately believe they do.
A software architecture is the development product that gives the highest return on investment with respect to quality, schedule, and cost. This is because an architecture appears early in a productis lifetime. Getting it right sets the stage for everything to come in the systemis life: development, integration, testing, and modification. Getting it wrong means that the fabric of the system is wrong, and it cannot be fixed by weaving in a few new threads or pulling out a few existing ones, which often causes the entire fabric to unravel. Also, analyzing architectures is inexpensive, compared with other development activities. Thus, architectures give a high return on investment partially because decisions made for the architecture have substantial downstream consequences and because checking and fixing an architecture is relatively inexpensive.
We also believe that reusable components are best achieved within an architectural context. But components are not the only artifacts that can be reused. Reuse of an architecture leads to the creation of families of similar systems, which in turn leads to new organizational structures and new business opportunities.
A large percentage of this book is devoted to presenting real architectures that were designed to solve real problems in real organizations. We chose the case studies to illustrate the types of choices that architects must make to achieve their quality goals and to show how organizational goals affect the final systems.
In addition to the case studies, this book offers a set of techniques for designing, building, and evaluating software architectures. We look at techniques for understanding quality requirements in the context of an architecture and for building architectures that meet these quality requirements. We look at architecture description languages as a means of describing and validating software architectures. We look at techniques for analyzing and evaluating an architectureis fitness for its purpose. Each of these techniques is derived from our experience, and the experience of our colleagues at the Software Engineering Institute, with a variety of software systems. These systems range up to millions of lines of code and are large-team, multiyear development efforts.
We have also provided a visual language for describing software architectures that contains enough expressiveness to describe both procedural and object-oriented systems and enough generality to describe systems at any granularity: a division of functionality, a set of software structures, a set of hardware structures, or any combination of these. Although a visual notation is not, in itself, documentation of an architecture, it is an integral part of such a documentation. One of our complaints with the state-of-the-practice in architecture today is the vagueness of architectural descriptions. We hope that the visual language described here is a contribution to the field, aimed at increasing the effectiveness of architectural documentation.
The book targets software professionals, or students who have knowledge and experience in software engineering, and we anticipate the following three classes of readers:
Although business issues are discussed throughout the book (for example, how an architecture affects an organizationis ability to compete in a market or how the architecture underlying a product family affects time to market), we present this material without going into the business issues in great depth and without using business jargon. We are, after all, software engineers. The technical sections are presented in more depth. These sections represent current work in the field of software architectureothe point where research meets practice; they are the philosophical foundations of the book. The case studies illustrate these technical foundations and show how they are realized in practice. However, we have written the case studies in such a way that expertise in the application domain from which each case study was drawn is not required. You will not need to be a pilot to understand either the air traffic control system or the flight simulation case studies. However, you will need to have a reasonable background in computer science, software engineering, or a related discipline to benefit from the lessons of the case studies.
One final note on the organization of the book. Software Architecture in Practice is not intended to be a prescriptive method for architectural design. In fact, we believe that it is impossible to satisfactorily create such a prescriptive design method. Any design involves trade-offs: Modifiability affects performance, security affects modifiability, scalability affects reliability, and everything affects cost. Any prescriptive method implicity or explicitly assumes that some of these qualities are more important than others and guides users toward the maximization of that goal. Our feeling is that although such an approach may be appropriate in a specific domain, it cannot possibly work in general. Quality requirements are different from organization to organization and from year to year.
By way of contrast, we offer a toolbox approach to design. We believe that different architectural tools and techniques are appropriate for different situations and different quality goals. No single technique will ever suffice. So, we present a number of different architectural tools (layering, multiple views, patterns, blackboards, and so forth) and techniques (analysis methods, integration strategies, engineering principles) and illustrate their usage in different business and technical contexts.
Not surprisingly, most of the case studies use a mix of tools and techniques because they were chosen to illustrate how software architecture was the foundation for a successful system. These systems were successful precisely because they chose the right tools and implemented them using the right techniques. Anything less would not have resulted in a successful system, as we hope to persuade you in the coming pages.