O'Reilly logo

Developing Applications with Java™ and UML by Paul R. Reed

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Activity Diagram

The activity diagram is the “new kid on the block,” a special form of state diagram. Each state is considered an activity state that executes and then progresses to the next activity state. An activity diagram models workflows, computations, and complex operation steps.

Activity diagrams also are beneficial during the use-case definition process. Pathways within the use-cases can be easily modeled with an activity diagram (rather than an alternative outline format). Figure 7-13 shows an activity diagram for the checkCredit() operation in the Remulak Productions Order class.

Figure 7-13. Activity diagram for the checkCredit() operation in the Order class

The activity diagram resembles a flowchart; notice that it includes a ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required