1 / 39

Prepared by: Sanaz Helmi Hoda Akbari Zahra Ahmadi Sharif University of Tech. Summer 2006

An Introduction to. Rational Rose. Prepared by: Sanaz Helmi Hoda Akbari Zahra Ahmadi Sharif University of Tech. Summer 2006. A commercial CASE tool Supports two essential elements of modern software engineering: component based development and controlled iterative development.

ted
Télécharger la présentation

Prepared by: Sanaz Helmi Hoda Akbari Zahra Ahmadi Sharif University of Tech. Summer 2006

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. An Introduction to Rational Rose Prepared by: Sanaz Helmi Hoda Akbari Zahra Ahmadi Sharif University of Tech. Summer 2006

  2. A commercial CASE tool Supports two essential elements of modern software engineering: component based development and controlled iterative development. Rose also supports Round-Trip engineering with several languages. Supports modeling of software systems based on the Unified Modeling Language several UML diagrams. What is Rational Rose?

  3. Model-driven development results in increased developer productivity. Use-case and business-focused development results in improved software quality. Common standard language--the Unified Modeling Language (UML) --results in improved team communication. Reverse-engineering capabilities allow you to integrate with legacy OO systems. Models and code remain synchronized through the development cycle. Why use Rational Rose?

  4. Graphical User Interface Standard toolbar browser Diagram window Diagram toolbox specification Documentation window

  5. A hierarchical navigational tool to view the names and icons representing diagrams and model elements If the browser is not displayed, select Browser from the View menu. Browser

  6. Customizing the Toolbox Right-click anywhere on the toolbox and then click Customize from the shortcut menu. Double-click anywhere on the toolbox not occupied by a button. Click View > Toolbars > Configure. Click Tools > Options. On the Option dialog box, click Toolbars. This approach gives you the ability to modify all the diagram toolboxes without first displaying a specific diagram type. Diagram Toolbox

  7. Describe model elements or relationships. Roles, keys, constraints, purpose, and essential behavior of the element. Free-form text either here or through the documentation field of a specification. Documentation window

  8. Used to set or change model element properties Changes are automatically updated throughout the model. Specifications

  9. Different project views represent different aspect of the model: Use Case view: Use-case, sequence, collaboration and activity diagrams Logical view: Class and state chart diagrams Component view: Component diagram Deployment view: Deployment diagram Views

  10. How actors and use cases interact. Diagrams: Use-case diagrams Sequence diagrams Collaboration diagrams Activity diagrams Contains a Main diagram by default. The Use Case View

  11. Functional requirements Classes and their relationships Diagrams: Class diagrams State chart diagrams Contains a Main diagram by default. The Logical View

  12. The software organization Contains information about the software, executable and library components Component diagrams. A main diagram by default The Component View

  13. Shows the mapping of processes to hardware. Most useful in a distributed architecture environment The deployment diagram. The Deployment View

  14. Component Diagrams

  15. Component diagrams • Main programs, subprograms, packages, and tasks are components • Component diagram shows the physical dependency relationships between components and the arrangement of components into component packages.

  16. Component diagrams (cont’d) • When current window contains a component diagram and As Unified is selected from the View menu: • Every component is assigned to a package. • Creating a component using a creation tool from the component diagram toolbox, the component is assigned to the package containing the component diagram.

  17. To reassign a component from one package to another: Select a component icon in a diagram directly contained by the package to which the component should be assigned. Click Edit > Relocate. Packages are also assigned to packages, permitting nesting to an arbitrary depth. Component diagrams (cont’d)

  18. Displays and modifies the properties and relationships of each component in the current model. The same specification is used for all component kinds. To display: double-click on any icon representing the component or on the Browse menu, click Specifications. Consists of : General, Detail, Realizes, and Files. Component Specification

  19. Component Specification (cont’d) General Tab: • A component stereotype represents the sub classification of an element. • The most common type of components are already predefined as stereotypes. • Language field identifies the implementation language that is assigned to this component.

  20. Component Specification (cont’d) Detail Tab: • Declarations field contains a list of declarations, such as class names, variables, and other language-specific features. • Use this field to list the elements that physically reside in the component.

  21. Component Specification (cont’d) Realizes Tab: • If show all classes option is not selected, you will see only the classes that are assigned to this component. • Assign a class or interface to a component through Assign on the shortcut menu in the list, or by dragging a class or interface from the browser and dropping it in this list.

  22. Package Specification General Tab: • Displays and modifies the properties and relationships of a package in the current model. • Consists of: General, Detail, Realizes and Files. • The component belongs to is displayed in this static field.

  23. Package Specification (cont’d) Detail Tab: • Lists the component diagrams contained in the package. • Rename or delete existing component diagrams • Create a new component diagram through Browse menu, Component Diagram. • To display a specific component diagram listed in this field, double click on its entry.

  24. Deployment Diagrams

  25. Deployment Diagrams • Each model contains a single deployment diagram that shows the connections between its processors and devices, and the allocation of its processes to processors.

  26. Deployment Diagrams (cont’d)

  27. Displays and modifies the properties and relationships of a processor in the current model. To display: double-click on any icon representing a processor or click Browse > Specifications. Consists of: General and Detail. Processor Specification

  28. Processor Specification (cont’d) General Tab:

  29. Processor Specification (cont’d) Detail Tab: • Characteristics field specifies a physical description of an element.This information is not displayed in the deployment diagram. • Processes Identifies the processes assigned to this processor. Processes denote either the root of a main program from a component diagram or the name of an active object from a collaboration diagram.

  30. To create a process, place the pointer in Processes area and click Insert using the shortcut menu. To change the name or priority, click the item and type the changes. To display a list of the processes by selecting the processor icon and clicking Show Processes from the shortcut menu. To display the scheduling type in the processor icon, click Show Scheduling form the shortcut menu. Processor Specification (cont’d)

  31. Processor Specification (cont’d) Scheduling:

  32. Device Specification • Displays and modifies the properties and relationships of a device in the current model. • Consists of: General and Detail.

  33. Indicates a communication path between two processors, two devices, or a processor and a device. A connection usually represents a direct hardware coupling, such as an RS232 cable. It can also represent an indirect coupling. The Connection Specification consists two tabs, which contain the same elements as the Device Specification, Connection Specification

  34. Process Specification • Processes are threads of control that execute on a processor. • Can be accessed through the Processes field of a Processor Specification. None of the information contained in the Process Specification is displayed in diagram. • Consist of: General. • Processor: the owner of the process is shown here.

  35. End

  36. A stereotype is a modeling element sub classification that has been given a more specific meaning. Allows you to provide additional distinctions in model that are not explicitly supported by the UML. You can control how stereotypes are displayed. The settings are found on the Diagram tab and the Browser tab, located in the Options dialog box under the Tools menu. Stereotypes

  37. Rational Rose offers ten stereotype icons that can be used when modeling a business: Business Use Case Use-Case Realization Boundary Class Business Actor Business Entity Business Worker Entity Class Control Class Business Use Case Realization Organization Unit Package Stereotypes (cont’d)

  38. Allow to import a type library of a COM (Component Object Model) component into the model, by dragging the COM component from the Windows Explorer and drop it in Rational Rose. Or, Tools > COM > Import Type Library command. Can show how classes in the model use and depend upon classes in other components, regardless of their implementation language. Type Library Importer

More Related