Tool Mentor: Documenting the Process View Using Rational Rose
This tool mentor describes how to represent the Process View and related Work Products in Rational Rose.
Tool: Rational Rose
Relationships
Main Description

Overview

The following is a summary of steps that you perform to manage the Process View:

  1. Create the Process View in the Logical View

  2. Represent processes using 'Active Classes' in the Process Model
  3. Represent process and thread lifecycles
  4. Allocate classes to processes and threads

1. Create the Process View in the Logical View To top of page

You represent the Process View by creating a package within the Logical View and naming it "Process View".

2. Represent Processes Using 'Active Classes' in the Process 
Model To top of page

The UML represents processes and threads as Active Classes in the Process View. You create an active class in the Process View by creating a class and assigning it a stereotype of either <process> or <thread>.

3. Represent process and thread lifecycles To top of page

You use Sequence Diagrams to represent process and thread lifecycles. Each process or thread should appear in the sequence diagrams that create and destroy it. In addition, it is useful to illustrate complex inter-process and inter-thread communication using additional sequence diagrams. These sequence diagrams should be organized with the Use Case Realization in which the behavior occurs.

When you create your sequence diagrams and the objects in them, consider a labeling convention where you show the initiator of the first message as the interface itself.

helpbook icon For more information about sequence diagrams, see the Sequence Diagrams (Overview) topic in the Rational Rose online help.

4. Allocating classes to processes and threads To top of page

Classes and subsystems may be allocated to one or more processes and threads. Processes and threads are composed-of instances of classes and subsystems. To show this allocation, you create class diagrams that model the processes and threads as active classes. Use aggregation relationships to show the composition of the active classes. When you create the aggregation relationships, use the Aggregation Specification to set the By Value containment for Role A.