File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
Sheriff

Joined: Oct 14, 2005
Posts: 19693
    
  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
 
 
subject: Serializing in .NET and Deserializing in java
 
jQuery in Action, 3rd edition