Remote Callbacks
[ Home ] [ Up ] [ Remote Objects ] [ Remote Method Calls ] [ Components ] [ The RMI Registry ] [ A Simple Example ] [ Listing Remote Objects ] [ Extended Example ] [ Caveats ] [ Passing Objects in RMI ] [ Remote Callbacks ]

 

The Remote Interfaces
The TimeServer
The TimeClient
Running the Example

 

It is possible to have the remote object call the client back.

This can be useful for a number of purposes, for example to provide feedback on progress, etc.

Here's an example of how this can be done using RMI.

We'll implement a simple Time server, where the client registers, and then subsequently receives regular callbacks to report the time.

 
The page was last updated February 19, 2008