Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2000-04-04
2
Medium Priority
?
214 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 200 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
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.
Suggested Courses

610 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