Monday, February 16, 2015

Read multiple xml nodes by JAXB / converting xml to object

Using JAXB we can read/write the multiple xml nodes.

consider a scenario where u have to read the list of items from the file system, then its better option is to use JSON or XML structure.

Full sample of the JAXB reading the list of object from the xml file.