Standards Software Architecture Lecture 26 Copyright Richard N

  • Slides: 47
Download presentation
Standards Software Architecture Lecture 26 Copyright © Richard N. Taylor, Nenad Medvidovic, and Eric

Standards Software Architecture Lecture 26 Copyright © Richard N. Taylor, Nenad Medvidovic, and Eric M. Dashofy. All rights reserved.

Software Architecture: Foundations, Theory, and Practice Objectives l l Concepts u What are standards?

Software Architecture: Foundations, Theory, and Practice Objectives l l Concepts u What are standards? u Why use standards? l And why not? (drawbacks) u Deciding when to adopt a standard Prevalent Architectural Standards u Conceptual standards u Notational standards u Standard tools u Process standards 2

Software Architecture: Foundations, Theory, and Practice Objectives l l Concepts u What are standards?

Software Architecture: Foundations, Theory, and Practice Objectives l l Concepts u What are standards? u Why use standards? l And why not? (drawbacks) u Deciding when to adopt a standard Prevalent Architectural Standards u Conceptual standards u Notational standards u Standard tools u Process standards 3

Software Architecture: Foundations, Theory, and Practice What are standards? l Definition: a standard is

Software Architecture: Foundations, Theory, and Practice What are standards? l Definition: a standard is a form of agreement between parties l Many kinds of standards u For notations, tools, processes, organizations, domains l There is a prevalent view that complying to standard ‘X’ ensures that a constructed system has high quality u This is almost never strictly true u But that doesn’t mean standards are worthless! u Here, we will attempt to put standards in perspective 4

Software Architecture: Foundations, Theory, and Practice De jure and de facto standards l l

Software Architecture: Foundations, Theory, and Practice De jure and de facto standards l l l Some standards are controlled by a body considered authoritative u ANSI, ISO, ECMA, W 3 C, IETF These standards are called de jure (“from law”) De jure standards usually u are formally defined and documented u are evolved through a rigorous, well-known process u are managed by an independent body, governmental agency, or multi-organizational coalition rather than a single individual or company 5

Software Architecture: Foundations, Theory, and Practice De jure and de facto standards (cont’d) l

Software Architecture: Foundations, Theory, and Practice De jure and de facto standards (cont’d) l l l Some standards emerge through widespread awareness and use These standards are called de facto (“in practice”) De facto standards usually u are created by a single individual organization to address a particular need u are adopted due to technical superiority or market dominance of the creating organization u evolve through an emergent, market-driven process u are managed by the creating organization or the users themselves, rather than through a formal custodial body 6

Software Architecture: Foundations, Theory, and Practice Examples of de jure and de facto l

Software Architecture: Foundations, Theory, and Practice Examples of de jure and de facto l De jure standards UML (managed by OMG) u CORBA (also managed by OMG) u HTTP protocol (managed by IETF) De facto standards u PDF format (managed by Adobe) l May become de jure through ISO u Windows (managed by Microsoft) There is a substantial gray area between these two u l l 7

Software Architecture: Foundations, Theory, and Practice Gray-area Standards l l HTML u Officially standardized

Software Architecture: Foundations, Theory, and Practice Gray-area Standards l l HTML u Officially standardized by W 3 C, indicating de jure u Flavors and browser-specific extensions developed by Microsoft, Netscape, and others, creating de facto variants u None of these has power to force users to use standard Java. Script u Developed by Netscape; copied (as JScript) by Microsoft u After substantial adoption and possibly under threat of forking/splintering, Netscape submits it to ECMA u Now standardized as ECMAScript (de jure) u Java. Script and variants continue to be developed as compatible extensions of ECMAScript 8

