aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Distributed Architecture and JMS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Distributed Architecture and JMS " Watch "Distributed Architecture and JMS " New topic
Author

Distributed Architecture and JMS

Neha Mohit
Ranch Hand

Joined: Apr 25, 2006
Posts: 87
Hello All,

How do i publish a message from server to A to all its subscriber which are on server B using JMS Topic.


I tried google they all talk about the distributed java components but are all on the same server. In my requirement the java components are on different servers .

Any links , tutorials or a sample code if possible; please suggest

Thanks in advance
[ October 04, 2007: Message edited by: Neha Mohit ]
Nitesh Kant
Bartender

Joined: Feb 25, 2007
Posts: 1638

I think, I did not get your question.
You want to directly send message from one server to another?
In JMS, it will be like, you will be publishing a message for a topic to a JMS server and there will be subscribers to that topic who will receieve the message that you published.
None of the clients (publisher/consumer) resides inside the JMS server, so in a JMS scenario, all the parties are distributed!
Both publisher and consumer uses a JMS client library that takes care of delivering the message to the JMS server and getting messages from the server to the client.
Whichever sample code you would have got on the internet will refer to the above scenario only and you do not have to look for different versions for a distributed scenario so to say.
Hope this helps.


apigee, a better way to API!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Distributed Architecture and JMS