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
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
- GitHub: https://github.com/kinto-technologies/SpringBoot3BatchStarter
- Technical Blog (English): https://blog.kinto-technologies.com/posts/2024-12-25_copy_paste_spring_batch5_boot3
Quick Start
- Clone the repo (only Git needed)
- 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 ---");
}
}
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!
gradle Article's
30 articles in total
Understanding (a bit of) the Gradle Kotlin DSL
read article
Zero Config Spring Batch: Just Write Business Logic
currently reading
JeKa: The Simplest Way to Create Uber and Shade Jars
read article
JeKa: The Simplest Way to Publish on Maven Central
read article
Gradle extensions part 2: Now with shenanigans
read article
Wednesday Links - Edition 2024-11-27
read article
A brand new Java scaffolding has been born today for Make Java Great Again!
read article
Wednesday Links - Edition 2024-10-16
read article
Gradle 8.11: Faster Configuration Cache and Improved Configuration Time
read article
react-native duplicate class problem
read article
Breaking the build 😝 : Demystifying Gradle
read article
Wednesday Links - Edition 2024-09-11
read article
One click dependencies fix
read article
ACAB: Fire the (code style) cop in your head
read article
Telltale: Automating Experimentation in Gradle Builds
read article
Minecraft Modpack Development Update: Beta Test and Musical Additions
read article
Gradle upgrade
read article
Announcing Dependency Analysis Gradle Plugin 2.0.0!
read article
Wednesday Links - Edition 2024-07-24
read article
Resource observability case study: jemalloc in Android builds
read article
How store signing keystore.
read article
Simple way to store secrets in Android Project.
read article
Developing a Custom Gradle Plugin for Formatting and Static Analysis
read article
Gradle Commands Cheat Sheet
read article
Wednesday Links - Edition 2024-04-24
read article
Gradle DSL: Configurando JaCoco
read article
Unearthing the Quirk: Dealing with File Access Issues that arise from Resource Optimization in Android Applications
read article
🍒 Cherry-Picked Nx v18.2 Updates
read article
Making Your Android Project Modular With Convention Plugins
read article
Kradle 9.0: Revolutionizing the JVM Ecosystem with Kotlin at its Core!
read article
Featured ones: