In the spring batch samples project, there are many projects involved. It's a quick primer.
Spring Batch provides a number of simple job instances that you can refer to when developing your custom batch application: Adhocloopjob: Demonstrates an infinite loop job that exposes elements through JMX; Beanwrappermappersamplejob: Demonstrates how to implement validation of file-based input data and map file fields to domain objects; Compositeitemwritersamplejob: A step can only contain a itemreader and itemwriter, a job that teaches you how to circumvent this limitation; Customerfilterjob: Demonstrates how to use a itemprocessor filter for invalid customer; Delegatingjob: Using Itemreaderadapter, Delegate the read behavior of the input data to a Pojo method; Footballjob: A football match statistic job, after loading two input files (one file is the athlete data, one file is the tournament data), produces a statistic information and outputs to the log file; Groovyjob: Demonstrates running a file compression and decompression script written by groovy; Headerfootersample: Demonstrates how to use callbacks, adding headers and footer at the time of output; Hibernatejob:spring Batch Reader and writer do not use Hibernate by default, and this job demonstrates how to integrate hibernate; Infiniteloopjob: an infinite loop job that automatically restarts after the job has stopped; Iosamplejob: Provides examples of many different IO methods, such as reading separator files, files with fixed-length fields, Xml, JDBC, ibatis integration; Jobsamplejob: Demonstrates how to perform another job from one job; Loopflowsample: Demonstrates how to programmatically control the execution process; Mailjob: Demonstrates how to use simplemailmessageitemwriter to send email;