This week's book giveaway is in the Artificial Intelligence forum.
We're giving away four copies of Pragmatic AI and have Noah Gift on-line!
See this thread for details.
Win a copy of Pragmatic AI this week in the Artificial Intelligence forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

synchronous messaging v/s Request response pattern  RSS feed

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
>^..^<
 
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!