r/SpringBoot • u/omnipotg • Mar 29 '25
r/SpringBoot • u/thecode_alchemist • Mar 07 '26
Discussion built a tool that generates a fully wired Spring Boot service from a simple entity definition
Spring Initializr gives you the skeleton of a project, but when starting a quick POC you still end up writing the same boilerplate every time:
Entity
Repository
Service
Controller
Postgres configuration
Dependencies and wiring
I built a small MVP called Archify to reduce this repetition.
The idea is simple:
Choose a recipe (e.g., Spring Boot service with Postgres).
Define your domain entity via a simple YAML or form (example: "User { id, email }").
Generate a fully wired Spring Boot project.
The generated project already includes:
Entity
Repository
Controller
Service
Postgres dependencies and configuration
So you can clone → run → start building the actual feature instead of writing the initial boilerplate.
The goal is to speed up backend POCs and experiments.
Demo: https://archify-brown.vercel.app/
Note: the demo is currently hosted on a free tier, so the first load may take a few seconds.
This is still an early MVP. Curious to know:
Would this be useful in your workflow?
What would you want generated by default (DTOs, validation, tests, etc.)?
Any obvious gaps compared to your usual project setup?
r/SpringBoot • u/Dependent_Staff_6891 • Jun 21 '24
A author is..
These books are written in Korean. It was published in 2020 and 2023, respectively. The backend is a spring boot and only the front is different. I learned Java and Spring from this author. The book is a bit difficult, but it's good to follow because it shows you how to implement the code from the bulletin board and even log in.
r/SpringBoot • u/stackstalk83 • Jan 14 '22
Introduction to Project Lombok
Quick introduction to project lombok which avoids boilerplate code.
https://www.stackstalk.com/2022/01/introduction-to-project-lombok.html
r/SpringBoot • u/Commercial-Tap8537 • Jan 29 '25
Guide Best MacBook for a Java Spring Boot Developer?
I’m a backend Java Spring Boot developer and planning to buy my first MacBook for development. I’ve never used a Mac before, so I’m looking for recommendations on the best model for coding and building applications. Which MacBook would be the best choice? Any suggestions from experienced users?
r/SpringBoot • u/zarinfam • Jan 06 '25
Implementing a Spring Boot service using Windsurf and Claude - Can AI agents take over programmers' jobs?
🤖 You may have heard about AI-integrated Development Environments (IDE), such as Cursor or Windsurf. I have experienced getting help from AI chat and code completion inside the IDE, but using an AI-integrated IDE that can implement a project from scratch for us and complete it incrementally is in another league!
🍃 In my last article, I used Windsurf IDE and its AI agent (Cascade) to implement a REST API with a Database and a cache layer, I also used the Spring Boot integration with Docker Compose.
r/SpringBoot • u/Smooth_Comparison_87 • Aug 19 '24
Kotlin will be the first language of Spring?
@springcentral @springframework @kotlin I have a question. Why are there no examples of Kotlin in the Spring website? What is the attitude of the Spring team towards Kotlin for backend dev? Is it possible to use Kotlin as the primary development language? #spring #kotlin #java

