H
H Brett Bolen
I'd like to send messages from c++ to java. lots of messages.
lots of data.
The structs I want to send are complex structs, with many
fields.
The data flows both ways, but the majority of data is from
c++ to java.
We are currently using software that is vendor dependant --
which takes the struct info, and generates java and c++ classes
that knows how to pack, align, endian-swap messages, and
send the messages over sockets.
Is there a better way to do this?
Most people mention xml or corba, but what we want ot do
is send thousands and thousands of big messages. I don't
want something that adds alot of overhead.
I do not have to go to see on any machine, any language. I
need to go to linux gcc compiler ( or maybe windows gcc
compiler [cygwin] in the future). I do not need a
geneneral solution with flexiblity ( and overhead). Just
point to point, c-to-java struct passing ( say over
sockets).
The structs are predefined ( say 30 structs), and consists
of variable length arrays of sub structures.
I would like something that is fast ( minimal overhead
in marshalling and demarshalling the data).
thanks.
b
lots of data.
The structs I want to send are complex structs, with many
fields.
The data flows both ways, but the majority of data is from
c++ to java.
We are currently using software that is vendor dependant --
which takes the struct info, and generates java and c++ classes
that knows how to pack, align, endian-swap messages, and
send the messages over sockets.
Is there a better way to do this?
Most people mention xml or corba, but what we want ot do
is send thousands and thousands of big messages. I don't
want something that adds alot of overhead.
I do not have to go to see on any machine, any language. I
need to go to linux gcc compiler ( or maybe windows gcc
compiler [cygwin] in the future). I do not need a
geneneral solution with flexiblity ( and overhead). Just
point to point, c-to-java struct passing ( say over
sockets).
The structs are predefined ( say 30 structs), and consists
of variable length arrays of sub structures.
I would like something that is fast ( minimal overhead
in marshalling and demarshalling the data).
thanks.
b