Logo

dev-resources.site

for different kinds of informations.

Zero Config Spring Batch: Just Write Business Logic

Published at
1/4/2025
Categories
springbach
githubactions
gradle
springboot
Author
y_m_6cd3eef8e6349564919c7
Author
25 person written this
y_m_6cd3eef8e6349564919c7
open
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!

githubactions Article's
30 articles in total
Favicon
Git Commands Every Developer Must Know ๐Ÿ”ฅ
Favicon
Github Actions with Vercel in 2024
Favicon
Undo Mistakes in Git: Revert, Reset, and Checkout Simplified
Favicon
Taming the CI Beast: Optimizing a Massive Next.js Application (Part 1)
Favicon
Visualize TypeScript Dependencies of Changed Files in a Pull Request Using dependency-cruiser-report-action
Favicon
From Code to Cloud: Builds Next.js on GitHub Actions, straight to production
Favicon
Publishing JSR package with Github Actions that react-hook-use-cta used
Favicon
Zero Config Spring Batch: Just Write Business Logic
Favicon
When GitHub Actions Build Fails Due to pnpm-lockfile
Favicon
CI/CD Tools for Startups: Empowering IT Professionals to Scale Smarter
Favicon
Securely access Amazon EKS with GitHub Actions and OpenID Connect
Favicon
Publishing NPM package with Github Actions that react-hook-use-cta used
Favicon
[Boost]
Favicon
Building and Deploying a New API (Part 2)
Favicon
From days to minutes: Build and publish React Native apps using Fastlane and Github Actions
Favicon
Private LLMs for GitHub Actions
Favicon
Desplegar a Firebase con GitHub actions
Favicon
How to build a chatbot powered by github actions
Favicon
Building an educational game with AI tools and Azure Static Web Apps (Part 2)
Favicon
Continous Integration And Continous Deployment Of A Full-Stack Docker-Compose Application
Favicon
Git Hub Pages is a free and awesome solution for your profile or personal site
Favicon
Build vs. Buy: Choosing the Right Approach to IaC Management
Favicon
How to release a version of a web app using GitHub Workflow with GitHub Actions
Favicon
CI/CD com GitHub Actions e teste local com Act
Favicon
Deploying Containerized Applications to AWS ECS Using Terraform and CI/CD (Project Summary)
Favicon
Automating Unity Builds with GitHub Actions
Favicon
Auto Deploy Laravel with Deployer.yml sample With Githubย Runner
Favicon
Create an auto-merging workflow on Github
Favicon
github actions
Favicon
VS Code + LLM = ?

Featured ones: