L
Larry
Is there any documentation on Java's object stream format or any tools
to display it in a readable format and/or create them?
to display it in a readable format and/or create them?
Larry said:Is there any documentation on Java's object stream format
Larry said:Is there any documentation on Java's object stream format
Yes:
http://java.sun.com/j2se/1.5.0/docs/guide/serialization/spec/protocol.html#8101
or any tools to display it in a readable format
and/or create them?
Timo said:Isn't it easier to deserialize in Java and use Reflection and toString()
to print it?
Simply serialize an object in Java?
Larry said:Yes, if I am using Java. But I want to process the object stream from
another language (Perl).
Timo said:Sounds like a lot of pain. I would avoid this under all circumstances
and rather use a serialization protocol that is available in both
languages.
Timo said:Sounds like a lot of pain. I would avoid this under all circumstances
and rather use a serialization protocol that is available in both
languages.
Timo said:Sounds like a lot of pain. I would avoid this under all circumstances
and rather use a serialization protocol that is available in both languages.
Larry said:Timo Stamm wrote:
I am only in control of the client Perl script. I can't change the
server code.
The server code expects to receive a Java object stream
from the client (which is supposed to be an applet).
I already have a bunch of Perl client scripts in place. I don't want
to add a JVM as a dependency just for this one object stream.
This is a hack for sure. But there is a place for
hacks, imho.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.