Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

asynchronous rmi?

807569Jun 5 2006 — edited Jun 5 2006
i got a java client that needs to call another java server in a synchonous or a asynchronous way to get some data. i am using xml-rpc at the moment since it supports both ways. the decision to make an async or sync call depends on the amount of data cached on the client side. if the cache is empty the client uses the synchronous way, the asynchronous method call is only used if the cache reaches a minimum size.
now, it seems like on the long run this is not very efficient since xml-rpc adds quite a lot of overhead. i am also not going to use a hybrid architecture.
does anyone know if rmi supports asynchronous method invocation? or is there a better way to do it?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 3 2006
Added on Jun 5 2006
7 comments
315 views