2. UML DYNAMIC MODELING(BEHAVIOR DIAGRAM)
It helps in visualizing what should happen
in system.
It show how two different object interact
for the functionality of system.
It show how message is passed between
objects.
3. DIAGRAMS USED TO EXPRESS
DYNAMIC SEMANTIC OF A PROBLEM
• INTERACTION DIAGRAM
SEQUENCE DIAGRAM
COLLABORATION DIAGRAM
• STATECHART DIAGRAM
• ACTIVITY DIAGRAM
4. UML INTERACTION DIAGRAM
• It is used to capture the interaction of
different object
• It show how groups of object collaborate to
get the job done.
• The main guideline in developing interaction
diagram is simplicity.
5. PURPOSE OF INTERACTION DIAGRAM
• To capture dynamic behaviour of a system.
• To describe the message flow in the system.
• To describe structural organization of the
objects.
• To describe interaction among objects.
6. SEQUENCE DIAGRAM
• It is used to capture the sequence of interaction
between object
• It show object participating in the interaction by their
lifeline and the message they exchange in time
sequence
• It show overall flow of control of a program
• It has two dimension
• vertical dimension represents time whereas horizontal
dimension represents object
• Objects are in box whereas message are shown by
arrow between lifelines.
8. COLLABORATION DIAGRAM
• The second interaction diagram
• It is similar as sequence diagram
• Here objects are placed in box and timing
sequence is described using number
technique.
• Sequence diagram doesn't describe the object
organization where as collaboration does.
9. DISADVANTAGES
• It is great only for representing a single
sequence process
• It breakdown when you want to represent
condition looping behavior