This is an example project that contains everything to use Spring Batch 3 to read an XML file and write an XML file. There are also tests.
Spring Batch – reading and writing XML
This is a simple Spring Batch project. This implementation will read an XML file and write an XML file with almost no Java code.
Spring Batch Testing
Once you have a Spring Batch application written, how do you test it?