ibm Rational Rhapsody 7.5 — Design

Introduction to Rational Rhapsody Use the black-box sequence diagrams as the basis for creating statecharts, which realize all possible scenarios. Statecharts specify the behavior of each object, or object implementation, as opposed to sequence diagrams, which concentrate on requirements-based scenarios. Sequence diagrams also serve as the primary test data in the testing phase; in later stages, use them to test whether your system as a whole responds properly to the external messages that come into it. You can also use activity diagrams to realize all possible scenarios.

To review and analyze the requirements in your project, you can use the advanced search facility and the table and matrix tools. Object analysis While you are capturing system requirements, you should also define the entities and structural relationships that will exist in the application you are creating and its domain or environment. This should result in a structural (static) model of the system (a logical object model of the system). Determine the subsystems of your system. What are their responsibilities and relationships? These subsystems become the basis of the packages, or collections of classes, within your system.

Determine the key objects or classes in these subsystems and define their responsibilities, descriptions, and their relations to other classes. Use object model diagrams to create these classes and their relations. Using sequence diagrams and statecharts, define the behavior and interactions of these essential objects. You can also use the code generation and animation tools to execute and debug these higher-level analysis models. Design In the analysis phase, you came up with several possible solutions to your problem. In the design phase, you choose one of those solutions and define how it will be implemented. As with the analysis phase, the design phase has more than one component.

Just as the analysis phase should conclude with some result, a full set of use cases and a logical object model of the system, the design phase should also provide results: task and deployment models, and more refined logical object models. Architectural design Define the major architectural pieces of the system. What are the high-level parts? Define what the system domains are and which key classes fit in each domain. Which are your composite classes? In this analysis, you should also map classes, packages, and components to the relevant physical parts of your system (the processors and devices). Define which libraries and executables are necessary in your model.

You are creating the task and deployment models for your system. To help with this, you can apply UML design patterns as appropriate for your system. 8 User Guide