Chapter 10. Controlling execution
This chapter covers
- Controlling a job’s execution path
- Sharing data between job steps at runtime
- Externalizing job definitions for reuse
- Choosing how to stop a job after executing a step
Writing batch applications isn’t an easy task. Previous chapters covered how to read and write data efficiently with Spring Batch. These chapters also covered error handling during processing by skipping errors or retrying operations transparently. This chapter covers mastering job execution with Spring Batch. What do we mean by job execution?
A job consists of steps, and execution refers to the sequence of steps that run when a job starts. In simple jobs, the sequence of steps is linear. In complex jobs, execution can ...