• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dependency Injection in Sequence Diagram

 
Chih-Wei Lee
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi:
How do I show the Dependency Injection in Sequence Diagram?
I have many attributes injected by container and also implement polymorphism.
It's hard to show the creation of these implementation class, so I only show the interaction
between interfaces.
Is this correct?
I think DI is too new to model via sequence diagram.
 
sivan jai
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check the SCEA guide book it has dependency injection in the sequenc diagrams.
 
aru deiv
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sivan,

Can you please tell me which SCEA guide book you are referring to?
 
sivan jai
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Its the Mark Cade, Humphrey Sheil SCEA for Java EE Study Guide second edition.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic