XStream is a simple library to serialize Java objects to XML and back again.