What are sequence diagrams, collaboration diagrams and
difference between them ?

Answer Posted / singhal

1:
In Sequence diagrams we can show Synchronous as well as
Asynchronous messages.
In Collaboration Diagram we can only show Synchronous messages.
2:
Sequence Diagram shows overall flow of System event/s in a
given use case.
Collaboration diagram shows how objects interacts with each
other or how intercommunication b/w objects for a give use case
3:
Its difficult to fine the responsibilities of objects in
sequence diagram.
Its ease to detect the responsibilities of objects in
collaboration diagram by just counting the number of arrows
coming into the object.
4:
Sequence Diagrams are less spatial.
Collaboration Diagram are much spatial.

Is This Answer Correct ?    17 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe the builder design pattern

665


Why is singleton used?

625


What are useful tools for developing and testing color schemes for web sites?

2026


What are the 23 design patterns?

719


What are the examples of the behavioral design patterns?

601






Shall we use abstract classes or interfaces in policy / strategy design pattern?

597


What non-visual coding tools are available for web design?

2121


Is singleton bean thread safe?

562


What is the use of repository pattern?

577


Give me example of chain of responsibility design pattern?

623


Is dependency injection a design pattern?

584


What is use case in clean architecture?

615


What is the difference between proxy and adapter?

607


Is mvc is a design pattern?

593


What is the difference between factory and abstract factory design pattern?

578