This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman 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 Building Microservices this week in the Design 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
Sheriff

Joined: Oct 14, 2005
Posts: 19728
    
  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
 
Have you checked out Aspose?
 
subject: Serializing in .NET and Deserializing in java
 
jQuery in Action, 3rd edition