Spring Batch jobs allow us to perform non-interactive bulk processing. Additionally, it also provides both synchronous and asynchronous processing.

As SpringBatch jobs usually involve processing huge blocks of data making their execution asynchronous might be a good idea unless sequential processing is essential.

This can be done in two ways.

· By making the processing of data within a given step asynchronous

· By making the job asynchronous i.e asynchronously execution of step

#java #spring-framework #spring-batch #multithreading

MultiThreading in SpringBatch
1.70 GEEK