File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Asynchronous communication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Asynchronous communication" Watch "Asynchronous communication" New topic

Asynchronous communication

N Deshmukh

Joined: Sep 14, 2002
Posts: 4
I have a SOAP service running on machine A
I have database on machine B.
I have the client on machine C.
In SOAP service running on machine C , i am executing some long task.
I want that the Service should have the ability to asynchronously (without client polling) signal progress and completion to the client
Also, Service should have the ability to asynchronously signal error conditions or exceptions.
One option is to have the applet in JSP page and use RMI callbacks.
Is their any better option for this?
Performance is key issue.
Rufus BugleWeed
Ranch Hand

Joined: Feb 22, 2002
Posts: 1551
Did you consider JMS?
I agree. Here's the link:
subject: Asynchronous communication
It's not a secret anymore!