DEV Community

y m
y m

Posted on

Zero Config Spring Batch: Just Write Business Logic

Hi r/SpringBoot community! I created a Spring Boot 3 Batch starter focused on tasklet-pattern jobs with zero configuration, and wrote a detailed technical blog post about it. The Gradle wrapper automatically downloads JDK - just clone and build.

Project Links

Quick Start

  1. Clone the repo (only Git needed)
  2. Use or modify the sample service
  public class SampleService {
      public void process() {
          log.info("--- Starting batch process ---");
          // Your business logic here
          log.info("--- Batch process completed ---");
      }
  }
Enter fullscreen mode Exit fullscreen mode

3 Run wrapper to create executable jar: ./gradlew

Features

  • Auto-downloads JDK via Gradle wrapper
  • Creates executable jar with default task
  • Zero Spring Batch configuration
  • Ready-to-use service class template
  • Logging configured

Blog Post Covers

  • Design decisions behind the zero-config approach
  • Why I chose the tasklet pattern
  • Detailed implementation examples
  • Step-by-step usage guide

Looking forward to your feedback on both the project and the technical write-up!

Top comments (0)