I have to generate a xml based on some data. Was viewing the comparison between JAXB and XStream and really confused as to which one to use. Can anyone give their view JAXB VS XSTREAM.