File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes How does one depict synchronous JMS communication in sequence diagram? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "How does one depict synchronous JMS communication in sequence diagram?" Watch "How does one depict synchronous JMS communication in sequence diagram?" New topic
Author

How does one depict synchronous JMS communication in sequence diagram?

Jesson Joy
Greenhorn

Joined: Aug 03, 2011
Posts: 3
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!!



[Thumbnail for Screen shot 2012-01-14 at 6.19.19 PM.png]

Murali Ranga
Ranch Hand

Joined: Dec 16, 2011
Posts: 38
In my design the external queues were represented in a similar manner,I used asynchronous communication
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6662
    
    5

I have not had to represent this before either, but this looks like the way to go


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
Joe O'Toole
Ranch Hand

Joined: Mar 02, 2009
Posts: 51
Hi

Just wondering if your sequence flow contains a call to a web service should you handle in the same manner or should you just show a call to your object which calls the Web Service.

Thanks
Joe
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How does one depict synchronous JMS communication in sequence diagram?