XStream User Guide: Converting Objects to XML 1. Overview In this tutorial, we’ll learn how to use the XStream library to serialize Java objects to XML. 2. Features There are quite a few interesting benefits to using XStream to serialize and deserialize XML: Configured properly, it produces very clean XML… Continue Reading xstream-serialize-object-to-xml

Guide to JAXB 1. Introduction This is an introductory article on JAXB (Java Architecture for XML Binding). First, we’ll show how to convert Java objects to XML and vice-versa, and then we’ll focus on generating Java classes from XML schema and vice-versa by using JAXB-2 Maven plugin. 2. Overview JAXB… Continue Reading jaxb