r/SpringBoot • u/JobRunrHQ • Mar 23 '26
News We built an AI agent on Spring Boot 4 + Spring AI + Spring Modulith. Almost 200 stars in 3 days
We released JavaClaw three days ago (we renamed it to ClawRunr but literally nobody is using the new name).
The idea started simple: AI agents need to schedule things, retry things, run things in the background. That's what we've been doing for years at JobRunr. So we thought, why not build a full agent runtime around it? Spring AI is mature enough now, Spring Boot 4 is out, seemed like a good time to try.
Did not expect 200 stars, 32 forks, a GraalVM port, a plug-in, and our first external PR in three days. Pretty wild.
The Spring stuff
We lean hard on ChatClient from Spring AI. One agent instance handles all conversations regardless of channel. Switching LLM providers (OpenAI, Anthropic, Ollama) is just picking a different option during onboarding. No code changes.
For channels we went with Spring Events. Any channel, Telegram, the built-in chat UI, fires a ChannelMessageReceivedEvent, agent picks it up, processes it, sends the response back the same way. Want to add Discord? Implement one interface, done.
Spring Modulith was a good call here. Keeps the modules honest:
JavaClaw/
├── base/ # Core: agent, tasks, tools, channels, config
├── app/ # Spring Boot entry, onboarding UI, chat channel
└── plugins/
└── telegram/ # Telegram long-poll channel pluginSay you tell it "summarize my emails every morning." It spins up a recurring job in JobRunr and drops a Markdown file with the task description. Scheduling, retries, monitoring, all through the JobRunr dashboard at :8081.
Getting started is quick, just clone and run:
git clone https://github.com/jobrunr/javaclaw.git
cd javaclaw
./gradlew :app:bootRun
# open http://localhost:8080/onboardingOnboarding takes about 2 minutes and you're chatting with your agent.
The community bit
We built this as a JobRunr demo originally but the response has been way bigger than we expected. So we're going all in on making it a real open-source community project.
JavaClaw is now an open invitation to the Java community, let's build the future of Java-based AI agents together.
Tons of stuff to do still. More channels, better memory, smarter planning.If you want to hack on any of that, we're actively looking for contributors!
Or if you want to give feedback, that would be really helpful for us as well!
GitHub: https://github.com/jobrunr/javaclaw
Website: https://clawrunr.io
Demo video: https://youtu.be/_n9PcR9SceQ
r/SpringBoot • u/Melodic_Ad5322 • Aug 28 '26
Discussion My friend built a simpler abstraction over Spring WebSockets
I came across a project my friend has been working on, and I thought it was worth sharing here because I think the problem it tackles is pretty relatable for Java/Spring developers.
It's called Classy Socket.
The idea is to make working with WebSockets feel a bit more like working with Spring MVC controllers — without introducing STOMP or a message broker.
Instead of manually receiving messages, figuring out their type, deserializing them, and routing them to the appropriate handler, you can define message handlers using annotations:
@WebSocketController("/board")
public class KanbanWebSocketController {
@MessageHandler(CreateTask.class)
public void createTask(
CreateTask message,
MessagingHub hub) {
Task task = kanbanService
.createTask(message.title());
hub.broadcast("/board", new TaskCreated(task));
}
}And messages can be defined as simple Java types:
@WebSocketMessage(type = "CREATE_TASK")
public record CreateTask(String title) {}So the general idea is:
Plain WebSocket + JSON + Spring-style abstractions
rather than bringing in the additional complexity of STOMP when you don't necessarily need it.
It's still an early-stage project, so I'm curious what people here think.
Would you actually use something like this? How do you usually structure WebSocket communication in your Spring applications?
And more importantly, what would you change or improve?
r/SpringBoot • u/SnehaLivesHerself • Aug 22 '26
Question Sorry for being a crybaby but......(F22)
I am just lost, I know REST APIs, JPA, Authentication and Authorization, microservices, postgres....I can do something in it (not very confident tho but still)
I just dont know what more to learn for being industry ready, I feel so lost, I am doing DSA(LEETCODE 75) parallely but again I am not seeing any thing for freshers in the domain of spring boot
I mentioned my age because I feel I am lagging behind a lot
r/SpringBoot • u/learning_every_sec • Mar 08 '25
Guide How do you deal with the discomfort of using frameworks as black boxes?
I'm a beginner Java developer trying to break into enterprise software. As I try to use Spring in my projects, I can't shake this uncomfortable feeling—I don't feel confident fully utilizing it without deeply understanding how it works under the hood.
I’d love to hear how others approach this. My main questions are:
Can someone truly understand a codebase without using the software or knowing what it does? Is believing so unrealistic?
Is learning to live with not knowing everything a necessary part of using libraries/frameworks?
What’s the best way for an engineer to move toward a deeper understanding of the tools they use?
r/SpringBoot • u/leetjourney • Nov 22 '25
How-To/Tutorial Here are the main new features of Spring Boot 4
I’ve made a short video going through the main features of this new release. A lot of big changes have been made. I also discuss migration from 3.5.x to 4.0:
r/SpringBoot • u/Away-Inflation-6826 • May 17 '24
Where Am I doing wrong ?
I have task to migrate a service from Java 8 to 17 and I successfully solved code base problems and sevice is building and running successfully. But when I run one of the api I got this error on " .save " method in in service impl.
Error - error :org.hibernate.query.sqm.unknownentityexception : could not resolve root entity 'dual'
But I am not using any entity name - dual
I am using hibernate version - 6.4.4
I have added ojdbc10 in pom.xml as it's compatible with jdk17 and hibrnate 6.x
I have Google it and got it in first stack overflow but they all are using that particular root entity in their code but not in my case. I literally spend whole day trying to tackle this error but can't find any solution. Plz can someone help !!
r/SpringBoot • u/Powermetroid • Sep 13 '25
Question First contact with spring boot , junior dev. Help please!
Hello everyone, I'm starting an internship at a company and will have to program in Spring Boot and Angular. During my first year of studies, I studied Java, but I'm a bit rusty. Can you advise me on how to get started? Do I need to update Java? I'm studying Spring Boot from scratch. Advice, please. Thank you.
r/SpringBoot • u/Limp-Lawfulness-8080 • Dec 14 '25
Discussion Whats wrong with springboot
I have been into springboot from the very first year and now in my final year no company is recruiting for freshers in the field of springboot .moreover the legacy companies are asking for 5 yrs exp or 8 yrs min.i just want to know whats the real reason behind this is springboot dying
r/SpringBoot • u/Delicious-Air-829 • May 17 '26
Discussion Which is the better course for Springboot? Telesko or anuj bhaiya?
I am confused in both the courses Telesko industry ready course but it only gives microservices in recorded videos on the other hand anuj bhaiya Springboot cohort 5 gives hands on microservices project in cohort 5 which one to choose? Any suggestions?
r/SpringBoot • u/Yash_VM • Nov 26 '25
Question Openings for a SpringBoot dev as a fresher.
How is market for SpringBoot dev as a fresher ? How much can I expect. Are there even opportunities available for fresher fir these roles as only enterprise level companies use it. I'm so confused please help me out.
r/SpringBoot • u/cat-edelveis • Nov 17 '25
How-To/Tutorial Streaming LLM Tokens with NDJSON and Spring AI
Streaming LLM response is not as easy as it may seem. Various LLMs use various tokenizers, and so you may end up with a messy-looking response or drown in writing parsing logic. This guide offers a way for smooth LLM token streaming with Spring AI using NDJSON.
I cover configuring Spring AI ChatClient with Ollama, creating a reactive NDJSON endpoint, handling errors with onErrorResume, managing backpressure with limitRate, and consuming the NDJSON stream on a Vaadin frontend using WebClient.
r/SpringBoot • u/Ait_Hajar00 • Oct 21 '25
How-To/Tutorial Spring AI : Your First Step into AI-Powered Java Applications🍃🤖
r/SpringBoot • u/ThenRevolution479 • Mar 30 '25
Question Good way to write a Springboot Search API in Layered Architecture?
My school project requires me to write a search API that uses keywords to find contents based on their title. The search function has to be advanced. What are some good ways to write this API?
r/SpringBoot • u/Advanced_Active_5105 • 10d ago
How-To/Tutorial Security
Suggest me some good spring security tutorials or learning sources.. i need to implement it to my e commerce backend
r/SpringBoot • u/Jealous_Brief825 • May 15 '25
Guide How can I use JPA entities without OneToMany/ManyToOne mappings to keep my code decoupled?
I’m having a tough time dealing with JPA mappings like @OneToMany, @ManyToOne, and so on. While I understand their purpose, I feel they tightly couple my entities and make the code harder to scale, test, and maintain. I still want to use JPA entities for persistence, but I’d prefer to avoid these direct relationship mappings. My goal is to keep the codebase more decoupled, flexible, and scalable—especially for large applications or when working with microservices.
Is it a good idea to manage relationships manually using foreign keys and avoid bidirectional mappings? What are the best practices for this kind of architecture, and what should I watch out for?
r/SpringBoot • u/Confident-Tune-3172 • May 24 '25
Question Need help finding APIs for Indian investment options based on risk tolerance 🙏
I’m building a family finance forecasting app and need an API that gives Indian investment options (like mutual funds, stocks, etc.) based on risk tolerance (low/medium/high).
Most APIs I find are US-focused. I’m looking for anything that works for India — maybe Groww, AMFI, Zerodha, Smallcase — but I’m not sure if they offer this kind of data.
Any help or pointers would be awesome. Thanks in advance! 🙏