aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes synchronous messaging v/s Request response pattern Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "synchronous messaging v/s Request response pattern" Watch "synchronous messaging v/s Request response pattern" New topic
Author

synchronous messaging v/s Request response pattern

srinath karkhani
Greenhorn

Joined: Jun 19, 2002
Posts: 14
I a beginner in JMS concepts wants to know the basic difference b/w Synchronous messaging and request response pattern
As read in some books found that synchronous messaging is where the client applications expects a immediate response where asynchronous doesnot, in this case how is the request-reponse(lik Http request-response) different from synchronous messaging
thanks
Srinath
Nigel Kat
Greenhorn

Joined: Jun 25, 2002
Posts: 16
Reqquest-response and synchronous processing could be considered the same thing. Synchronous processing requires that the session that iniated the request stay open and wait until the response is received.
Asynchronous processing is where transactions can be fired off in groups and the responses are handled as they come in. The session does not need to wait for the response.
Asynchronous processing is used by messaging systems where the individual messages are shipped off from one queue and a second queue is monitored for the response to arrive.
When there is no direct link between the request and the response = asyncronous.
Hope that helps
Kat
>^..^<
Andres Gonzalez
Ranch Hand

Joined: Nov 27, 2001
Posts: 1561
I'd recommend to you the book Professional JMS programming by Gopalan Gupta and some other guru's that I don't remember.
It explains in detail this and some more concepts


I'm not going to be a Rock Star. I'm going to be a LEGEND! --Freddie Mercury
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: synchronous messaging v/s Request response pattern
 
Similar Threads
Cross plotform communication technologies
What is Synchronous Messaging
RMI/JMS/???
JMS Request/Response
regarding Point-to-Point messaging system