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

Posted on 2000-04-04
Last Modified: 2008-02-26

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.

Question by:zollenkong
  • 2

Accepted Solution

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

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


to be of value in reading a serialized objects stream.

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

Expert Comment

ID: 2684974
keep me posted please...
im interested in this subject :)

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Java virtual machine monitoring tools 3 39
array220 challenge 8 47
compre toata in where clue oracle 4 42
recursion example 16 69
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…

757 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now