Purpose

To create and structure the model elements that represent the implementation model of a system.

Related Rational Unified Process activity: Structure the Implementation Model.

Overview

To structure the implementation model using Rational Rose:

    1. Create a component diagram in the Component View.
    2. Create a subsystem structure that mirrors the Design Model structure.

Tool Steps

1. Create a Component Diagram in the Component View To top of page

To rename the Main component diagram:

  1. Expand the Component View by clicking on the plus sign next to the Component View package in the browser.
  2. Right click on the Main icon to bring up the shortcut menu and select the Rename option.
  3. Enter the new name followed by a <CR>.

To create a new component diagram in the Component View:

  1. Right-click to select the Component View package icon in the browser and make the shortcut menu visible.
  2. Select Component Diagram from the New option on the short-cut menu. A NewDiagram# icon is added to the browser.
  3. Enter the name of the new diagram followed by a <CR>.

2. Create a Subsystem Structure that Mirrors the Design Model Structure To top of page

For each subsystem in the design model (the Logical View) create a corresponding subsystem in the Component View.

To create a subsystem in the Component View:

  1. Right-click on the Component View icon in the browser and make the short-cut menu visible.
  2. Select Package from the New option on the short-cut menu. A NewPackage# icon is added to the browser.
  3. Enter the name of the new package followed by a <CR>.
  4. To create a new component:

  5. Right-click the component package in the browser to which the new component shall belong. The short-cut menu is displayed.
  6. Select Component from the New option on the short-cut menu.
  7. Double-click on the new component to open its specification.
  8. On the General tab, give the new component a name in the Name field, select the type of component in the Stereotype field, and assign an implementation language to the component in the Language field.

To assign a class (or interface) to one or several components:

  1. Select the class in the browser or in a diagram, and open its specification.
  2. On the Components tab, click the Show All Components option.
  3. Right-click on the appropriate component and click Assign.
  4. Note: You can also drag the component from the browser and drop it on the appropriate class in a diagram or in the browser, or on the Components tab of the Class Specification.

To assign several classes (or interfaces) to a single component:

  1. Select the component in the browser, or in a component diagram, and open its specification.
  2. On the Realizes tab, click the Show All Components option.
  3. For each class that should be assigned to this component, right-click on the class and click Assign.
  4. Note: You can also drag each class or interface from the browser and drop it on the appropriate component in a component diagram or in the browser, or on the Realizes tab of the Component Specification.

To create a component from an existing software module:

  1. Drag the module from the Microsoft® Explorer and drop it in the component package in the browser. The drag and drop feature supports the following component types: executables (.exe), ActiveX (.ocx), Data Link Libraries (.dll), and Type Libraries (.tlb).

Components that are dragged from the Explorer into the model should be restricted to components that are external to the model, or components used by the modeled system only. These components are not intended to be reverse engineered into the model since they rarely contain the complete source code. They are only necessary when building your system.

 

Display Rational Unified Process using frames

 

© Rational Software Corporation 1998 Rational Unified Process 5.1 (build 43)