Home > Store

Documenting Software Architectures: Views and Beyond, 2nd Edition

eBook (Watermarked)

  • Your Price: $51.19
  • List Price: $63.99
  • Includes EPUB and PDF
  • About eBook Formats
  • This eBook includes the following formats, accessible from your Account page after purchase:

    ePub EPUB The open industry format known for its reflowable content and usability on supported mobile devices.

    Adobe Reader PDF The popular standard, used most often with the free Acrobat® Reader® software.

    This eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.

Also available in other formats.

Register your product to gain access to bonus material or receive a coupon.


  • Copyright 2011
  • Dimensions: 6-1/4" x 9-1/4"
  • Edition: 2nd
  • eBook (Watermarked)
  • ISBN-10: 0-13-265523-3
  • ISBN-13: 978-0-13-265523-1

“This new edition is brighter, shinier, more complete, more pragmatic, more focused than the previous one, and I wouldn’t have thought it possible to improve on the original. As the field of software architecture has grown over these past decades, there is much more to be said, much more that we know, and much more that we can reflect upon of what’s worked and what hasn’t—and the authors here do all that, and more.”

—From the Foreword by Grady Booch, IBM Fellow

Software architecture—the conceptual glue that holds every phase of a project together for its many stakeholders—is widely recognized as a critical element in modern software development. Practitioners have increasingly discovered that close attention to a software system’s architecture pays valuable dividends. Without an architecture that is appropriate for the problem being solved, a project will stumble along or, most likely, fail. Even with a superb architecture, if that architecture is not well understood or well communicated the project is unlikely to succeed.

Documenting Software Architectures, Second Edition, provides the most complete and current guidance, independent of language or notation, on how to capture an architecture in a commonly understandable form. Drawing on their extensive experience, the authors first help you decide what information to document, and then, with guidelines and examples (in various notations, including UML), show you how to express an architecture so that others can successfully build, use, and maintain a system from it. The book features rules for sound documentation, the goals and strategies of documentation, architectural views and styles, documentation for software interfaces and software behavior, and templates for capturing and organizing information to generate a coherent package. New and improved in this second edition:

  • Coverage of architectural styles such as service-oriented architectures, multi-tier architectures, and data models
  • Guidance for documentation in an Agile development environment
  • Deeper treatment of documentation of rationale, reflecting best industrial practices
  • Improved templates, reflecting years of use and feedback, and more documentation layout options
  • A new, comprehensive example (available online), featuring documentation of a Web-based service-oriented system
  • Reference guides for three important architecture documentation languages: UML, AADL, and SySML

Sample Content

Table of Contents

About the Cover xxi

Foreword to the Second Edition xxiii

Foreword to the First Edition xxv

Preface xxix

Acknowledgments xxxiii

Reader’s Guide xxxv

Prologue: Software Architectures and Documentation 1

P.1: A Short Overview of Software Architecture 1

P.2: A Short Overview of Architecture Documentation 9

P.3: Architecture Views 22

P.4: Architecture Styles 25

P.5: Seven Rules for Sound Documentation 36

P.6: Summary Checklist 45

P.7: Discussion Questions 46

P.8: For Further Reading 47

Part I: A Collection of Software Architecture Styles 49

I.1: Three Categories of Styles 49

I.2: Style Guides: A Standard Organization for Explaining a Style 50

I.3: Choosing Which Element and Relation Properties to Document 52

I.4: Notations for Architecture Views 53

I.5: Examples 54

Chapter 1: Module Views 55

1.1: Overview 55

1.2: Elements, Relations, and Properties of Module Views 56

1.3: What Module Views Are For 59

1.4: Notations for Module Views 60

1.5: Relation to Other Views 63

1.6: Summary Checklist 63

1.7: Discussion Questions 64

1.8: For Further Reading 64

Chapter 2: A Tour of Some Module Styles 65

2.1: Decomposition Style 65

2.2: Uses Style 74

2.3: Generalization Style 82

2.4: Layered Style 87

2.5: Aspects Style 104

2.6: Data Model 109

2.7: Summary Checklist 120

2.8: Discussion Questions 120

2.9: For Further Reading 121

Chapter 3: Component-and-Connector Views 123

3.1: Overview 123

3.2: Elements, Relations, and Properties of C&C Views 126

3.3: What C&C Views Are For 136

3.4: Notations for C&C Views 139

3.5: Relation to Other Kinds of Views 148

3.6: Summary Checklist 150

3.7: Discussion Questions 151

3.8: For Further Reading 152

Chapter 4: A Tour of Some Component-and-Connector Styles 155

4.1: An Introduction to C&C Styles 155

