Cover image for Learning UML
Title:
Learning UML
Author:
Alhir, Sinan Si.
Personal Author:
Edition:
First edition.
Publication Information:
Sebastopol, CA ; Farnham : O'Reilly, [2003]

©2003
Physical Description:
xvi, 234 pages : illustrations ; 23 cm
General Note:
"Communication software design graphically"--Cover.

Includes index.
Language:
English
ISBN:
9780596003449
Format :
Book

Available:*

Library
Call Number
Material Type
Home Location
Status
Item Holds
Searching...
QA76.76.D47 A46 2003 Adult Non-Fiction Non-Fiction Area
Searching...

On Order

Summary

Summary

Since the dawn of computing, software designers and developers have searched for ways to describe the systems they worked so hard to create. Flowcharts enabled the concise documentation of program-flow and algorithms. Entity-relationship diagrams enabled database designers to convey the structure underlying the collection of tables and columns that made up a schema. From the beginning, technologists recognized the descriptive power inherent in visual representations of a system, yet it wasn't until 1997 that the first attempt to create a visual language that could be used across all aspects of a system development project came to fruition. Unified Modeling Language (UML) was born.UML has taken the software development industry by storm. Widely supported by development and documentation tools, UML can be used on the one hand by programmers to record such things as the detailed design of classes in an object-oriented system and on the other hand by business analysts to give the broad-brush picture of how a system interacts with users and other systems. UML has become the lingua franca of software development, and no one in the software industry can afford to be without knowledge of this powerfully expressive visual language. Learning UML introduces UML and places it in perspective, then leads you through an orderly progress towards mastery of the language. You'll begin by learning how UML is used to model the structure of a system. Many key UML concepts, especially that of the general (classes) versus the specific (objects), are illustrated in the chapter on class and object diagrams. Next, you'll learn how to use use-case diagrams to model the functionality of a system. Finally, you'll see how component and deployment diagrams are used to model the way in which a system is deployed in a physical environment.Structural modeling answers the "who" and "what" questions of systems development. Behavioral modeling addresses the questions of "when," "how," and "why." You'll learn how to use sequence and collaboration, to model the interaction over time between system components, how to use state diagrams to describe the life cycle of system components, and how to use activity diagrams to document control-flow and responsibility.Throughout this book, author Sinan Si Alhir maintains a clear focus on UML the language and avoids getting caught up in the cobwebs of methodology. His presentation is direct and to-the-point. Each chapter ends with a set of exercises that you can use to test your growing knowledge of UML and its concepts. As you work your way through the book, you'll find yourself warming up to the simple yet expressive language that is UML, and using it to communicate effectively and professionally about all aspects of system design.


Table of Contents

Prefacep. xi
Part I. Fundamentals
1. Introductionp. 3
What Is the UML?p. 4
The UML and Processp. 8
Learning the UMLp. 13
2. Object-Oriented Modelingp. 15
Project Management System Requirementsp. 15
Alphabets, Words, and Sentencesp. 16
The Object-Oriented Paradigmp. 19
Paragraphsp. 26
Sectionsp. 39
Documentsp. 40
Part II. Structural Modeling
3. Class and Object Diagramsp. 43
Classes and Objectsp. 44
Associations and Linksp. 55
Types, Implementation Classes, and Interfacesp. 69
Generalizations, Realizations, and Dependenciesp. 72
Packages and Subsystemsp. 79
Exercisesp. 86
4. Use-Case Diagramsp. 91
Actorsp. 92
Use Casesp. 94
Communicate Associationsp. 96
Dependenciesp. 98
Generalizationsp. 102
Exercisesp. 106
5. Component and Deployment Diagramsp. 108
Componentsp. 108
Nodesp. 110
Dependenciesp. 112
Communication Associationsp. 116
Exercisesp. 117
Part III. Behavioral Modeling
6. Sequence and Collaboration Diagramsp. 121
Rolesp. 122
Messages and Stimulip. 128
Interactions and Collaborationsp. 128
Sequence Diagramsp. 129
Collaboration Diagramsp. 138
Exercisesp. 143
7. State Diagramsp. 147
Statesp. 147
Transitionsp. 149
Advanced State Diagramsp. 152
Exercisesp. 154
8. Activity Diagramsp. 156
Action Statesp. 156
Flow Transitionsp. 157
Swimlanesp. 160
Decisionsp. 161
Concurrencyp. 162
Exercisesp. 162
Part IV. Beyond the Unified Modeling Language
9. Extension Mechanismsp. 167
Language Architecturep. 167
Stereotypesp. 169
Propertiesp. 171
Profilesp. 173
Exercisesp. 175
10. The Object Constraint Languagep. 177
Expressionsp. 177
Simple Constraintsp. 180
Complex Constraintsp. 184
Exercisesp. 187
Part V. Appendixes
A. Referencesp. 191
B. Exercise Solutionsp. 193
Indexp. 225