Spring Batch is a framework for batch processing that
provides reusable functions that are essential in processing large volumes of
records, including:
Logging / Tracing
Transaction management
Employment Processing Statistics
Restarting employment
It also provides more advanced technical services and
features that will enable high volume and high performance batch jobs through
optimizations and partitioning techniques. Spring Batch is a framework for
batch processing - performing a series of jobs. In Spring Batch, a job consists
of several steps and each step consists of a READ-PROCESS-WRITE task or a
tasklet.
For the "READ-PROCESS-WRITE" process, this means
"reading" the resource data (csv, xml or database),
"processing" and "writing" it to other resources (csv, xml
and base of data). For example, a step can read data from a CSV file, process
it, and write it to the database. Spring Batch provides many classes to read /
write CSV, XML and database.
For the "tasklet" task, this means performing a
single task, such as clearing resources after or before a step is started or
completed.
And the steps can be chained together to function as a job.

No comments:
Post a Comment