This chapter covered a large amount of material. You learned what a job is and saw its lifecycle. You
looked at how to configure a job and how to interact with it via job parameters. You wrote and
configured listeners to execute logic at the beginning and end of a job, and you worked with the
ExecutionContext for a job and step.
You began looking at the building blocks of a job: its steps. As you looked at steps, you explored one
of the most important concepts in Spring Batch: chunk-based processing. You learned how to configure
chunks and some of the more advanced ways to control them (through things like policies). You learned
about listeners and how to use them to execute logic at the start and end of a step. You walked through
how to order steps either using basic ordering or logic to determine what step to execute next. The
chapter briefly touched on parallelization using the split tag and finished discussing steps by covering
item-based error handling including skip and retry logic.
The job and step are structural components of the Spring Batch framework. They're used to lay out a
process. The majority of the topic from here on covers all the different things that go into the structure
laid out by these pieces.