This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login

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: 13000
A google search for Java Message Service Tutorial found this Sun site.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Difference betn request/reply and publish/subscribe
It's not a secret anymore!