6. XML content example If the part has child, this part will be enclosed by <ProductStructure>. If the part does not have child, then this part will be enclosed by <Line>
9. Architecture JAXB We’ll focus on JAXB instead of Xstream in this material. If you’re interested in Xstream, please refer to Utilized XStrem in Green Integration . XML Spy can do the same thing, but it’s not free solution.
11. Implementation steps in Green Integration Applied JAXB to generate POJOs automatically We can focus on retrieving data and setting them into POJOs. Applied XStream to generate XML file by easy way. Applied Commons IO to write xml content into file Logging service Utility classes Commons Lang