wood burning stoves 2.0*
The moose likes Web Services and the fly likes Difference betn request/reply and publish/subscribe Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Difference betn request/reply and publish/subscribe" Watch "Difference betn request/reply and publish/subscribe" New topic

Difference betn request/reply and publish/subscribe

Ranjeeth Chandra

Joined: Sep 19, 2008
Posts: 7

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...

William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12761
A google search for Java Message Service Tutorial found this Sun site.
It is sorta covered in the JavaRanch Style Guide.
subject: Difference betn request/reply and publish/subscribe
Similar Threads
Regarding web services Technologies
Getting my desktop's time ?
JMS question
the role of Service Activator design pattern in publish/subscribe message model
WebServices - How it is working