Software Architecture: Foundations, Theory, and Practice Another spectrum l Standards (whether de jure or

Software Architecture: Foundations, Theory, and Practice Another spectrum l Standards (whether de jure or de facto) can be: u Open l Allow public participation in the standardization process l Anyone can submit ideas or changes for review u Closed (a. k. a. proprietary) l Only the custodians of a standard can participate in its evolution 9

Software Architecture: Foundations, Theory, and Practice Open vs. closed standards l Another spectrum with

Software Architecture: Foundations, Theory, and Practice Open vs. closed standards l Another spectrum with a gray area u Some standards bodies have high barriers to entry (e. g. , steep membership fees, vote of existing membership) u Some standards (e. g. , Java) have aspects of both l Sun Microsystems is effectively in control of Java as a de facto standard l There is an open “community process” by which external parties can participate in a limited way 10

Software Architecture: Foundations, Theory, and Practice Why use standards? l Standards are an excellent

Software Architecture: Foundations, Theory, and Practice Why use standards? l Standards are an excellent way to create and exploit l A network effect exists if the value of participation increases as the number of users of the standard increases network effects versus l Other network effects: u TCP/IP, HTTP & HTML, UML… 11

Software Architecture: Foundations, Theory, and Practice Why use standards? (cont’d) l l To ensure

Software Architecture: Foundations, Theory, and Practice Why use standards? (cont’d) l l To ensure interoperability between products developed by different organizations u Usually in the interest of fostering a network effect To carry hard-won engineering knowledge from one project to another u To take advantage of hard-won engineering knowledge created by others As an effort to attract tool vendors u To create economies of scale in tools To attempt to control the standard’s evolution in your favor 12

Software Architecture: Foundations, Theory, and Practice Drawbacks of standards l l l Limits your

Software Architecture: Foundations, Theory, and Practice Drawbacks of standards l l l Limits your agility u Remember that doing ‘good’ architecture-based development means identifying what is important in your project Standards often attempt to apply the same techniques to a too-broad variety of situations The most widely adopted standards are often the most general 13

Software Architecture: Foundations, Theory, and Practice Overspecification vs. underspecification l l l A perennial

Software Architecture: Foundations, Theory, and Practice Overspecification vs. underspecification l l l A perennial tension in standards use and development Overspecification u A standard prescribes too much and therefore limits applicability too much Underspecification u A standard prescribes too little and therefore doesn’t provide enough guidance l Possibly in an effort to broaden adoption 14

Software Architecture: Foundations, Theory, and Practice Two different kinds of underspecification l l l

Software Architecture: Foundations, Theory, and Practice Two different kinds of underspecification l l l Two compromises often made in negotiation when disagreements occur u Leave the disagreeable part of the standard unspecified or purposefully ambiguous u Include both opinions in the standard but make them both optional Both of these weaken the standard’s value u Consider the different kinds of reduction in interoperability imposed by these strategies Although they may improve adoption! 15

Software Architecture: Foundations, Theory, and Practice When to adopt a standard? l Early adoption

Software Architecture: Foundations, Theory, and Practice When to adopt a standard? l Early adoption u Benefits l Improved ability to influence the standard u Get l Early your own goals incorporated; exclude competitors to market u If standard becomes successful, early marketers will profit l Early experience u Leverage enhanced experience to your benefit 16

Software Architecture: Foundations, Theory, and Practice When to adopt a standard? (cont’d) l Early

Software Architecture: Foundations, Theory, and Practice When to adopt a standard? (cont’d) l Early adoption u Drawbacks l Risk of failure u Standard control l Moving may not be successful for reasons out of your target u Early standards tend to evolve and ‘churn’ more than mature ones, and may be ‘buggy’ l Lack of support u Early standards tend to have immature (or no) support from tool and solution vendors 17

Software Architecture: Foundations, Theory, and Practice When to adopt a standard? (cont’d) l Late

Software Architecture: Foundations, Theory, and Practice When to adopt a standard? (cont’d) l Late adoption u Benefits l Maturity of standard l Better support u Drawbacks l Inability to influence the standard l Restriction of innovation 18

Software Architecture: Foundations, Theory, and Practice Objectives l l Concepts u What are standards?

Software Architecture: Foundations, Theory, and Practice Objectives l l Concepts u What are standards? u Why use standards? l And why not? (drawbacks) u Deciding when to adopt a standard Prevalent Architectural Standards u Conceptual standards u Notational standards u Standard tools u Process standards 19

Software Architecture: Foundations, Theory, and Practice IEEE 1471 l l l Recommended practice for

Software Architecture: Foundations, Theory, and Practice IEEE 1471 l l l Recommended practice for architecture description u Often mandated for use in government projects Scope is limited to architecture descriptions (as opposed to processes, etc. ) Does not prescribe a particular notation for models u Does prescribe a minimal amount of content that should be contained in models Identifies the importance of stakeholders and advocates models that are tailored to stakeholder needs A notion of views and viewpoints similar to the ones used in this course 20

Software Architecture: Foundations, Theory, and Practice IEEE 1471 (cont’d) l l l Very high

Software Architecture: Foundations, Theory, and Practice IEEE 1471 (cont’d) l l l Very high level u Purposefully light on specification u Does not advocate any specific notation or process Useful as a starting point for thinking about architecture u Defines key terms u Advocates focus on stakeholders Being compliant does NOT ensure that you are doing good architecture-centric development 21

Software Architecture: Foundations, Theory, and Practice Department of Defense Architecture Framework l l Do.

Software Architecture: Foundations, Theory, and Practice Department of Defense Architecture Framework l l Do. DAF, evolved from C 4 ISR u Has some other international analogs (Mo. DAF) u ‘Framework’ here refers to a process or set of viewpoints that should be used in capturing an architecture l Not necessarily an architecture implementation framework Identifies specific viewpoints that should be captured u Includes what kinds of information should be captured u Does not prescribe a particular notation for doing the 22 capture

Software Architecture: Foundations, Theory, and Practice Do. DAF (cont’d) l Some vocabulary inconsistency with

Software Architecture: Foundations, Theory, and Practice Do. DAF (cont’d) l Some vocabulary inconsistency with our terms (and IEEE 1471 among others) 23 Software Architecture: Foundations, Theory, and Practice ; Richard N. Taylor, Nenad Medvidovic, and Eric M. Dashofy; (C) 2008 John Wiley & Sons, Inc. Reprinted with permission.

Software Architecture: Foundations, Theory, and Practice Do. DAF (cont’d) l Three views (in our

Software Architecture: Foundations, Theory, and Practice Do. DAF (cont’d) l Three views (in our terms: viewpoint sets) u Operational View (OV) l “Identifies what needs to be accomplished, and who does it” l Defines processes and activities, the operational elements that participate in those activities, and the information exchanges that occur between the elements u Systems View (SV) l Describe the systems that provide or support operational functions l and the interconnections between them l Systems in SV associated with elements in OV 24

Software Architecture: Foundations, Theory, and Practice Do. DAF (cont’d) l l Three views (in

Software Architecture: Foundations, Theory, and Practice Do. DAF (cont’d) l l Three views (in our terms: viewpoint sets) u Technical Standards View (TV) l Identify standards, (engineering) guidelines, rules, conventions, and other documents l To ensure that implemented systems meet their requirements and are consistent with respect to the fact that they are implemented according to a common set of rules Also a few products address cross cutting concerns that affect All Views (AV) u E. g. , dictionary of terms 25

Software Architecture: Foundations, Theory, and Practice Do. DAF Examples OV-1 “High-Level Operational Concept Graphic”

Software Architecture: Foundations, Theory, and Practice Do. DAF Examples OV-1 “High-Level Operational Concept Graphic” 26 Software Architecture: Foundations, Theory, and Practice ; Richard N. Taylor, Nenad Medvidovic, and Eric M. Dashofy; (C) 2008 John Wiley & Sons, Inc. Reprinted with permission.

Software Architecture: Foundations, Theory, and Practice Do. DAF Examples (cont’d) OV-4 “Organizational Relationships” 27

Software Architecture: Foundations, Theory, and Practice Do. DAF Examples (cont’d) OV-4 “Organizational Relationships” 27 Software Architecture: Foundations, Theory, and Practice ; Richard N. Taylor, Nenad Medvidovic, and Eric M. Dashofy; (C) 2008 John Wiley & Sons, Inc. Reprinted with permission.

Software Architecture: Foundations, Theory, and Practice Do. DAF Examples (cont’d) Note implied correspondence with

Software Architecture: Foundations, Theory, and Practice Do. DAF Examples (cont’d) Note implied correspondence with OV-1 entities SV-1 “Systems Interface Description” 28 Software Architecture: Foundations, Theory, and Practice ; Richard N. Taylor, Nenad Medvidovic, and Eric M. Dashofy; (C) 2008 John Wiley & Sons, Inc. Reprinted with permission.

Software Architecture: Foundations, Theory, and Practice Do. DAF Examples (cont’d) SV-3 “Systems-Systems Matrix” One

Software Architecture: Foundations, Theory, and Practice Do. DAF Examples (cont’d) SV-3 “Systems-Systems Matrix” One of several “N 2” views in Do. DAF 29 Software Architecture: Foundations, Theory, and Practice ; Richard N. Taylor, Nenad Medvidovic, and Eric M. Dashofy; (C) 2008 John Wiley & Sons, Inc. Reprinted with permission.

Software Architecture: Foundations, Theory, and Practice Do. DAF Examples (cont’d) TV-1 “Technical Standards Profile

Software Architecture: Foundations, Theory, and Practice Do. DAF Examples (cont’d) TV-1 “Technical Standards Profile ” 30 Software Architecture: Foundations, Theory, and Practice ; Richard N. Taylor, Nenad Medvidovic, and Eric M. Dashofy; (C) 2008 John Wiley & Sons, Inc. Reprinted with permission.

Software Architecture: Foundations, Theory, and Practice Do. DAF Takeaways l l Extremely comprehensive standard

Software Architecture: Foundations, Theory, and Practice Do. DAF Takeaways l l Extremely comprehensive standard advocating capture of many views u Takes a high-level organizational perspective u OV views tend to deal with human and systems organizations u SV views tend to deal with technical aspects of systems (most like the architectural descriptions we have been talking about) u TV views tend to deal with practical issues of reuse and leveraging existing technology Tells us a lot about WHAT to model, but nearly nothing about HOW to model it 31

Software Architecture: Foundations, Theory, and Practice The Open Group Architecture Framework l l TOGAF

Software Architecture: Foundations, Theory, and Practice The Open Group Architecture Framework l l TOGAF – an “enterprise architecture” framework u Focuses beyond hardware/software u How can enterprises build systems to achieve business goals? Four key areas addressed u Business concerns, which address business strategies, organizations, and processes; u Application concerns, which address applications to be deployed, their interactions, and their relationships to business processes; u Data concerns, which address the structure of physical and logical data assets of an organization and the resources that manage these assets; and u Technology concerns, which address issues of infrastructure and middleware. 32

Software Architecture: Foundations, Theory, and Practice TOGAF Part 1: ADM l l l An

Software Architecture: Foundations, Theory, and Practice TOGAF Part 1: ADM l l l An iterative process for architecture-centric development Each step in the proceses associated with views to be captured Early phases focus on conceptual issues; later phases move toward reduction to practice 33 Redrawn from the TOGAF Specification Software Architecture: Foundations, Theory, and Practice ; Richard N. Taylor, Nenad Medvidovic, and Eric M. Dashofy; (C) 2008 John Wiley & Sons, Inc. Reprinted with permission.

Software Architecture: Foundations, Theory, and Practice TOGAF Part 2: Enterprise Continuum Redrawn from the

Software Architecture: Foundations, Theory, and Practice TOGAF Part 2: Enterprise Continuum Redrawn from the TOGAF Specification l l Taxonomizes different kinds of architectures and the solutions that are supported by those Left side is more technical and concrete Right side is more organizational TOGAF Technical Reference Model and Standards Information Base identifies and taxonomizes many solution elements 34 Software Architecture: Foundations, Theory, and Practice ; Richard N. Taylor, Nenad Medvidovic, and Eric M. Dashofy; (C) 2008 John Wiley & Sons, Inc. Reprinted with permission.

Software Architecture: Foundations, Theory, and Practice TOGAF Part 3: TOGAF Resource Base l l

Software Architecture: Foundations, Theory, and Practice TOGAF Part 3: TOGAF Resource Base l l A collection of useful information and resources that can be employed in following the ADM process Includes u advice on how to set up boards and contracts for managing architecture u checklists for various phases of the ADM process u a catalog of different models that exist for evaluating architectures u how to identify and prioritize different skills needed to develop architectures u. . 35

Software Architecture: Foundations, Theory, and Practice TOGAF Takeaways l l l Large size and

Software Architecture: Foundations, Theory, and Practice TOGAF Takeaways l l l Large size and broad scope looks at systems development from an enterprise perspective More suited to developing entire organizational information systems rather than indivdiual applications A collection and clearinghouse for IT “best practices” of all sorts 36

Software Architecture: Foundations, Theory, and Practice RM-ODP l Another standard for viewpoints, similar to

Software Architecture: Foundations, Theory, and Practice RM-ODP l Another standard for viewpoints, similar to Do. DAF but more limited in scope; resemble Do. DAF SV u Prescribes 5 viewpoints for distributed systems Engineering view Enterprise View 37 Software Architecture: Foundations, Theory, and Practice ; Richard N. Taylor, Nenad Medvidovic, and Eric M. Dashofy; (C) 2008 John Wiley & Sons, Inc. Reprinted with permission.

Software Architecture: Foundations, Theory, and Practice UML l l Discussed extensively already in this

Software Architecture: Foundations, Theory, and Practice UML l l Discussed extensively already in this course As a standard, primarily prescribes a syntax Some semantics with purposeful ambiguity Encourages specialization of the standard through the use of profiles, which are mini-standards 38 Software Architecture: Foundations, Theory, and Practice ; Richard N. Taylor, Nenad Medvidovic, and Eric M. Dashofy; (C) 2008 John Wiley & Sons, Inc. Reprinted with permission.

Software Architecture: Foundations, Theory, and Practice UML Takeaways l l l Provide a common

Software Architecture: Foundations, Theory, and Practice UML Takeaways l l l Provide a common syntactic framework to express many common types of design decisions Profiles are needed to improve rigor u But profiles can only specialize existing UML diagram types, not create new ones Documenting a system in UML does not ensure overall system quality u You can document a bad architecture in UML as easily as a good one 39

Software Architecture: Foundations, Theory, and Practice Sys. ML l l An extended version of

Software Architecture: Foundations, Theory, and Practice Sys. ML l l An extended version of UML Developed by a large consortium of organizations (mainly large system integrators and developers) Intended to mitigate UML’s “software bias” Sys. ML group found UML standard insufficient and profiles not enough to resolve this u Developed new diagram types to capture systemengineering specific views u Limited momentum among tool vendors; focus shifting to more heavily use UML profiles 40

Software Architecture: Foundations, Theory, and Practice Sys. ML Diagrams Sys. ML Requirement Diagram Sys.

Software Architecture: Foundations, Theory, and Practice Sys. ML Diagrams Sys. ML Requirement Diagram Sys. ML Parametric Diagram 41 Software Architecture: Foundations, Theory, and Practice ; Richard N. Taylor, Nenad Medvidovic, and Eric M. Dashofy; (C) 2008 John Wiley & Sons, Inc. Reprinted with permission.

Software Architecture: Foundations, Theory, and Practice Standard UML Tools l l E. g. ,

Software Architecture: Foundations, Theory, and Practice Standard UML Tools l l E. g. , Rational Rose, Argo. UML, Microsoft Visio These are de facto standards All support drawing UML diagrams Vary along several dimensions u Support for built-in UML extension mechanisms l Profiles, stereotypes, tagged values, constraints u Support for UML consistency checking u Ability to generate other artifacts u Generation of UML from other artifacts u Traceability to other systems u Support for capturing non-UML information 42

Software Architecture: Foundations, Theory, and Practice Argo. UML – a UML tool 43 Screenshot

Software Architecture: Foundations, Theory, and Practice Argo. UML – a UML tool 43 Screenshot from the Argo/UML Website and Documentation

Software Architecture: Foundations, Theory, and Practice Telelogic System Architect l l Formerly Popkin System

Software Architecture: Foundations, Theory, and Practice Telelogic System Architect l l Formerly Popkin System Architect; popular among architects u Supports 50+ different diagram types l UML, IDEF, OMT, generic flowcharting, even GUI design l Variants for Do. DAF, service-oriented architectures, enterprise resource planning Effectively generic diagram editor specialized for many different diagram types with different symbols, connections u Very little understanding of diagram semantics u Specialized variants have some understanding of semantics but generally less than notation-specific editors 44

Software Architecture: Foundations, Theory, and Practice Rational Unified Process l l l Phased iterative

Software Architecture: Foundations, Theory, and Practice Rational Unified Process l l l Phased iterative process framework/metaprocess Like spiral model, focus on iteration and risk management Tends to view architecture as an artifact rather than a pervasive discipline Redrawn from the RUP documentation 45 Software Architecture: Foundations, Theory, and Practice ; Richard N. Taylor, Nenad Medvidovic, and Eric M. Dashofy; (C) 2008 John Wiley & Sons, Inc. Reprinted with permission.

Software Architecture: Foundations, Theory, and Practice Model-Driven Architecture l l l Also known as

Software Architecture: Foundations, Theory, and Practice Model-Driven Architecture l l l Also known as MDA Core idea: specify your architecture in detailed enough terms that implementations can be auto-generated entirely from models This vision is hard to achieve in general u May be more successful in a strong DSSE context 46 Redrawn from the MDA documentation Software Architecture: Foundations, Theory, and Practice ; Richard N. Taylor, Nenad Medvidovic, and Eric M. Dashofy; (C) 2008 John Wiley & Sons, Inc. Reprinted with permission.

Software Architecture: Foundations, Theory, and Practice Overall Takeaways l l l Standards confer many

Software Architecture: Foundations, Theory, and Practice Overall Takeaways l l l Standards confer many benefits u Network effects, reusable engineering knowledge, interoperability, common vocabulary and understanding But are not a panacea! u Knowledge of a breadth of standards is needed to be a good architect, but it is critical to maintain perspective Caveats u This has been a very quick tour through complex standards; many standards are hundreds of pages and can’t adequately be explained in five minutes u Most available online – investigate yourself! 47