This is the first part of a series on Java based configuration in Spring Batch. Spring Batch 2.2 will be out in a few weeks (update: was released 6/6), and it will have a Java DSL for Spring Batch, including its own @Enable annotation. In Spring Core I prefer Java based configuration over XML , but Spring Batch has a really good namespace in XML. Is the Java based approach really better? Time to t
![Spring Batch 2.2 - JavaConfig Part 1: A comparison to XML](https://cdn-ak-scissors.b.st-hatena.com/image/square/1bc97fbbcd756626f065e8c1a72090fe852feb82/height=288;version=1;width=512/https%3A%2F%2Fwww.codecentric.de%2Fog-1.png)