Introduction to Rational Rose 98i Module 9: Component and Deployment Diagrams
Objectives:  Component and Deployment Diagrams <ul><li>You will be able to: </li></ul><ul><ul><li>Create packages </li></u...
Creating Packages
Package Stereotypes
Creating Components
Component Stereotypes
Setting the Language for a Component
Mapping Classes to Components
Component Diagram
Interfaces
Deployment Diagram
Connection Stereotypes
Processes
Exercise:  Creating Components
Exercise:  Mapping Classes to Components
Exercise:  Component Diagram
Exercise:  Deployment Diagram
Upcoming SlideShare
Loading in …5
×

09componentdeployment

653 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
653
On SlideShare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
10
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • To create a package Click right on the “owning” package to make the pop up menu visible. Select the New:Package menu command. This will add a package called NewPackage to the Browser. While the new package is still selected, enter its name. Packages typically represent subsystems.
  • To create a stereotype for a package Click right on the package in the Browser to make the pop up menu visible. Select the Open Specification menu command. Enter the stereotype in the Stereotype field. OR Select the arrow in the Stereotype field to make the drop down menu visible and select the desired stereotype. Click the OK button to close the Package Specification.
  • To create a component using the Browser Click right on the Component View package (or any user defined package) to make the pop up menu visible. Select the New:Component menu command. This will add a class called NewComponent to the Browser. While the new component is still selected, enter its name.
  • To create a stereotype for a component Click right on the component in the Browser to make the pop up menu visible. Select the Open Specification menu command. Enter the stereotype in the Stereotype field. OR Select the arrow in the Stereotype field to make the drop down menu visible and select the desired stereotype. Click the OK button to close the Component Specification.
  • To assign a language to a component Click right on the component in the Browser to make the pop up menu visible. Select the Open Specification menu command. Click the arrow in the Language field to make the drop down menu visible. Select the desired language. Click the OK button to close the Component Specification.
  • To assign a class to a component Click right on the component in the Browser to make the pop up menu visible. Select the Open Specification menu command. Select the Realizes tab Click right on the class to make the pop up menu visible. Select the Assign menu command. Click the OK button to close the Component Specification.
  • To open the Main component diagram Double click on the Main component diagram in the Browser. To create a component diagram Click right on the “owning” package in the Browser (either the Component View package or a user defined package) to make the pop up menu visible. Select the New:Component Diagram menu command. This will add a diagram called NewDiagram to the Browser. While the new diagram is still selected, enter its name. To add components to a component diagram Double click on the diagram in the Browser to open the diagram. Click to select the component in the Browser. Drag the component onto the diagram. To create component relationships Click to select the Dependency icon on the toolbar. Click on the component playing the role of the client and drag the dependency arrow to the component playing the role of the supplier. The only relationship allowed between components is a dependency relationship. You read this diagram as: The Registration executable depends upon the Course Catalog System executable.
  • To create an interface to a component Rose will automatically create the “lollypop” for any class that has a stereotype of Interface.
  • To open the Deployment Diagram Double click on the deployment diagram in the Browser. To create a processor Click to select the processor icon on the toolbar. Click on the diagram to place the processor. While the processor is still selected, enter its name. To create a connection Click to select the Connection icon on the toolbar. Click on one processor and drag the connection line to the other processor The UML uses the term node, Rose uses the term Processor
  • To create a stereotype for a connection Click right on the connection on the Deployment Diagram to make the pop up menu visible. Select the Open Specification menu command. Enter the stereotype in the Stereotype field. OR Select the arrow in the Stereotype field to make the drop down menu visible and select the desired stereotype. Click the OK button to close the Connection Specification.
  • To create a process Click right on the processor on the Deployment Diagram to make the pop up menu visible. Select the Open Specification menu command. Select the Detail tab. Click right in the Processes field to make the pop up menu visible. Select the Insert menu command. This will insert a process called NewProcess. While the new process is still selected, enter its name. Click the OK button to close the Processor Specification. To make the process visible on the deployment diagram Click right on the processor on the Deployment Diagram to make the pop up menu visible. Select the Show Processes menu command.
  • Hint: These components all have stereotypes.
  • The ICourseCatalogSystem class should be mapped to the CourseCatalogSystem component.
  • 09componentdeployment

    1. 1. Introduction to Rational Rose 98i Module 9: Component and Deployment Diagrams
    2. 2. Objectives: Component and Deployment Diagrams <ul><li>You will be able to: </li></ul><ul><ul><li>Create packages </li></ul></ul><ul><ul><li>Create components </li></ul></ul><ul><ul><li>Map classes to components </li></ul></ul><ul><ul><li>Create relationships between components </li></ul></ul><ul><ul><li>Create component diagrams </li></ul></ul><ul><ul><li>Create the deployment diagram </li></ul></ul>
    3. 3. Creating Packages
    4. 4. Package Stereotypes
    5. 5. Creating Components
    6. 6. Component Stereotypes
    7. 7. Setting the Language for a Component
    8. 8. Mapping Classes to Components
    9. 9. Component Diagram
    10. 10. Interfaces
    11. 11. Deployment Diagram
    12. 12. Connection Stereotypes
    13. 13. Processes
    14. 14. Exercise: Creating Components
    15. 15. Exercise: Mapping Classes to Components
    16. 16. Exercise: Component Diagram
    17. 17. Exercise: Deployment Diagram

    ×