Hi Servoyans, hello Jan.
During a recent discussion with Patrick on the topic of further
integration of servoy business logic into our heterogenuous environment
we found an interesting question to ask.
As we see it, Servoy Client Plugins are based on RMI.
You get yourself an IClientPluginAccess-Handle and transport
IScriptObjects as well as POJOs over to the server and back to the client
when talking to an IServerPlugin.
Regarding interfaces we discussed the following: Patrick has a bunch of POJOs
in his hands (in a servoy plugin) and wants them to be transferred to a different
Java process outside of servoy. We thought
about serializing them into xml in the servoy server and deserialize them in
my Java VM afterwards (using headless and xml-strings).
But why not use std Java marshalling and RMI directly?
We'd have to know the stub/skeleton functions we could use --
or how to embed our own.
I'd just like to know what you think about this idea.
Best regards,
Michael