*
The moose likes SOA and ESB and the fly likes Asynchronous message from server to client 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 » SOA and ESB
Bookmark "Asynchronous message from server to client" Watch "Asynchronous message from server to client" New topic
Author

Asynchronous message from server to client

Ashwin Raghavan
Ranch Hand

Joined: Dec 26, 2012
Posts: 30
Hi

I have to create a web service for one of my clients. The requirement is such that the client will access my web services to do some processing and get the result back.

I am building the architecture. My requirement is to get and xml from the client. convert the xml children into xml list and process each child individually. by processing i mean i have to do some work with the information of the child nodes. After the processing for a particular child is complete i want to send a result back to the client asynchronously.

Now i have no idea how to send messages asynchronously from server to client. I have used JMS with MDB before. But it was when both the producer and the consumer were in the same JVM.
But in this case, the producer will be residing on the server and consumer would be the client from some entirely different JVM.
Can you please tell me if it is possible in web services.

rakesh parida
Greenhorn

Joined: May 13, 2010
Posts: 6

Ashwin,

Which Messaging server you are using? It is possible for the client to retrieve messages from the queue even if the client is not running in the same JVM. If you are using IBM MQ, then the dependent MQ realated libraries the client should use in its classpath and can retrieve messages. Pushing messages to the queue is not a big deal but it is about retrieving. Please follow the messaging server specifications/notes/tutorials in the installation folder, you may get a clue.

Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Asynchronous message from server to client
 
Similar Threads
Synchronous processing - Challenge
Axis2 client - HTTP status Response
Asynchronous Web service call
Asynchronous call in the Server side?.,
Sync or Async Web Service?