Ralf Heilek schrieb:
Hi,
I build an client/server application on top of the riena platform and
want to monitor a long running server operation on the client.
In org.eclipse.riena.example.client i found an example using
IRemoteProgressMonitorRegistry (service) to monitor another service.
Unfortunately, the example is only a client application and fakes the
remote service call.
I guess that the server provides the RemoteProgressMonitorRegistry and
the client registers a proxy to add a ProgressMonitor before calling a
remote service.
A the moment the client and server project depend on
org.eclipse.riena.communication.core and get their own
RemoteProgressMonitorRegistry by the Activator of this bundle.
Can i use this implementation in a real client/server environment?
Thanks, Ralf
Hi Ralf,
everything is on the client. The server does not even know about the
progress monitor. Currently we only monitor the progress on the
communication line. So if you server takes 60 seconds to process a
request and there is no action on the line during that time, there is no
chance to monitor that. So its more meant for calls where the parameter
or the return value is either large or you are using a very weak and
thin connection with little speed. Then you get events for every 512
bytes that are sent or received.
The RemoteProgressMonitorITest class (in o.e.riena.tests) shows you how
to use that with a real running remote service call.
The fake implementation is used where we show how that ProgressMonitor
Events can be visualized in an Eclipse Job.
Does that information help ?
if not let me know
christian campo