Friday, June 12, 2015

Spring Batch Architecture

Spring batch takes care of one major aspect. Keep batch processing logic and business logic separate. In the sense that application code and batch processing code remains separate.

We have below three chunks which comprises of the Spring Batch Architecture.

1. Spring Batch Infrastructure: Readers/Writers and Services such as RetryTemplate are a part of basic batch infrastructure. Batch Core and Program Application is built upon this Infra.

2. Spring Batch Core: Includes JobLauncher, Job, Step. All the core runtime classes required to launch and control a batch job.

3. Application: This is the Application code that we write which is controlled by Core and written on top of Infra.

No comments:

Post a Comment