File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion 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: 13037
A google search for Java Message Service Tutorial found this Sun site.
I agree. Here's the link:
subject: Difference betn request/reply and publish/subscribe
It's not a secret anymore!