My desktop application developed using the Lazarus IDE, based FreePascal technology.
My Server application developed using Java language,it run on J2EE application server, use SpringFramework.
I would like to ask how to exchange data between the client and server?
I think there are two options, one is to use xml-rpc, the second is to use json-rpc, two programs need to write serialization and de-serialization code, Is there a more concise and efficient data exchange method with RemObjects SDK?
only BinMessage is supported in RO for Java.
This means that you need to manually parse data in other formats (json or xml-rpc) on server side.
In case using BinaryMessage, you need to read a user request and write server response manually, similar as it is done in _invk.pas.
ServiceBuilder can generate files with serialization/deserialization of objects (structs/arrays/etc). it can be usable by your server-side when you will read client requests and write server responses.