Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to JEE dependency injection in sequence diagram?

 
Arpit Kumar Jain
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,

I want to use "cool" dependency feature of JEE, but not sure how to show it in sequence diagrams?
However, i have used it in class diagram using UML dependency element between two classes.
I would like to use DI for one more reason, as "Service Locator" is eating to much space in my sequence diagrams.

Thanks
Arpit
 
Praison Selvaraj
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Arpit,

A stereotype marked <<injectetd>> may be used to indicate that an object in the sequence diagram was injected into the object calling its method.

Cheers,
Praison
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!