09componentdeployment

N
Nguyen TranSoftware Developer en HCMUS
Introduction to Rational Rose 98i Module 9: Component and Deployment Diagrams
Objectives:  Component and Deployment Diagrams ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
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
1 de 17

Recomendados

10team por
10team10team
10teamNguyen Tran
577 vistas40 diapositivas
Anypoint connector dev kit por
Anypoint connector dev kitAnypoint connector dev kit
Anypoint connector dev kithimajareddys
202 vistas10 diapositivas
CS554 � Introduction to Rational Rose por
CS554 � Introduction to Rational RoseCS554 � Introduction to Rational Rose
CS554 � Introduction to Rational RoseJignesh Patel
6.9K vistas30 diapositivas
Flex presentation1 por
Flex presentation1Flex presentation1
Flex presentation1Nguyen Tran
427 vistas30 diapositivas
9 причин пить фильтрованную воду от HomePure por
9 причин пить фильтрованную воду от HomePure9 причин пить фильтрованную воду от HomePure
9 причин пить фильтрованную воду от HomePureQNET Ltd
770 vistas14 diapositivas
08activity por
08activity08activity
08activityNguyen Tran
681 vistas17 diapositivas

Más contenido relacionado

Más de Nguyen Tran

Se 06 por
Se 06Se 06
Se 06Nguyen Tran
914 vistas42 diapositivas
12report por
12report12report
12reportNguyen Tran
612 vistas16 diapositivas
07state por
07state07state
07stateNguyen Tran
479 vistas20 diapositivas
06collaboration por
06collaboration06collaboration
06collaborationNguyen Tran
532 vistas16 diapositivas
05sequence por
05sequence05sequence
05sequenceNguyen Tran
463 vistas18 diapositivas
04class por
04class04class
04classNguyen Tran
587 vistas62 diapositivas

Más de Nguyen Tran(20)

09componentdeployment

Notas del editor

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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.
  7. 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.
  8. To create an interface to a component Rose will automatically create the “lollypop” for any class that has a stereotype of Interface.
  9. 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
  10. 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.
  11. 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.
  12. Hint: These components all have stereotypes.
  13. The ICourseCatalogSystem class should be mapped to the CourseCatalogSystem component.