Defining a Spring Batch job
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.
The Spring Batch job language
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 ...
Get Spring Integration Essentials now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.