[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.ecf] [CDO] [ECF] Invoking EMF operations remotely (client - server)

Hello,

I am trying to figure out a solution for invoking an operation on a remote EObject in a client-server fashion.
I am using CDO to connect the client and server to the same model, then I would like the implementation of an EObject operation on the client side to call the corresponding EObject operation but on the server side.
My current idea is to use ECF remote services for the remote invocation. What I need to do from the client implementation is to send a request to the server to publish a remote service that will expose the correct EObject. Then I fetch the remote service from the client and invoke the operation asynchronously or synchronously using the features of ECF R-OSGi.


How do I uniquely identify the CDO object from the client so that the server side can load it? Can I use the CDOID? I can assume that the client and server is looking at the latest version of the same model.

Has anyone a better idea for doing this?

Thanks,

---
Anders