Professional Documents
Culture Documents
Rational Rose
Rational Rose
Rational Rose
Introduction
• Rational Rose is a powerful visual modeling tool to aid in
the analysis and design of object−oriented software
systems. It is used to model your system before you write
any code.
• Rational Rose supports business modeling, helping you to
understand the business around the system.
• It helps with systems analysis by enabling you to design
use cases and Use Case diagrams to show the system
functionality.
• It will let you design Interaction diagrams to show how the
objects work together to provide the needed functionality.
• Class diagrams can be created to show the classes in a
system and how they relate to each other.
• Component diagrams can be developed to illustrate how
the classes map to implementation components.
• Finally, a Deployment diagram can be produced to show
the network design for the system.
Introduction
• A Rose model is a picture of a system from various
perspectives. It includes all of the UML diagrams, actors,
use cases, objects, classes, components, and deployment
nodes in a system.
• It describes in great detail what the system will include
and how it will work, so developers can use the model as a
blueprint for the system being built.
• Rational Rose will help developers by generating skeletal
code. It can do this for a number of different languages
available on the market, including C++, Ada, CORBA, Java,
COM objects, Visual Basic, and XML.
• Further, Rose can reverse engineer code and create a
model based on an existing system. Having a model in
Rose for an existing application is very beneficial. When a
change occurs to the model, Rose can modify the code to
incorporate the change. Similarly, when a change occurs in
the code, you can incorporate that change into the model
automatically. These features help you keep the model and
the code synchronized, reducing the risk of having an
outdated model.
Introduction
• Rose can also be extended using RoseScript, a
programming language packaged with Rose.
Using this programming language, you can write
code to automatically make changes to your
model, create a report, or perform other tasks
with your Rose model.
• There are three different versions of Rose
currently available:
– Rose Modeler, which allows you to create a model for
your system, but will not support code generation or
reverse engineering.
– Rose Professional, which allows you to generate code in
one language.
– Rose Enterprise, which allows you to generate code for
C++, Java, Ada, CORBA, Visual Basic, COM, Oracle8,
and XML. A model can have components that are
generated in different languages.
Parts of screen
• The five primary pieces of the Rose interface are
the browser, the documentation window, the
toolbars, the diagram window, and the log.
– Browser Used to quickly navigate through the model
– Documentation window Used to view or update
documentation of model elements
– Toolbars Used for quick access to commonly used
commands
– Diagram window Used to display and edit one or more
UML diagrams
– Log Used to view errors and report the results of
various commands
Browser
• The browser is a hierarchical structure you can use to
easily navigate through your Rose model. Anything you add
to the model—actors, use cases, classes, components, and
so on—will display in the browser.
• Using the browser, you can
– Add model elements (use cases, actors, classes, components,
diagrams, etc.)
– View existing model elements
– View existing relationships between model elements
– Move model elements
– Rename model elements
– Add a model element to a diagram
– Attach a file or URL to an element
– Group elements into packages
– Access the detailed specifications of an element
– Open a diagram
Browser
• There are four views in the browser: the Use Case view, the Logical view, the Component
view, and the Deployment view.
View Contents
Use case view Business actors
Business workers
Business use cases
Business Use Case diagrams
Business Use Case realizations
Actors
Use cases
Associations
Use case documentation
Use Case diagrams
Activity diagrams
Sequence diagrams
Collaboration diagrams
Packages
Browser
View Contents
Logical View Classes
Class diagrams
Associations
Interfaces
Sequence diagrams
Collaboration diagrams
Statechart diagrams
Packages
Browser
View Contents