Search code examples
javaserializationxstream

What's the lightest xstream convertion?


I'm using XSTREAM to serialize my messages in my application.

I see that there's more way to generate COMPACT MESSAGES in xstream but i need to know which is the lightest (talking about memory) method to convert my messages.

Thanks All!


Solution

  • there are different drivers like JettisonMappedXmlDriver and DomDriver. Of all those, JettisonMappedXmlDriver would be more efficient.