File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Make it so: Java DB Connections & Transactions this week in the JDBC 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

Serializing in .NET and Deserializing in java

Harvinder Thakur
Ranch Hand

Joined: Jun 10, 2008
Posts: 231

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.

Paul Clapham

Joined: Oct 14, 2005
Posts: 19896

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
subject: Serializing in .NET and Deserializing in java
It's not a secret anymore!