Jesson Joy

Greenhorn
+ Follow
since Aug 03, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Jesson Joy

So I have an assignment to make synchronous JMS call to an external system, wait for response and then continue processing. While a synchronous blocking JMS(response/reply) model is in itself a little questionable, I'm struggling with how to show this in a sequence diagram?

Here's what I have now... please advice! Thanks!!
I am in a similar quandary. I've decided not to show the QCF and QueueSession interfaces in my sequence diagram as it is common knowledge and depicts a standard way of implementing JMS requirements.

What did you go with?

Claudiu Dumitrescu wrote:Hi,

I need to communicate with an external system using JMS.
Now, since my intention is to use EJB3 and have all the JMS objects (the ConnectionFactory and the Queue) injected via annotations by the EJB container, what level of details should I give to the sequence diagram?

I was thinking just to have a method in my EJB from which to create a self-call to depict the QueueSender creation and then just to call the remote Queue using a send method.
Is this acceptable or it doesn't make any sense? Should I depict QueueSender actual creation by adding the objects to the diagram?

To explain me better I add the diagram removing any other specific information to my case

Any help will be great as I'm stuck for two days on this not being able to decide which way to go.

Claudiu

I have the same asssignment as well. The explanantion for holding given above seems to be correct in my opinion. I am wondering though if we should really depict JSF pages in the class model (with <<jsf>> stereotype). I've never seen this done in the real world and jsf pages are not classes and so logically shouldnt be part of class diagram. any thoughts?