How to implement a realtime computing service with ice

in Help Center
If these realtime computing infaces need some types and much date parameters, how to reduce the network overhead and speed up the service response as posible.
my idea is try to creat local service objects by 'downloading' from remote server,client only know the interface but dont know realization beforehand.
I search the function in examples. refer to sample 'value', but find it do'nt fit the requirement completely, in that the printerI 's definition need be included by client
my idea is try to creat local service objects by 'downloading' from remote server,client only know the interface but dont know realization beforehand.
I search the function in examples. refer to sample 'value', but find it do'nt fit the requirement completely, in that the printerI 's definition need be included by client
0
Comments
I have already updated
If you pass an object by value (and therefore, once that is complete, then the object is purely local) then the client must some implementation of that object.
Perhaps you can explain why this doesn't meet your requirement? What exactly in having to provide the implementation is the issue? For example, do you want to be able to change the implementation of the class without updating the client?
basicly I want to not expose the computing logic to the client.
for example ,I want to client can invoke 'PrinterI::printBackwards()' localy
but the client can be built without the implementation source code of printBackwards(), just as the InitialI::getSimple()
If you are dealing with an interpreted language, such as python, that isn't all that difficult. However, a compiled language, such as C++, is more difficult since you have to deal with compiler, operating system, and runtime library differences.
If you are willing to deal with that, or it isn't a huge issue because you are running on a limited set of deployment platforms (for example, Windows Vista + VC9 optimized runtime) then you could package up your object implementations in a shared library (DLL) and download, and load and instantiate on demand.