[...]... 20 7 20 7 20 8 21 0 21 3 21 6 21 6 22 1 22 3 22 3 22 4 22 7 23 0 23 1 23 1 23 2 23 4 23 5 23 6 23 8 23 9 24 1 24 2 24 2 24 3 ix x Contents Design and the Implementation Environment Approaches to Showing Behavioral Diagrams Performance Optimization Design Optimization Optimization and the Operating System 24 4 24 4 24 6 24 7 24 7 Relevant Changes in UML 2 Summary Chapter 7 24 8 24 9 Representing Architecture Logical Architecture 25 1... 25 1 25 4 Logical Architecture Structure Components Collaborations Composite Structure Diagrams Patterns in Architecture The Proxy Pattern Modeling Patterns in UML Showing Patterns in Diagrams Patterns and Use Cases Physical Architecture Hardware Software Component Diagram Deployment Diagram Nodes Communication Paths Deployed Artifacts 25 4 25 5 25 7 25 8 25 8 26 1 26 3 26 6 26 9 27 0 27 0 27 1 27 2 27 3 27 4 27 5 27 5... Profile Package Architecture Overview Summary and Observations 29 5 29 8 29 9 29 9 301 3 02 3 02 303 304 306 306 308 308 310 310 3 12 318 321 Relevant Changes in UML 2 Summary Chapter 9 321 322 Model Driven Architecture MDA Evolution and Goals 325 326 Background and General Goals Model Levels Model Compilers Mapping the Many Elements of MDA 326 329 3 32 333 From the Business Model to PIM and PSM 335 The High-Level... Examples of UML Stereotypes Metainformation Dependency Stereotypes Customization with Components Stereotypes Applied to Deployment Artifacts Utility Use Case Stereotypes Signal 28 4 28 5 28 6 28 7 28 7 28 9 28 9 28 9 29 0 29 1 29 2 29 3 29 3 Contents Control, Boundary, and Entity Stereotypes for Creation and Destruction Retired Standard Stereotypes Defining Your Own Stereotypes Constraints Examples of UML Constraints... Signals Messages Synchronization and Concurrency Synchronization Issues Synchronization Mechanisms Fault Tolerance Implementation in Java 193 194 194 195 197 198 199 20 0 20 1 20 2 20 3 20 4 UML Time Elements Real-Time Modeling in UML Diagrams 20 5 20 6 Activity Diagrams The Token Flow Model in Activity Diagrams Chocolate Factory: Streaming Input and Output Example Processing Applications: Expansion Regions and... Paths Deployed Artifacts 25 4 25 5 25 7 25 8 25 8 26 1 26 3 26 6 26 9 27 0 27 0 27 1 27 2 27 3 27 4 27 5 27 5 Allocating Artifacts to Nodes Relevant Changes in UML 2 Summary Chapter 8 27 6 27 7 27 8 Extending UML Standard Extensions Overview Tagged Values and Properties 28 1 28 2 28 3 Standard Tag Value Examples Tag Value from a Profile Defining Your Own Tagged Values Stereotypes Creating a Stereotype Examples of UML Stereotypes... Generalization Set Powertype Dependencies and Abstractions Constraints, Expressions, and Derivations Interfaces and Ports Java Implementation Ports 115 116 123 123 125 126 128 131 133 134 Packages Templates Relevant Changes in UML 2 Summary Chapter 5 135 140 141 1 42 Dynamic Modeling State Machines 145 147 States and Transitions Event-Signature Guard-Condition Action-Expression Send-Clause Events Java Implementation... Relevant Changes in UML 2 Summary 147 151 1 52 153 154 155 157 159 160 161 1 62 163 163 166 168 169 170 171 173 174 174 176 176 179 179 180 180 1 82 183 185 188 188 Contents Chapter 6 Advanced Dynamic Modeling Illustrated by Real-Time Systems What Is a Real-Time System? Attributes of a Real-Time System Types of Real-Time Systems Concepts in UML for Real-Time Systems 191 191 1 92 1 92 193 Active Classes and... Interface Implementation Test and Deployment Summary Exercises Requirements and Analysis Exercises Design and Construction Exercises 403 404 404 406 407 409 410 411 411 4 12 415 415 418 420 420 420 421 Appendix A Visual Glossary 423 Appendix B Glossary 461 Appendix C References 475 Appendix D What’s on the CD-ROM? 479 Index 485 End-User License Agreement 513 GNU General Public License 515 xiii OMG Press... Herzum and Oliver Sims, ISBN: 0-471- 327 60-3 ■ ■ Business Modeling with UML: Business Patterns at Work by Hans-Erik Eriksson and Magnus Penker, ISBN: 0-471 -29 551-5 ■ ■ Common Warehouse Metamodel Developer’s Guide by John Poole, Dan Chang, Douglas Tolbert, and David Mellor, ISBN: 0-471 -20 243-6 ■ ■ CORBA 3 Fundamentals and Programming, 2nd Edition by Jon Siegel, ISBN: 0-471 -29 518-3 ■ ■ CORBA Design Patterns . 19 Views 21 Use-Case View 22 Logical View 23 Implementation View 23 Process View 23 Deployment View 24 Diagrams 24 Use-Case Diagram 24 Class Diagram 25 Object Diagram 25 State Machines 26 Activity. Diagrams 26 6 Patterns and Use Cases 26 9 Physical Architecture 27 0 Hardware 27 0 Software 27 1 Component Diagram 27 2 Deployment Diagram 27 3 Nodes 27 4 Communication Paths 27 5 Deployed Artifacts 27 5 Allocating. Storage 21 3 House Alarm: Static Structure for Dynamic Messages 21 6 Static Diagrams 21 6 Detailed Activity Diagram Showing Message Handling 22 1 Interaction Diagrams 22 3 Communication Diagrams 22 3 Basic