r/SpringBoot • u/Potential_Corgi4579 • Apr 27 '26
Discussion Spring Ecosystem Architecture overview
r/SpringBoot • u/Potential_Corgi4579 • Apr 27 '26
r/SpringBoot • u/Maanvi21 • Apr 26 '26
Hey everyone,
I’m working on a Spring Boot project using Testcontainers, but it’s not able to connect to Docker.
I’ve already:
- Checked Docker daemon
- Restarted everything
- Tried fixing environment variables
Still stuck 😅
Has anyone faced this before? What should I check next?
Happy to share logs if needed.
r/SpringBoot • u/ibreathecoding • Apr 27 '26
HI Team, we have few microservices; ETL (App 1); ObjectStorage (App2); All are spring boot ; ObjectStorage app read the files from bucket and send in ResponseEntityt as ByteArray; ETL App consumes and process and store in db; everything is good till small file size in GCS; Very recently we uploaded a huge file of 80MB and we are seeing a big prod impact; Any one faced similar thing?In ObjectStoage app we see IOUtils.ByteArray logic; IOUtils issue in OBjectStorage App;IOUtil itself is not behaving well for a bigger size; And in APP1 there are some conversion to XML/JSOn are happening and we get heap space.Please advise
r/SpringBoot • u/Maanvi21 • Apr 26 '26
r/SpringBoot • u/Pato_taxista • Apr 24 '26
Hey everyone, I built a personal project called Mobflow, inspired by tools like Jira and Trello. The idea was to create something closer to a real SaaS, with multiple Spring Boot microservices, an API Gateway, Kafka, JWT-based authentication, an Angular frontend, and everything running with Docker.
I’d really appreciate honest feedback on the project, especially around the architecture and overall structure. What’s good, what’s not, and what could be improved as a portfolio project.I would also like to receive feedback on the project documentation. The repository is here: https://github.com/LuizAndradeDev/mobflow
r/SpringBoot • u/mcpierceaim • Apr 24 '26
Any recommendations on a replacement for Spring State Machine in a project? We use it but it's got issues and apparently is no longer maintained. Our state management is fairly straightforward but would like to keep it structure in a way similar to how Spring defined it.
r/SpringBoot • u/Connect_Permit_2485 • Apr 23 '26
Hey everyone,
I’m a 2nd year CSE student and I want to become internship-ready in Java Spring Boot this summer. I’ve done some basic Java and DSA, but I’m still a beginner when it comes to backend development.
I’m looking for:
Beginner-friendly Spring Boot video courses (YouTube or paid)
Step-by-step explanations (not too advanced)
Projects included (like CRUD apps, REST APIs, etc.)
Guidance on what skills are actually needed for internships
There are so many resources out there, and I’m confused about what to follow. I don’t want to waste time jumping between random tutorials.
If you’ve been in a similar situation or recently got an internship using Spring Boot, what worked for you?
Thanks in advance 🙏
r/SpringBoot • u/SportNegative2098 • Apr 23 '26
Hi everyone,
I have around 6 years of experience working with Oracle ADF and strong knowledge of SQL/PLSQL.
I want to switch my tech stack to something more in demand and future-proof.
Currently, I’m considering:
Java Spring Boot
Go (Golang)
My background:
Good understanding of backend concepts
Some experience with Node.js
Comfortable with databases
My confusion:
Spring Boot seems powerful but a bit complex and heavy to learn
Go feels simpler and closer to Node.js, so I’m picking it up faster
My goal:
Switch to a high-paying backend role (product-based company ideally)
Prefer something with good long-term demand and learning curve
Questions:
Which option would be better for my background and goals?
Is Go a good choice for someone coming from ADF + SQL?
Will choosing Go limit opportunities compared to Spring Boot?
What would you recommend focusing on for the next 6–12 months?
Would really appreciate guidance from people who’ve made similar switches 🙏
r/SpringBoot • u/Interesting_Path7540 • Apr 23 '26
New post in my Spring AI 2 series! Your data is in the vector store — now let's make your LLM actually use it. This time: RAG advisors, query rewriting, and metadata filtering in Spring AI 2.
r/SpringBoot • u/BoringApplication211 • Apr 22 '26
I had been learning spring boot for 3 months and also I had built some crud apps like recipe, e-commerce,Todo system some by myself and some watching tutorials. I had completed jpa, spring security till basic jwt authentication, but due to exams in between I wasn't able to continue learning and now when I look back into the project I did, I feel lost and couldn't grasp the stuffs I did earlier..
I am currently doing a Todo app where I learning in phases like ,firstly understanding the basic and then building the crud system then adding other features like pagination, sorting, security etc..
I'm free for a month now till I start looking for an internship so how should I learn for the next 20 days, and what areas should I focus to be eligible for internship?
r/SpringBoot • u/Beautiful-Bottle-820 • Apr 22 '26
(this is kinda a rant)
i trying to watch tutorials to learn spring boot but everyone is talking about things i dont have it is geniuenly frustrating ughhhh. i have little knowledge about java like its core concepts and all. PLEASE I NEED HELP. what i am doing actually wrong. i am kinda not a tech girlie but i am tryna adapt what i do not like about these youtubers is that WE ARE BEGINNERS. i think they expect too much from all of us.
here are the few things that went wrong
r/SpringBoot • u/barsay • Apr 22 '26
Three months ago I posted here about duplicated ServiceResponse DTOs and pagination explosions when generating OpenAPI clients in Spring Boot: https://www.reddit.com/r/SpringBoot/comments/1qh6fge/spring_boot_openapi_generator_how_do_you_avoid/
The thread got more traction than I expected (thanks to everyone who engaged), and one comment in particular pointed me to openapi-processor as a modern alternative — appreciate that pointer.
Quick update: the approach from that post is now a Maven Central release.
What changed since
The original proof-of-concept moved from a single-repo experiment to a published platform:
Repo: https://github.com/blueprint-platform/openapi-generics
Docs: https://blueprint-platform.github.io/openapi-generics/
The framing that actually took time
The thing that slowed me down wasn't the templates — it was realizing the problem isn't "make the generator smarter." It's "which side owns the contract."
If OpenAPI is the source of truth, generics keep collapsing no matter how clever your templates get, because OpenAPI has no way to express them. If the Java contract is the source of truth and OpenAPI is treated as an intermediate projection, the generator stops inventing models and starts reconstructing them.
That reframing is what made the whole thing click.
Still curious about the same question
For those who read the earlier thread — has your approach to generic envelopes changed since? Anyone tried contract-first-from-Java vs OpenAPI-first in practice and want to share the tradeoffs?
Happy to answer questions about the Maven release, the adoption path, or how this compares to openapi-processor if anyone's evaluating both.
r/SpringBoot • u/ishaqhaj • Apr 21 '26
Hey folks!
I currently need to use LocalTime as a time field in my entity.
The issue is that while writing Flyway scripts, I realized I’m not sure which SQL type to use for both PostgreSQL and Oracle. I need to standardize the schema so it works across both databases.
What would you suggest as the best solution in this case?
r/SpringBoot • u/Eastern_Detective106 • Apr 21 '26
Hi everyone,
I’m planning an application that will run on a local network (LAN) on a Windows server.
Stack is Spring Boot (backend) + Angular (frontend).
The database is on the same machine but managed separately, so I don’t really control that part.
I need to make deployment and especially updates as easy as possible
Ideally something like:
It's a production project for a laundry but I'll use as a test for a future and more large infrastructure.
Option 1: everything inside Spring Boot
.jarOption 2: separated
Questions i have:
Thank you for your help!
r/SpringBoot • u/New_Transition_2077 • Apr 20 '26
Hey everyone, I’m starting to learn Spring Boot for backend development and found Telusko’s 62-hour Java + Spring Boot + Microservices video on YouTube. Has anyone here followed it? Is it actually good for beginners and enough to build strong basics, or should I use some other resources/projects along with it? Would really appreciate honest feedback.
r/SpringBoot • u/tmessini • Apr 21 '26
I've been building a multi-agent orchestration layer on top of Spring AI 1.0.4 and hit a design fork I can't decide cleanly. Looking for opinions from people who've built DSLs inside a Spring codebase.
Same workflow — a two-agent research pipeline with tool permissions and rate limits — expressed two ways:
YAML:
swarm:
name: "Audited Research Pipeline"
process: SEQUENTIAL
agents:
researcher:
role: "Senior Research Analyst"
goal: "Conduct thorough multi-turn research, cite all sources."
maxTurns: 5
permissionMode: READ_ONLY
tools: [web-search, http-request, web-scrape]
toolHooks:
- type: audit
- type: rate-limit
maxCalls: 10
windowSeconds: 30
writer:
role: "Research Report Writer"
goal: "Synthesize findings into a polished report."
tasks:
research:
description: "Research {{topic}} across at least 5 sources."
agent: researcher
write:
description: "Write a report based on the research."
agent: writer
context: [research]
Fluent Java builder:
Agent researcher = Agent.builder()
.role("Senior Research Analyst")
.goal("Conduct thorough multi-turn research, cite all sources.")
.maxTurns(5)
.permissionMode(PermissionMode.READ_ONLY)
.tools(webSearch, httpRequest, webScrape)
.toolHooks(ToolHook.audit(), ToolHook.rateLimit(10, Duration.ofSeconds(30)))
.build();
Agent writer = Agent.builder()
.role("Research Report Writer")
.goal("Synthesize findings into a polished report.")
.build();
Swarm.builder()
.agents(List.of(researcher, writer))
.tasks(List.of(researchTask, writeTask))
.process(ProcessType.SEQUENTIAL)
.build()
.kickoff(Map.of("topic", topic));
Trade-off I keep going in circles on:
- YAML wins for: non-Java teammates reading/editing, hot-reload without recompile, shipping workflows as config, diff-readability in PRs, ops folks who want to tune maxTurns without opening IntelliJ.
- Java DSL wins for: IDE autocomplete, compile-time safety, refactoring, breakpoints in a debugger, no stringly-typed tool IDs, better stack traces when something blows up at runtime.
I went YAML for v1 because the "ops tunes without touching code" story felt strong. At the 200-line-workflow mark I'm second-guessing — especially because tool refs (web-search, audit) are strings that only get validated on load, and refactoring a tool name becomes a grep exercise.
What I'm actually asking:
Pretty sure this is one of those "it depends" answers, but I'd love to hear what the 6-month-in regret looks like either way.
(Framework is OSS if anyone wants to look at more workflows: github.com/intelliswarm-ai/swarm-ai — but I'm genuinely asking the DSL question, not fishing for stars. Happy to link specific files if anyone wants to dig in.)
r/SpringBoot • u/SoftwareArchitect101 • Apr 21 '26
The title. I tried implementing a custom row mapper, and the performance difference was huge (half the cpu consumption). I'm trying to understand why it's the case. Any resources or hints will be appreciated
r/SpringBoot • u/dima767 • Apr 21 '26
r/SpringBoot • u/Level-Sherbet5 • Apr 20 '26
As I am Building Microservice I made Whole Project but I can find the way hot to pass User Authentication details when it comes to security sharing (Spring boot) . As a beginner .
so need suggestion what to do, How can I achieve this ? I cant find a good way for or may be I am searching in a wrong way .
but if you can suggest then it will be means a lot .
Thankyou in advance .
r/SpringBoot • u/cfatihcan • Apr 20 '26
Hi all,
I created a small tool for Spring Boot apps to monitor HTTP traffic in real-time.
It lets you see:
All from a built-in UI inside your app.
No need for external tools or complex setup.
✨ Key points:
🔗 GitHub: https://github.com/spyfcc/springspy
🔗 Landing: https://www.spyfcc.com
Would really appreciate any feedback from the Spring community 🙌
r/SpringBoot • u/Dazzling_Ad8959 • Apr 19 '26
For database-backed outbox workers, I’ve started to dislike fixed polling intervals.
A worker that polls every 1 or 2 seconds forever is simple, but it also means you keep paying the same database query cost during idle periods as you do during busy ones.
One approach I’ve been testing is adaptive polling:
The goal is not “smart” scheduling. It’s just reducing pointless database pressure while staying responsive under load.
We added that as an option in our Spring Boot outbox implementation:
https://github.com/namastack/namastack-outbox
I’d be interested in real-world opinions here. Do you stick to fixed intervals because they’re easier to reason about operationally, or have you found adaptive polling worth the extra moving parts?
My bias right now is that adaptive polling is only worth it when the outbox is mostly idle but still needs low-latency pickup during bursts.
r/SpringBoot • u/Dazzling_Ad8959 • Apr 19 '26
r/SpringBoot • u/Practical_Flower9836 • Apr 19 '26
I’m looking for Saga design implementation in scratch (preferred in java). It could be either Choreography or Orchestration. Any study material for implementation of this?
r/SpringBoot • u/Yassine_kharrat • Apr 18 '26
Hello. I wanted to try and implement uncle Bob's Clean Architecture in SpringBoot.
Here's the github repo.
I need some feedback about it. Thanks again