The unit of work in a Spring Batch is a job, which encapsulates all other aspects needed to complete a batch operation. Before we get into the details of how to configure and use Spring Batch components, let's familiarize ourselves with the basic terms used in a Spring Batch job.
Let's familiarize ourselves with the basic domain language of Spring Batch, which will help us understand the example:
Job: This represents a batch process, and it has one-to-one mapping. For each batch process, there will be one job. It can be defined either in XML or the Java configuration—I have used the XML approach.
Step: This is the logical breakdown of a job—a job has one or more steps. It encapsulates the phases ...