sylvanaar
sylvanaar

Reputation: 8216

Converting Serialized Java Classes Between XML and Binary

I am using Java native serialization along with a dynamic proxy to save the parameters and returns of a series of method calls to a file.

I would like to convert the binary file that is generated to and from XML.

Is this something that I will need to reinvent, or are there already tools out there that can do this?

Upvotes: 2

Views: 345

Answers (2)

ebt
ebt

Reputation: 1358

Castor or XStream are two solid choices. XStream has the benefit of drop dead simple usage

Upvotes: 1

InsertNickHere
InsertNickHere

Reputation: 3666

I think you can use XStream.

Upvotes: 2

Related Questions