Solved

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

Posted on 2000-04-04
2
198 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
split53 challenge 7 79
Free Alternative to JIRA 4 91
Spring Framework HTTPSession management 1 24
Arrays.asList  VS  ArrayList 4 45
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

867 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

19 Experts available now in Live!

Get 1:1 Help Now