background image
<< Publishing Models to the Web Using Rose | Modeling Data >>
the Rational Unified Process (RUP)
<< Publishing Models to the Web Using Rose | Modeling Data >>
Chapter 7 - Modeling the Enhancement
In the Rose Web Publisher browser go to Logical View > WinDNA Realizations >
<<use case realization>> WinDNA: Checkout Realizations > Checkout
. Double-click this
entry to explore the sequence diagram you worked with in this chapter.
Finish reviewing the diagram, then do one of the following:
If the Rational Unified Process (RUP) was open before you started this exercise,
click Back until you return to RUP. In Rose, on the Rose Web Publisher dialog
box, click Close.
If RUP was not open before you started this exercise, close your Web browser.
Then on the Rose Web Publisher dialog box, click Close.
Continuing Work with the Sequence Diagram
Now that you have finished this part of the model, there are a few additional tasks to
perform. In this tutorial, we summarize the tasks, but do not expect you to perform
Refining the Objects
In the sequence diagram, you identify the objects involved with the use case. You next
identify the classes to which the objects belong. You use Rose class diagrams to group
related classes and to elaborate on them.
For example, to see a class diagram, use the Rose browser to explore to Logical View >
ClassicsCD Site > Client Composition Diagrams.
Double-click cashier_Client Diagrams. Each
representation of a class shows you the class attributes and operations. (Double-click
a class representation to see details about the class.)
After you identify classes, you revise the sequence diagram to use class and operation
names instead of the human-language names you originally assigned.
Implementing Code
You are now ready to implement code. From the diagrams you've created, Rose
Enterprise Edition can create a code skeleton that is consistent with the models you've
developed. This is called forward engineering. Starting from the generated code, you as
a developer fill in the details of the algorithm.
To generate new code or to update existing code, choose a command from the Rose
menu. For example, to implement Java code for the enhancement you've been
working on, you would click Tools > Java / J2EE > Generate EJB JAR File, or
Generate WAR File