Skip to content

codecentric/spring-boot-starter-batch-web

Repository files navigation

Enterprise-ready production-ready batch applications powered by Spring Boot

Build Status Coverage Status Maven Central License

The project batch-web-spring-boot-starter is a Spring Boot starter for Spring Batch taking care of everything except writing the jobs.

See the documentation for detailed infos, examples and operational details.

Features include:

  • Starting up a web application and automatically deploying batch jobs to it (JavaConfig, XML or JSR-352).
  • Log file separation, one log file for each job execution.
  • An operations http endpoint for starting and stopping jobs, for retrieving the BatchStatus and the log file.
  • A monitoring http endpoint for retrieving detailed information on a job execution, for knowing all deployed jobs and all running job executions.

Take a look at the Getting Started page.

There are the following samples available:

batch-boot-simple: a very simple JavaConfig sample with an embedded database.

batch-boot-file-to-db: a job configured in xml using job parameters that reads from a file and writes to a database. This sample demonstrates the usage of an external database.

batch-boot-simple-jsr352: job samples in JSR-352 style.