Solved

HOW C++ de-serialize a java object??????????

Posted on 2000-04-04
2
207 Views
Last Modified: 2008-02-26
Hi,

Java Program serialize an object and send it to a C++ program throught socket. C++ program pick up the object, but how C++ "de-serialize" a java serialized object? If this is possible, please send me detail info. Thanks.

stephen
0
Comment
Question by:zollenkong
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 2

Accepted Solution

by:
azawawi earned 50 total points
ID: 2684393
Hi zollenkong,

I have done some research on the subject (since last time). I think you can implement a C++ de-serializer after reading "Java Object Serialization Specification" (available at www.javasoft).

The most interesting part for you is "Chapter 6: Object Serialization Stream Protocol" found at

http://java.sun.com/products/jdk/1.3/docs/guide/serialization/spec/protocol.doc.html

I also found in the same chapter
"6.4.1 Rules of the Grammar"
and
"6.4.2 Terminal Symbols and Constants"

bingo!

to be of value in reading a serialized objects stream.

Let me know your progress.
(Hope that helps you in your quest)
0
 
LVL 2

Expert Comment

by:azawawi
ID: 2684974
thanks!
keep me posted please...
im interested in this subject :)
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This video teaches viewers about errors in exception handling.

687 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question