-1

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!

Community
  • 1
  • 1
Matteo Gatto
  • 616
  • 11
  • 28

1 Answers1

1

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

Sumit Desai
  • 1,542
  • 9
  • 22
  • JettisonMappedXmlDriver converts message into json form, which has lower length as compared to xml and hence efficient in terms of memory. – Sumit Desai Oct 24 '12 at 15:48