Skip to main content Accessibility help
×
Hostname: page-component-848d4c4894-xm8r8 Total loading time: 0 Render date: 2024-06-30T09:17:42.485Z Has data issue: false hasContentIssue false

8 - UML Communication Diagrams

Published online by Cambridge University Press:  17 December 2010

Scott W. Ambler
Affiliation:
Ronin International
Get access

Summary

UML communication diagrams, formerly known as collaboration diagrams, are used to explore the dynamic nature of your software. Communication diagrams show the message flow between objects in an object-oriented application, and also imply the basic associations (relationships) between classes. Communication diagrams are often used to

  1. ■ provide a bird's-eye view of a collection of collaborating objects, particularly within a real-time environment;

  2. ■ provide an alternate view to UML sequence diagrams;

  3. ■ allocate functionality to classes by exploring the behavioral aspects of a system;

  4. ■ model the logic of the implementation of a complex operation, particularly one that interacts with a large number of other objects;

  5. ■ explore the roles that objects take within a system, as well as the different relationships in which they are involved when in those roles.

General Guidelines

Create Instance-Level Diagrams to Explore Object Design Issues

Instance-level UML communication diagrams, such as the one shown in Figure 33, depict interactions between objects (instances). Instance-level diagrams are typically created to explore the internal design of object-oriented software. This by far is the most common style of UML communication diagram.

Create Specification-Level Diagrams to Explore Roles

Specification-level UML communication diagrams, such as the one shown in Figure 37, are used to analyze and explore the roles taken by domain classes within a system. This style of UML communication diagram is not common because most modelers identify roles via UML class diagrams.

Apply Robustness Diagram Visual Stereotypes

Figure 33 is effectively a detailed robustness diagram (Jacobson, Christerson, Jonsson, and Overgaard 1992; Rosenberg and Scott 1999).

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 2005

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×