This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes How to JEE dependency injection in sequence diagram? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "How to JEE dependency injection in sequence diagram?" Watch "How to JEE dependency injection in sequence diagram?" New topic
Author

How to JEE dependency injection in sequence diagram?

Arpit Kumar Jain
Ranch Hand

Joined: Jun 05, 2010
Posts: 41
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


SCJP, SCWCD, SCEA
Praison Selvaraj
Ranch Hand

Joined: Jun 05, 2010
Posts: 49
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


SCJP, SCWCD, SCEA
 
Consider Paul's rocket mass heater.
 
subject: How to JEE dependency injection in sequence diagram?
 
Similar Threads
Included or Extended Use Cases in Sequence Diagram
Sequence Diagram
A question about UML - sequence diagrams
Sequence diagrams should only show classes found in class diagram
Collaboration Diagram x Sequence Diagram