Java Batch is still a hot topic in enterprise environments these days, but how do you do it the right way? The project batch-web-spring-boot-starter 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 company’s 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 version 2.0.1.RELEASE has just been released and is available on Maven Central:
1<dependency> 2 <groupId>de.codecentric</groupId> 3 <artifactId>batch-web-spring-boot-starter</artifactId> 4 <version>2.0.1.RELEASE</version> 5</dependency> 6
New features include:
- Upgrade to Spring Boot 2.0.3.RELEASE
- Renamed maven artifact – formerly known as spring-boot-starter-batch-web (see Spring Boot Starter naming guidelines )
- Naming scheme of batch metrics changed while Spring Boot 2.x added Micrometer to publish metrics
- Renamed some properties (take a look at the documentation )
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!