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!
springboot Article's
30 articles in total
Launched a Web version of my Project using Java Spring Framework, Spring Boot Web
read article
Understanding Spring Security and OAuth 2.0
read article
Spring Oauth2 - App-Token based Hybrid Token Verification Methods
read article
Static variables in Java
read article
What is Spring AI ? Example of a chat API with multiple LLMs
read article
Quando usar ResponseEntity?
read article
App-Token based easy OAuth2 implementation built to grow with Spring Boot
read article
[Boost]
read article
Spring Boot 3 application on AWS Lambda - Part 14 Measuring cold and warm starts with GraalVM Native Image and memory settings
read article
SpringBoot Web Service - Part 5 - Github Action
read article
Apache wicket with spring boot example application: notice board
read article
OTP Authentication: The Passwordless Superhero of Your App! π¦ΈββοΈβ¨
read article
SpringBoot Web Service - Part 1 - Create Repository
read article
SpringBoot Web Service - Part 2 - Preparing Using Spring Initializr
read article
Zero Config Spring Batch: Just Write Business Logic
currently reading
Generate a REST API Using Java and Spring Boot for your Postgres database
read article
How to optimize SpringBoot startup
read article
Spring Boot: About @SpringBootApplication
read article
Introduction to Spring Boot: A Complete Guide
read article
Wednesday Links - Edition 2025-01-01π
read article
SpringBoot Web Service - Part 4 - Initial Configuration
read article
How to implement detekt in Spring Boot + Kotlin + Gradle project
read article
Building Resilient APIs: Mistakes I Made and How I Overcame Them
read article
Web Scraping Summarization with Vite React TypeScript and Spring Boot
read article
Handling NullPointerException with Optional
read article
Overview of Lock API in java
read article
Optimizing Serverless Lambda with GraalVM Native Image
read article
With Spring can I make an optional path variable?
read article
Building a Vue CRUD App with a Spring Boot API
read article
Hexagonal Architecture β A Favorite Lyrics Spring Boot β Java Example
read article
Featured ones: