> Hello,
>
[quoted text clipped - 5 lines]
> thanks in adv,
> --ViK
CORBA?
> What would be the easiest marshaling/unmarshaling method for C library
> to communicate with a service written in Java (Note: these two can
> resides in different hosts). The C has typical native complex data
> structures to send across the wire.
I would go for the simple solution: manual marshal/unmarshal on
both sides. Java with DataInputStream/DataOutputStream.
Arne
MJT.Keijsers@gmail.com - 06 Jun 2007 10:45 GMT
Anyone has experience with this? Could be quite difficult to do that
manually, one would like to generate 'marshalling code' based on
definitions in C header files.
OP question; another simple option is JNI but the JAVA process
implementing the bridge will have top be at the same host as the C
library, the interfacing between this JAVA bridge and your server app
is then quite simple via RMI. Maybe a lot of overhead?
On 6 jun, 03:32, Arne Vajh?j <a...@vajhoej.dk> wrote:
> vishwanath...@gmail.com wrote:
> > What would be the easiest marshaling/unmarshaling method for C library
[quoted text clipped - 6 lines]
>
> Arne