Java batch is becoming a hot topic in enterprise environments these days, but how do you do it the right way? The project spring-boot-starter-batch-web offers a best practice approach to modern batch architectures, answering the following questions:
- How do I actually deploy jobs?
- How do I start, stop and monitor them?
- How do I integrate them into my companies’ infrastructure?
- How do I build job artifacts?
It builds on Spring Batch, Spring Boot and JSR-352, and it’s one of codecentric’s open source projects.
The just released version 1.2.0.RELEASE is available on Maven Central:
1<dependency> 2 <groupId>de.codecentric</groupId> 3 <artifactId>spring-boot-starter-batch-web</artifactId> 4 <version>1.2.0.RELEASE</version> 5</dependency>
New features include:
- Support for JSR-352 style jobs. See batch-boot-simple-jsr352 for example usage. We will cover this in more details in a following blog post.
- Support for restarting jobs by submitting the same parameters again.
- Examples for integration testing of jobs, see here.
- Upgrade to Spring Boot 1.1.5.RELEASE.
For a general introduction to the project, you may want to read this blog post: Enterprise-ready production-ready Java batch applications powered by Spring Boot .
Feedback, Issues and Pull Requests are very welcome!