Create Instance Links and Messages Between Objects

You are going to create instance links between objects to express the collaboration between objects:

Source

Destination

Customer

Internet Browser

Internet Browser

Application Server

Application Server

Database Server

For more information on how to create instance links in the communication diagram, see "Creating an instance link in a communication diagram" in the Building Dynamic Diagrams chapter of the Object-Oriented Modeling guide.

You then define messages on the different instance links to express the data carried by the links.

For more information on how to create messages on instance links in the communication diagram, see "Creating a message in a communication diagram" in the Building Dynamic Diagrams chapter of the Object-Oriented Modeling guide.

You are going to create the following messages:

Direction

Message name

Sequence number

Customer - Internet Browser

Stock value query

1

Internet Browser - Application Server

Ask value to app server

2

Application Server - Database Server

Ask value to db

3

Database Server - Application Server

Return value from db

4

Application Server - Internet Browser

Return value from app server

5

Internet Browser - Customer

Return value

6