Spring Batch
Beyond the certificate: robust bulk processing.
An optional, senior-level module beyond the Spring certificate. Process millions of records reliably with Spring Batch: chunk-oriented jobs and steps, readers/processors/writers, restartability and skip/retry, and scheduling - built around a nightly overdue-loan report for BookVault.
Lessons in this stage
- 01
Why Batch Processing
IntermediateWhen you need to process huge volumes on a schedule - reports, migrations, billing - and why a robust batch framework beats a naive loop.
13 min - 02
Jobs, Steps & Chunks
AdvancedThe anatomy of a batch job: a Job made of Steps, and the chunk-oriented model that reads, processes, and writes in transactional batches.
16 min - 03
Readers, Processors & Writers
AdvancedThe three pluggable pieces of a chunk step - ItemReader, ItemProcessor, ItemWriter - and the built-ins for files, databases, and queues.
15 min - 04
Restartability & Fault Tolerance
AdvancedThe JobRepository remembers progress so a failed job restarts where it stopped; skip and retry policies handle bad records without aborting the run.
15 min - 05
Scheduling & Scaling
AdvancedTrigger jobs on a schedule, and scale a heavy job with multi-threaded steps, partitioning, and remote chunking when one thread isn't enough.
14 min