This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Java in General and the fly likes Serializing in .NET and Deserializing in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Serializing in .NET and Deserializing in java" Watch "Serializing in .NET and Deserializing in java" New topic
Author

Serializing in .NET and Deserializing in java

Harvinder Thakur
Ranch Hand

Joined: Jun 10, 2008
Posts: 231
Hi

I am not able to deserialize an object using java which has been serialized in .NET.
Are there any compatibility issues between serialization/deserialization implementation in Java and .NET?

Any help is appreciated.

thanks
Harvinder
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

Depends on what you mean by "serialized".

You certainly won't be able to use a Java ObjectInputStream and have it deserialize some .Net output. If you used XML there might be a possibility. But I would say the idea seems pretty unlikely to me.
Mathew Lee
Ranch Hand

Joined: Jun 08, 2009
Posts: 238
i do not think so
 
wood burning stoves
 
subject: Serializing in .NET and Deserializing in java