© Michael T. Minella 2019
Michael T. MinellaThe Definitive Guide to Spring Batchhttps://doi.org/10.1007/978-1-4842-3724-3_5

5. JobRepository and Metadata

Michael T. Minella1 
(1)
Chicago, IL, USA
 

When you look into writing a finite process, the ability to execute processes without a UI in a stand-alone manner isn’t that hard. Spring Boot’s CommandLineRunner allows a developer to write a Spring Boot application that executes a single function that implements any business logic you could think of and completes. You don’t need Spring Batch to do that.

Where things get interesting, however, is where things go wrong. If your batch job is running and an error occurs, how do you recover? How does your job know where it was in processing when the error occurred, ...

Get The Definitive Guide to Spring Batch: Modern Finite Batch Processing in the Cloud now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.