Does RMI support asynchronous method calls? Is it necessary to kick out a
new thread in the remote object to process the call to it asynchronously?
Thanks!
Printable View
Does RMI support asynchronous method calls? Is it necessary to kick out a
new thread in the remote object to process the call to it asynchronously?
Thanks!
If you mean "can you call an RMI method, then continue on with your code and
have the result come back at some future time", I don't think it does. And
I don't see how a thread in the remote object could make it do that, either.
A thread in the local object, yes. But you might want to consider a
messaging architecture; what you describe sounds like "send a message, get a
response later".
PC2
"alex yershov" <alexyershov@yahoo.com> wrote in message
news:3bc61cb8$1@news.devx.com...
>
> Does RMI support asynchronous method calls? Is it necessary to kick out a
> new thread in the remote object to process the call to it asynchronously?
> Thanks!
>