Meaningless Drivel is fun!
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 The Software Craftsman this week in the Agile 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: 19357
    
  10

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Serializing in .NET and Deserializing in java