O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Visual Modeling with Rational Rose 2002 and UML

Book Description

Within the space of just a few years, the Unified Modeling Language (UML) has emerged as the design medium of choice for developing large-scale distributed object applications. The UML's standard semantics and notation for describing object structure and behavior make it particularly well suited to this function. Augmented by the Rational Unified Process, an extensive set of software development guidelines, and the Rational Rose visual modeling tool, the UML greatly facilitates the process of developing quality object-oriented applications that meet both deadlines and requirements.

Fully updated and revised, Visual Modeling with Rational Rose 2002 and UML is a comprehensive introduction and tutorial that shows how to use a tool (Rational Rose 2002), a process (the Rational Unified Process), and a language (the UML) to successfully visualize, specify, document, and construct a software system. This timely new edition, written by the UML Evangelist at Rational Software Corporation, breaks the technology down to its essentials and provides clear explanations of each element. The book follows a simplified version of the Rational Unified Process from project inception through system analysis and design. The popular sample case study from the previous editions (a registration system for a fictional university) has been retained and updated, now better illustrating the iterative development process in practice, the UML in action, and the proper application of Rational Rose 2002. Newly updated appendixes demonstrate code generation and reverse engineering using Rational Rose 2002 with the C++, Visual C++, and Visual Basic programming languages. In addition, a handy glossary defines key object technology and software modeling terms.

Topics covered include:

  • Creating use cases

  • Finding objects and classes

  • UML stereotypes and packages

  • Scenarios, sequence diagrams, and collaboration diagrams

  • Discovering object interaction

  • Specifying relationships, association, and aggregation

  • Adding behavior and structure

  • Superclass/subclass relationships and inheritance

  • Object behavior and Harel state transition diagrams

  • Checking for model consistency

  • Specifying, visualizing, and documenting system architecture

  • The iteration planning process


Table of Contents

  1. Copyright
  2. Foreword
  3. Preface
  4. Introduction
    1. What is Visual Modeling?
    2. The Triangle for Success
    3. The Role of Notation
    4. History of the UML
    5. The Role of Process
    6. What is Iterative and Incremental Development?
    7. The Rational Unified Process
    8. The Rational Rose Tool
    9. Summary
  5. Beginning a Project
    1. Defining the Right Project
    2. Eastern State University (ESU) Background
    3. Risks for the Course Registration Problem
    4. ESU Course Registration Problem Statement
    5. Summary
  6. Creating Use Cases
    1. System Behavior
    2. Actors
    3. Use Cases
    4. Use Case Relationships
    5. Use Case Diagrams
    6. Activity Diagrams
    7. Summary
  7. Finding Classes
    1. What is an Object?
    2. State, Behavior, and Identity
    3. What is a Class?
    4. Stereotypes and Classes
    5. Discovering Classes
    6. Documenting Classes
    7. Packages
    8. Objects and Classes in the ESU Course Registration Problem
    9. Class Diagrams
    10. Summary
  8. Discovering Object Interaction
    1. Use Case Realization
    2. Documenting Scenarios
    3. Sequence Diagrams
    4. Sequence Diagrams and Boundary Classes
    5. Complexity and Sequence Diagrams
    6. Collaboration Diagrams
    7. Why Are There Two Different Diagrams?
    8. Sequence Diagram for the ESU Course Registration System
    9. Summary
  9. Specifying Relationships
    1. The Need for Relationships
    2. Association Relationships
    3. Aggregation Relationships
    4. Association or Aggregation?
    5. Naming Relationships
    6. Role Names
    7. Multiplicity Indicators
    8. Reflexive Relationships
    9. Finding Relationships
    10. Package Relationships
    11. Summary
  10. Adding Behavior and Structure
    1. Representing Behavior and Structure
    2. Creating Operations
    3. Documenting Operations
    4. Relationships and Operation Signatures
    5. Creating Attributes
    6. Documenting Attributes
    7. Displaying Attributes and Operations
    8. Association Classes
    9. Summary
  11. Discovering Inheritance
    1. Inheritance
    2. Generalization
    3. Specialization
    4. Inheritance Trees
    5. Single Inheritance Versus Multiple Inheritance
    6. Inheritance Versus Aggregation
    7. Summary
  12. Analyzing Object Behavior
    1. Modeling Dynamic Behavior
    2. States
    3. State Transitions
    4. Special States
    5. State Transition Details
    6. State Details
    7. Summary
  13. Checking the Model
    1. Why Homogenize?
    2. Combining Classes
    3. Splitting Classes
    4. Eliminating Classes
    5. Consistency Checking
    6. Scenario Walk-Through
    7. Event Tracing
    8. Documentation Review
    9. Summary
  14. Designing the System Architecture
    1. The Need for Architecture
    2. The Architecture Team
    3. THe 4+1 View of Architecture
    4. The Logical View
    5. The Implementation View
    6. The Process View
    7. The Deployment View
    8. The Use Case View
    9. Summary
  15. Building the Iterations
    1. The Iteration Planning Process
    2. Designing the User Interface
    3. Adding Design Classes
    4. The Emergence of Patterns
    5. Designing Relationships
    6. Designing Attributes and Operations
    7. Designing for Inheritance
    8. Coding, Testing, and Documenting the Iteration
    9. Using Reverse Engineering to Set the Stage for the Next Iteration
    10. Summary
  16. Code Generation and Reverse Engineering with C++
    1. Code Generation
    2. Reverse Engineering Using the C++ Analyzer
  17. Code Generation and Reverse Engineering with Visual C++ and Visual Basic
    1. Code Generation
    2. Reverse Engineering
  18. A Visual Basic Example
    1. Make an ActiveX DLL
    2. Reuse the ActiveX DLL
  19. Glossary