Cover by Olivier Bazoud, Gary Gregory, Thierry Templier, Arnaud Cogoluegnes

Safari, the world’s most comprehensive technology and business learning platform.

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required

O'Reilly logo

Chapter 10. Controlling execution

This chapter covers

  • Controlling a job’s execution path
  • Sharing data between job steps at runtime
  • Externalizing job definitions for reuse
  • Choosing how to stop a job after executing a step

Writing batch applications isn’t an easy task. Previous chapters covered how to read and write data efficiently with Spring Batch. These chapters also covered error handling during processing by skipping errors or retrying operations transparently. This chapter covers mastering job execution with Spring Batch. What do we mean by job execution?

A job consists of steps, and execution refers to the sequence of steps that run when a job starts. In simple jobs, the sequence of steps is linear. In complex jobs, execution can ...

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required