This part of the reference documentation covers the sample applications included with Spring Hadoop that demonstrate features in a code centric manner.
Chapter 9, Wordcount sample using the Spring Framework describes a standard Spring application that executes the wordcount map-reduce job
Chapter 10, Wordcount sample using Spring Batch describes a Batch application that executes the wordcount map-reduce job