Chapter 1. Introducing Spring Batch
Listing 1.1. Spring Batch interfaces for chunk processing
Listing 1.2. Spring configuration of the FlatFileItemReader
Listing 1.3. Implementing the ProductJdbcItemWriter
Listing 1.4. Spring configuration of the read-write step
Listing 1.5. Implementation of decompression tasklet
Listing 1.6. Spring configuration of the decompress tasklet
Listing 1.7. Spring configuration for the batch infrastructure
Listing 1.8. Referring to job parameters in the Spring configuration
Listing 1.9. Integration test for the import product test
Listing 1.10. Setting the skip policy when reading records from the flat file
Listing 1.11. Testing the job correctly skips incorrect lines with a new test method
Chapter 2. Spring Batch concepts
Listing 2.1. Configuration of a persistent job repository
Listing 2.2. Configuring a job with linear flow
Listing 2.3. Configuring a job with nonlinear flow
Chapter 3. Batch configuration
Listing 3.1. Spring Batch XML namespace and prefix
Listing 3.2. Using the Spring Batch namespace as the default namespace
Listing 3.3. Nested configuration of a job
Listing 3.4. Configuring a job parameter validator
Listing 3.5. Configuring tasklet attributes
Listing 3.6. Using tasklet configuration attributes
Listing 3.7. Configuring chunk retry, skip, and completion
Listing 3.8. Using child elements in the tasklet configuration
Listing 3.9. Configuring skippable exceptions
Listing 3.10. Configuring streams in a chunk