5.10. Collaboration Diagrams

Collaboration diagrams and sequence diagrams (discussed in the following section) are the two ways of representing interaction between different classes in UML. Objects in a system interact in order to provide the services defined by the application. Interaction diagrams represent objects in relation to one another.

In a collaboration diagram, objects are represented by rectangles. You draw arrows representing messages between each object. Each arrow is labeled to indicate the nature of the message and the order in which the message is sent.

5.10.1. When to Use Collaboration Diagrams

Use collaboration diagrams early in designing your system so that you can have a picture of how objects will interact. This can help ...

Get Java™ for ColdFusion® Developers now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.