Download BCK12 Software Architecture in Practice
Total Page:16
File Type:pdf, Size:1020Kb
Bass.book Page i Thursday, March 20, 2003 7:21 PM Software Architecture in Practice SecondThird Edition Edition i The SEI Series in Software Engineering Visit informit.com/sei for a complete list of available products. he SEI Series in Software Engineering represents is a collaborative Tundertaking of the Carnegie Mellon Software Engineering Institute (SEI) and Addison-Wesley to develop and publish books on software engineering and related topics. The common goal of the SEI and Addison-Wesley is to provide the most current information on these topics in a form that is easily usable by practitioners and students. Books in the series describe frameworks, tools, methods, and technologies designed to help organizations, teams, and individuals improve their technical or management capabilities. Some books describe processes and practices for developing higher-quality software, acquiring programs for complex systems, or delivering services more effectively. Other books focus on software and system architecture and product-line development. Still others, from the SEI’s CERT Program, describe technologies and practices needed to manage software and network security risk. These and all books in the series address critical problems in software engineering for which practical solutions are available. Software Architecture in Practice Third Edition Len Bass Paul Clements Rick Kazman ▲ ▼▼ Addison-Wesley Upper Saddle River, NJ • Boston • Indianapolis • San Francisco New York • Toronto • Montreal • London • Munich • Paris • Madrid Capetown • Sydney • Tokyo • Singapore • Mexico City TheThe SEI Series SEISEI in SeriesSeries Software Engineeringin in Software Software Engineering Engineering Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designationsMany ofof thetheappear designations designations in this book, used usedand bythe by manufacturerspublisher manufacturers was aware and and ofsellers asellers trademark to distinguishto distinguish claim, the their designations their products products have are been claimedare printedclaimed with ini- tialas capital trademarks.trademarks. letters or Where Wherein all capitals. those those designations designations appear appear in inthis this book, book, and and the the publisher publisher was was aware aware of a oftrade a trade- - CMM,mark CMMI, claim,claim, Capability the the designations designations Maturity Model,have have been Capabilitybeen printed printed Maturity with with initial Modeling, initial capital capital Carnegie letters letters Mellon, or inor all CERT,in capitals.all andcapitals. CERT Coordination Center are registered in the U.S. Patent and Trademark Office by Carnegie Mellon University. CMM, CMMI,CMMI, Capability Capability Maturity Maturity Model, Model, Capability Capability Maturity Maturity Modeling, Modeling, Carnegie Carnegie Mellon, Mellon, CERT, CERT, ATAM;and CERTCERTArchitecture CoordinationCoordination Tradeoff Analysis Center Center Method; are are registered registered CMM Integration; in inthe the U.S. U.S.COTS Patent Patent Usage-Risk and and Trademark Evaluation; Trademark Office CURE; Office EPIC;by Carnegieby Evolutionary Carnegie ProcessMellon for University. Integrating COTS Based Systems; Framework for Software Product Line Practice; IDEAL; Interim Profile; OAR; OCTAVE;Mellon Operationally University. Critical Threat, Asset, and Vulnerability Evaluation; Options Analysis for Reengineering; Personal Soft- wareATAM; Process; ArchitectureArchitecture PLTP; Product Tradeoff Tradeoff Line Technical Analysis Analysis Probe; Method; Method; PSP; SCAMPI; CMM CMM SCAMPIIntegration; Integration; Lead Appraiser;COTS COTS Usage-Risk SCAMPI Usage-Risk Lead Evaluation; Assessor; Evaluation; SCE; SEI; SEPG;CURE; Team EPIC;EPIC; Software Evolutionary Evolutionary Process; and ProcessTSP Process are service for for Integrating Integratingmarks of Carnegie COTS COTS MellonBased Based University.Systems; Systems; Framework Framework for Softwarefor Software Product Line Practice; IDEAL; Interim Profile; OAR; OCTAVE; Operationally Critical Threat, Asset, SpecialProduct permission Line Practice; to reproduce IDEAL; portions Interim of CMMI Profile; for Development OAR; OCTAVE;(CMU/SEI-2010-TR-035), Operationally © Critical2010 by CarnegieThreat, MellonAsset, and Vulnerability Evaluation; Options Analysis for Reengineering; Personal Software Process; PLTP; University,and Vulnerability has been granted Evaluation; by the Software Options Engineering Analysis Institute. for Reengineering; Personal Software Process; PLTP; Product Line Technical Probe; PSP; SCAMPI; SCAMPI Lead Appraiser; SCAMPI Lead Assessor; TheProduct authors Lineand publisher Technical have Probe; taken care PSP; in theSCAMPI; preparation SCAMPI of this book, Lead but Appraiser; make no expressed SCAMPI or implied Lead warranty Assessor; of any SCE; SEI; SEPG; Team Software Process; and TSP are service marks of Carnegie Mellon University. kindSCE; and SEI;assume SEPG; no responsibility Team Software for errors Process; or omissions. and TSP No liability are service is assumed marks for ofincidental Carnegie or consequential Mellon University. damages in connectionSpecial permission with or arising to outreproduce of the use portions of the information of works copyrightor programs by contained Carnegie herein. Mellon University, as listed TheonSpecial publisher page 588,permission offers is granted excellent to reproduce by discounts the Software onportions this Engineeringbook of whenworks ordered Institute.copyright in quantity by Carnegie for bulk purchases Mellon University,or special sales, as whichlisted may includeon page electronic 588, isversions granted and/or by thecustom Software covers andEngineering content particular Institute. to your business, training goals, marketing focus, and Many of the designations used by manufacturers and sellers to distinguish their products are claimed branding interests. For more information, please contact: asMany trademarks. of the designations Where those used designations by manufacturers appear in thisand book,sellers and to thedistinguish publisher their was productsaware of area trade claimed- U.S. Corporate and Government Sales markas trademarks. claim, the Wheredesignations those havedesignations been printed appear with in initial this book, capital and letters the publisheror in all capitals. was aware of a trade- mark(800) claim, 382-3419 the designations have been printed with initial capital letters or in all capitals. [email protected] authors and publisher have taken care in the preparation of this book, but make no expressed or ForimpliedThe sales authors outside warranty andthe United publisherof any States, kind have please and taken contact:assume care no in responsibility the preparation for of errors this book,or omissions. but make No no liability expressed is or assumedimpliedInternational warrantyfor incidental Sales of any or consequentialkind and assume damages no responsibility in connection forwith errors or arising or omissions. out of the Nouse liabilityof the is [email protected] for or incidental programs orcontained consequential herein. damages in connection with or arising out of the use of the VisitForinformation us information on the Web: or programs aboutinformit.com/aw buying contained this title herein. in bulk quantities, or for special sales opportunities (which may LibraryincludeThe publisherof Congresselectronic offersCataloging-in-Publication versions; excellent custom discounts cover Data ondesigns; this book and whencontent ordered particular in quantity to your forbusiness, bulk purchases training or Chrissis,goals,special Marymarketing sales, Beth. which focus, may or include branding electronic interests), versions please and/orcontact custom our corporate covers andsales content department particular at corp to -your [email protected],CMMI for developmenttraining goals, : orguidelines (800)marketing 382-3419. for processfocus, integrationand branding and productinterests. For more information, please contact: improvementFor government / Mary sales Beth Chrissis,inquiries, Mike please Konrad, contact Sandy go [email protected].—3rd ed. p. U.S.cm. Corporate and Government Sales ForIncludes questions (800)bibliographical about382-3419 sales references outside and the index. U.S., please contact [email protected]. VISBNisit us978-0-321-71150-2 [email protected] the Web: informit.com/aw (hardcover : alk. paper) 1.For Capability sales outside maturity the model United (Computer States, software) please contact:2. Software engineering.Library of 3. Congress Production Cataloging-in-Publication engineering. 4. Manufacturing Data processes. I. Konrad, Mike.International II. Shrum, Sales Sandy. III. Title. Bass, Len. [email protected] 2011 005.1—dc22Software architecture in practice / Len Bass, Paul Clements, Rick Kazman.—3rd ed. Visitp. us oncm.—(SEI the Web: series informit.com/aw in software engineering) 2010049515 Copyright Includes © 2011 bibliographical Pearson Education, references Inc. and index. LibraryISBN of 978-0-321-81573-6Congress Cataloging-in-Publication (hardcover : alk. paper) Data 1. Software architecture. 2. System All rights reserved. Printed in the United States of America. This publication is protected by copyright, and permission must be obtaineddesign.Bass, Len.from I. Clements, the publisher Paul, prior