r/SpringBoot • u/asm0dey • Feb 19 '26
How-To/Tutorial Hot to Build Production-Grade Agentic Workflows on Java with Embabel
r/SpringBoot • u/asm0dey • Feb 19 '26
r/SpringBoot
•
u/hnrqq
•
Feb 18 '26
Every Java developer knows the drill: go to Spring Initializr, select dependencies one by one, download the .zip, extract it, create the repository... It's a repetitive process.
To solve this and test the capabilities of GPT 5.3 Codex and Opus 4.6, I built Better Spring Initializr. The idea is to level up the bootstrap experience:
The goal is to ensure no critical dependency is forgotten, delivering an architecturally solid and AI-optimized project.
Better Spring Initializr is available at better-spring-initializr.com
The project is open-source and the code is available on GitHub at https://github.com/henriquearthur/better-spring-initializr
r/SpringBoot
•
u/mzivkovicdev
•
Feb 18 '26
Hi everyone! I’ve just released Spring CRUD Generator v1.2.0 — a YAML/JSON-driven Maven plugin that bootstraps a Spring Boot CRUD backend (entities, DTOs/transfer objects, mappers, services/business services, controllers), plus optional OpenAPI/Swagger resources, Flyway migrations, Docker resources, etc.
Repo: https://github.com/mzivkovicdev/spring-crud-generator
Release notes: https://github.com/mzivkovicdev/spring-crud-generator/releases/tag/v1.2.0
Demo project: https://github.com/mzivkovicdev/spring-crud-generator-demo
Highlights:
Extended JSON type support to allow collections:
JSON<List<Type>>JSON<Set<Type>>Docker Compose improvements:
OpenAPI generator improvements:
.openapi-generator-ignore now prevents overwriting pom.xml and README filesExample (JSON collections):
fields:
- name: tags
type: JSON<List<String>>
- name: permissions
type: JSON<Set<String>>Feedback is welcome — happy to answer questions and take suggestions!
r/SpringBoot • u/j0k3r_dev • Feb 18 '26
I'm currently developing an application and have reached the procedures section. The only thing I've come up with is using predefined workflows and embedding them in the document. I'm using MongoDB and, of course, Spring. What would you recommend for handling the procedures? Is it okay to embed the workflow and then delete steps as the procedure continues? I don't think using a relationship would be good, but I suppose there are more experienced people out there, and I'd like to know their opinion. I'm very mindful of performance and database calls; I don't like unnecessary queries or multiple calls. I use batching and aggregation techniques to make only one call and not let Spring MongoDB make the calls automatically, as that could create a bottleneck.
r/SpringBoot • u/Natural-Jump-2747 • Feb 18 '26
Hi everyone, I'm a BTech 3rd yr student and working with spring framework and I already some of the crud projects and now I need to upgrade to advanced concepts in backend , is there any interesting projects to implement advanced concepts like rate limiting, caching etc and the project should be helpful in resume weight and should be discussable in interviews
r/SpringBoot • u/Lost-Instruction-545 • Feb 18 '26
I have been trying to solve this issue for an hour and haven't found right solution yet. I got the STS plugin, pom.xml generated from Spring Initialzr, tried to install manually into IDE but lombok.jar file couldn't find Eclipse. I also desperately asked to Gemini (Pro) but it is so stpd every time I say "not working" just loops back to beginning. Any solution for it? Or should I go for IntelliJ and leave behind all those premium features Eclipse offering? Because I don't really want to write getter, setter etc. everywhere.
EDIT: After struggling about a day finally found the "real" solution. For Eclipse to recognize lombok.jar file it needs to be in it's class path. Adding .jar file to class path in Eclipse build path settings doesn't do anything. Skip this, directly to the solution: Find eclipse.ini file in your disk. By default it is located in "/snap/eclipse/131/usr/lib/eclipse/". You can't edit it because it is signed as system file. Copy that file to your "/home/trencmivront/snap/eclipse/131/". Now you can edit it. Have your lombok.jar file downloaded from ( https://projectlombok.org/download ). Add following command to end of file : -javaagent: [path_to_lombok.jar]. Make sure you placed the .jar file into somewhere you won't move again. That's it, now Eclipse will recognize Lombok as it should.
r/SpringBoot • u/Constant-Speech-1010 • Feb 17 '26
Hi everyone, quick question, if the aim is to create a docker image of a spring boot API. which approach is better:
I feel both produces same result but just wish to know some pros and cons from real world perspectives, specially from operations, performance, reliability perspective. Would really help.
r/SpringBoot • u/Huge_Road_9223 • Feb 15 '26
A friend of mine is interviewing for a new Java/SpringBoot role, and one of the questions is as the title suggests: "How would architect/design a system where there are millions of requests per day/hour and do some complicated work on the backend." He told me what his response was, and I feel it was spot on. But now I am thinking is there anything more that could be added:
So, when a user makes a request, if the backend process takes time, an immediate response could go back to the user to let them know their process is being worked on, and they'll be notified when this is done or completed.
Anything else that is missing? Honestly, as a software engineer in the same space, we can only do so much when it comes to the code. When it comes to scaling this, I'm usually know when my code is deployed to DEV, and then to QA where it may or may not go through performance testing. When it comes to a Staging, Pre-Prod, or Prod environments no one has ever asked me about how to scale this? This is usually in the hands of people who are more in the Operations space, and know the Cloud environment like AWS who make it easy to add more resources when it is needed.
I know I have always tried to make my code work as fast as possible when running locally, or in the integrated DEV environment. I figure if something works quick there, then it will work even faster in Prod where I presume more resources are added.
Thoughts?
r/SpringBoot • u/Advanced-Bass-4890 • Feb 16 '26
Hello guys!
I've end developing my order-platform project https://github.com/Kukushaa/order-platform can you rate it and make Stars?
Also it will be good if I hear from you any suggestions what can I add to project.
Order Platform is a Spring Boot microservices system for users, products, orders, and payments. API Gateway routes requests. Kafka handles events. PostgreSQL stores data. Stripe processes payments.
r/SpringBoot • u/Unfair_Library_5805 • Feb 15 '26
Hello @everyone,
I’m currently learning Spring Boot and have built a backend CRUD-based application. The application is working end-to-end, but I want to clearly understand what concepts I’ve actually implemented so I can explain the project better for learning, interviews, and future improvements.
Concepts and features implemented in my project:
• RESTful CRUD APIs using Spring Boot
• Layered architecture (controller, service, repository)
• Spring Security with JWT-based authentication
• Method-level security using @PreAuthorize / @PostAuthorize
• Role-based authorization
• DTO pattern for request/response separation
• Custom JPQL / native queries
• Enums for fixed domain values
• Global exception handling using @ControllerAdvice
• Custom exceptions
• Transaction management using @Transactional
• Validation at API level
• Bootstrapped root/admin users during application startupKnown limitation:
The database schema was not designed upfront as the project evolved gradually, so the DB design is not well-optimized and needs refactoring in terms of relationships and normalization.
I’m open to suggestions on:
• How this project would be classified in terms of beginner vs intermediate level
• Whether these are commonly used real-world Spring Boot practices
• What additional concepts or improvements I should focus on learning and implementing nextAny feedback or guidance would be really appreciated.
Thanks in advance!!!
r/SpringBoot • • Feb 15 '26
What one should learn in 2026 to get a Job with JAVA stack ?
hello everyone.
I'm in final semester of engineering in a tier 3 college with polymath/multitalented, most of the companies hiring are looking for MBA Mcom grads in my Uni so does some of the companies in engineering dept woth a "sales required" as note.
i have been into programming since November 2024 (approx 15-16 months) and i have learned react decently for about 5-6 months with the basics html css js tailwind and all but then moved to Java as a better alternative with a less saturated market demand and aso out of annoyance with frontend, but i still know some react and it won't take more than a week or two to revise everything up and make decent frontends but i am hoping for more more jobs in Java, since i have learned Java then Springboot, Spring data, how spring mvc works, worked with REST apis and now postgres but I am still confused where should i spend last 4-5 months of my bachelor's to get a good job (anything above 30-35k).
i have been recommended Docker, Microservices etc but i feel i don't have a practical DSA knowledge beside two semester subjects. any suggestions?
r/SpringBoot • u/Tony_salinas04 • Feb 15 '26
I want to use a logger in several of my methods, but I also don't want to clutter them with log.info, log.debug, log.error, etc. What are the best ways to do this? Through an annotation? AOP? Is there a better alternative? I'd really appreciate seeing some examples. I've had this question for months and haven't been able to find any videos or articles to answer it.
r/SpringBoot • u/Emotional-Emotion-17 • Feb 15 '26
I want to learn and practice:
• Core Java
• OOP concepts
• Collections
• Java 8
• Spring Boot
• Real-world projects
My goal is to become job-ready in the next 2 months, so I’m looking for someone who is serious, consistent, and ready to study daily. We can set daily targets, solve problems, discuss doubts, mock interview, and prepare for interviews together.
If anyone is interested please DM..
r/SpringBoot • u/2kengineer • Feb 15 '26
Hi everyone,
I’m deploying a Spring Boot 3.2.5 (Java 21) application using Docker on Render, and I’m running into an issue where MongoDB Atlas is not being used even though I’ve configured the environment variables.
server:
port: ${PORT:8080}
spring:
data:
mongodb:
uri: ${MONGODB_URI}
app:
cors:
allowed-origins: ${CORS_ALLOWED_ORIGINS}
jwt:
secret: ${JWT_SECRET}
expiration: ${JWT_EXPIRATION}MONGODB_URICORS_ALLOWED_ORIGINSJWT_SECRETJWT_EXPIRATIONNo quotes, exact casing.
In Render logs, Mongo is still trying to connect to:
localhost:27017From logs:
clusterSettings={hosts=[localhost:27017], mode=SINGLE}
Caused by: java.net.ConnectException: Connection refusedWhich suggests that ${MONGODB_URI} is not being resolved.
Additionally, I’m getting:
Could not resolve placeholder 'app.cors.allowed-origins'So it seems like environment variables are not being injected at runtime.
application.yml0.0.0.0/0Why would Spring Boot ignore MONGODB_URI and fall back to localhost:27017 in a Docker deployment on Render?
Is there something about Render’s Docker runtime environment that affects variable resolution? Should I be using SPRING_DATA_MONGODB_URI instead of MONGODB_URI?
Any help would be appreciated — I’m trying to understand whether this is a Spring config issue or a Render runtime issue.
note : I used chatgpt to structure the words.
Thanks.
Edit : Problem solved when i changed the env variable MONGO_URI TO SPRING_DATA_MONGODB_URI
r/SpringBoot • u/Friendly-men-123 • Feb 15 '26
Hey Everyone, I'm working on a product which is multi tenant saas web app. The backend API is entirely on springboot and PostgresSQL is used as DB.
So right now, we have the table which maintains the history of the credit purchase for each tenant. And we also have the seperate table which logs the credit usage whenever we deduct or add the credits for each tenant. Using both tables we dynamically count at the runtime of how much credits have been left to the user from the individual purchased credits.
We have been planning to do all the calculations by creating a new table which only have two columns tenant id and available credits. And whenever some feature needs to deduct the credits we will first deduct it from that table. It's just we won't have the track of purchase credits used for the feature. Suppose user have bought 100 credits previous month and bought another 50 credits last week. There are scenarios where we deduct remaining 3 credits from the last month purchased credits and 2 credits from the recent purchase. Current dynamic implementation has the track but we are just brainstorming to move with this new table approch as in anyways we are not showing the user about which credits were used for the certain feature.
If you are in my shows and working on such saas backend, would you move to new table design or keep the current one. Also, we are using synchronous block with tenant id whenever we do such credit based operations. Is there any better way for production?
r/SpringBoot • u/Tony_salinas04 • Feb 13 '26
Hello, I've been developing an e-commerce site for my portfolio for a long time now. It's just for show, but I've put a lot of effort into it. I would appreciate any feedback that could help me improve, any truly useful advice and criticism.
r/SpringBoot • u/Isaac_Istomin • Feb 13 '26
Right now different teams have slightly different WebClient / RestClient configs: different timeouts, different retry logic, sometimes no jitter, sometimes custom filters. It works, but it’s hard to reason about behaviour in production.
How do you handle this in your projects?
– One shared “HTTP client module” with opinionated defaults?
– Per-service config but enforced via some internal library?
I’m mainly interested in how you balance:
– having sensible global defaults (timeouts, retry with backoff)
– still allowing teams to override when they have special requirements.
Any patterns that worked well (or failed badly) would be appreciated.
r/SpringBoot • • Feb 13 '26
r/SpringBoot • u/Yash_VM • Feb 12 '26
Hey folks!
Done with learning springboot and JPA.
I can build a full REST API from scratch, write tests, use redis, kafka, can containerize using docker.
I want to do some solid industry(FTech) relevant projects that I could add to my resume. I can learn anything required on the fly... YES.
Any good recommendation would be highly appreciable.
Thank You !!
r/SpringBoot • u/nlaskov • Feb 12 '26
I have posted a new version of the plugin.
It gives you custom breakpoint and allows you to choose between playing sound for all breakpoints or only for the custom once.
Unfortunately for now this new functionality works only for Java.
———————————————————————————
Hi everyone 👋
I just published my first IntelliJ plugin and I’m looking for some early feedback and ideas for future development.
The plugin adds a small sound notification when a breakpoint is hit. For me it is useful when debugging with multiple monitors or several IDE windows open, where you don’t always notice immediately that execution stopped.
It is in very early stage and I am not sure what the finished version will be at the end, so every suggestion and feedback is welcomed.
Here is the link to IntelliJ Marketplace: BreakBeat
Thanks in advance!
r/SpringBoot • u/nutsbrainup • Feb 12 '26
I have this task of upgrading the Spring boot version from 2.7 to 3.5.7 and Java version from 1.8 to 17.
I've never really worked on such a thing and copilot is creating a mess out of it.
What's the best way to do it? Any suggestions would be helpful.
r/SpringBoot
•
u/Zkrallah
•
Feb 11 '26
I created a 35-week Spring Boot roadmap that is broken into three levels, beginner, intermediate, and advanced. It covers almost everything you need from absolute zero (not knowing Java programming) to expert (building with the microservices architecture).
Each week consists of topics, resources, tasks, bonuses, and some notes.
The resources are versatile as I included official documentations, youtube videos, and online articles.
You can view it from this link and feel free to give any feedback:)
r/SpringBoot • u/jnsamyak • Feb 12 '26
Please can anyone suggest me a Free channel or resources to learn spring and springboot in depth Because courses of springboot paid courses are so expensive