How to create a generic Java .net (C#) protocol?
Posted: 18 Mar 2011, 12:58
What is a working (and recommended) way to create a protocol (the communication) between a Java SFS extension and a Unity3D client?
There should be transferred Java objects without adding any code to serialize and deserialize these objects (so that new java objects can be added without changing the protocol)
One approach so far: usage of IKVM on Unity3D, so the Java classes can be used in Unity3D also. But what is a solution for the serialize/deserialize part? xStream? (although XML is costly in terms of bandwitdth?)
Any thoughts?
There should be transferred Java objects without adding any code to serialize and deserialize these objects (so that new java objects can be added without changing the protocol)
One approach so far: usage of IKVM on Unity3D, so the Java classes can be used in Unity3D also. But what is a solution for the serialize/deserialize part? xStream? (although XML is costly in terms of bandwitdth?)
Any thoughts?