4.2: Data Flow Styles 157

4.3: Call-Return Styles 161

4.4: Event-Based Styles 172

4.5: Repository Styles 178

4.6: Crosscutting Issues for C&C Styles 182

4.7: Summary Checklist 185

4.8: Discussion Questions 186

4.9: For Further Reading 187

Chapter 5: Allocation Views and a Tour of Some Allocation Styles 189

5.1: Overview 189

5.2: Deployment Style 191

5.3: Install Style 198

5.4: Work Assignment Style 202

5.5: Other Allocation Styles 206

5.6: Summary Checklist 213

5.7: Discussion Questions 213

5.8: For Further Reading 214

Part II: Beyond Structure: Completing the Documentation 215

Chapter 6: Beyond the Basics 217

6.1: Refinement 218

6.2: Descriptive Completeness 222

6.3: Documenting Context Diagrams 225

6.4: Documenting Variation Points 231

6.5: Documenting Architectural Decisions 239

6.6: Combining Views 250

6.7: Summary Checklist 258

6.8: Discussion Questions 259

6.9: For Further Reading 260

Chapter 7: Documenting Software Interfaces 261

7.1: Overview 261

7.2: Interface Documentation 265

7.3: A Standard Organization for Interface Documentation 271

7.4: Stakeholders of Interface Documentation 278

7.5: Conveying Syntactic Information 279

7.6: Conveying Semantic Information 280

7.7: Examples of Interface Documentation 281

7.8: Summary Checklist 285

7.9: Discussion Questions 286

7.10: For Further Reading 286

Chapter 8: Documenting Behavior 289

8.1: Beyond Structure 289

8.2: How to Document Behavior 290

8.3: Notations for Documenting Behavior 295

8.4: Where to Document Behavior 306

8.5: Why to Document Behavior 306

8.6: Summary Checklist 308

8.7: Discussion Questions 309

8.8: For Further Reading 311

Part III: Building the Architecture Documentation 313

Chapter 9: Choosing the Views 315

9.1: Stakeholders and Their Documentation Needs 316

9.2: A Method for Choosing the Views 326

9.3: Example 329

9.4: Summary Checklist 335

9.5: Discussion Questions 335

9.6: For Further Reading 335

Chapter 10: Building the Documentation Package 337

10.1: Documenting a View 337

10.2: Documentation Beyond Views 350

10.3: Documenting a Mapping to Requirements 357

10.4: Packaging the Architecture Documentation 362

10.5: Summary Checklist 372

10.6: For Further Reading 373

Chapter 11: Reviewing an Architecture Document 375

11.1: Steps of the Procedure 376

11.2: Sample Question Sets for Reviewing the Architecture Document 382

11.3: An Example of Constructing and Conducting a Review 393

11.4: Summary Checklist 395

11.5: Discussion Questions 396

11.6: For Further Reading 396

Epilogue: Using Views and Beyond with Other Approaches 399

E.1: ISO/IEC 42010, née ANSI/IEEE Std 1471-2000 400

E.2: Rational Unified Process/Kruchten 4+1 406

E.3: Using the Rozanski and Woods Viewpoint Set 408

E.4: Documenting Architecture in an Agile Development Project 414

E.5: U.S. Department of Defense Architecture Framework 419

E.6: Where Architecture Documentation Ends 428

E.7: A Final Word 429

E.8: For Further Reading 429

Appendix A: UML—Unified Modeling Language 431

A.1: Introduction 431

A.2: Documenting a Module View 433

A.3: Documenting a Component-and-Connector View 438

A.4: Documenting an Allocation View 443

A.5: Documenting Behavior 449

A.6: Documenting Interfaces 460

Appendix B: SysML—Systems Modeling Language 465

B.1: Architecture Documentation 466

B.2: Requirements 466

B.3: Documenting a Module View 468

B.4: Documenting a Component-and-Connector View 469

B.5: Documenting an Allocation View 470

B.6: Documenting Behavior 471

B.7: Documenting Interfaces 472

B.8: Summary 472

Appendix C: AADL—The SAE Architecture Analysis and Design Language 473

C.1: Introduction 473

C.2: Documenting a Module Style 475

C.3: Documenting a Component-and-Connector View 478

C.4: Documenting a Deployment View 481

C.5: Documenting Behavior 482

C.6: Documenting Interfaces 484

C.7: Summary 484

Acronyms 487

Glossary 491

References 497

About the Authors 509

About the Contributors 513

Index 517


Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information

To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.


Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.


If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information

Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.


This site is not directed to children under the age of 13.


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information

If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information

Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents

California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure

Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact

Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice

We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020