This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Web Services and the fly likes Difference betn request/reply and publish/subscribe Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Difference betn request/reply and publish/subscribe" Watch "Difference betn request/reply and publish/subscribe" New topic
Author

Difference betn request/reply and publish/subscribe

Ranjeeth Chandra
Greenhorn

Joined: Sep 19, 2008
Posts: 7
Hi,

Could anyone please tell me how reply/response and subscribe/publish vary in terms of implementation? I have worked on reply/request where we provide a request with required parameters and we get the response back. We will send a request everytime we need the info.

How does a sub/pub work? Do we get feeds from the service, after subscribing to that service just once? If yes, how/where do we get the response XML which holds the desired data? Do we mention those details at the time of subsciption?

Please throw some light on this...

Thanks,
Ranji
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12267
    
    1
A google search for Java Message Service Tutorial found this Sun site.


Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Difference betn request/reply and publish/subscribe
 
Similar Threads
JMS question
Getting my desktop's time ?
the role of Service Activator design pattern in publish/subscribe message model
WebServices - How it is working
Regarding web services Technologies