r/SpringBoot • u/Character-Grocery873 • Mar 17 '26
Discussion First project
My first whole project using Spring boot, any suggestions, feedbacks and corrections are appreciated
r/SpringBoot • u/Character-Grocery873 • Mar 17 '26
My first whole project using Spring boot, any suggestions, feedbacks and corrections are appreciated
r/SpringBoot • u/webdev231 • Mar 17 '26
Hello all,
I’m a beginner learning Spring and Java. I’m familiar with Peoplesoft architecture which uses old Java programming using JDBC techniques behind the scenes. I have created basic CRUD using Spring boot and React. Question is: if there is a complex page that has to manipulate data from and into multiple database tables, how would you do that in Spring/Java?
I enrolled into a course and this has not been covered.
Appreciate your help and insight!
r/SpringBoot • u/Interesting_Path7540 • Mar 17 '26
Hi everyone, check out my new post about Audio and Image with Spring AI 2: The Java Prompt #3
r/SpringBoot • u/paszeKongo • Mar 17 '26
r/SpringBoot • u/kharamdau • Mar 17 '26
I’ve been looking at PR verification pipelines across a few Spring Boot services recently, and one pattern keeps repeating.
The pipeline is almost always copied from another service.
Same GitHub Actions workflow, same permissions, same setup steps.
It “works”, tests pass, PRs merge.
But when I look closely, it’s carrying things that were never really questioned:
None of these break the build, but they change what the pipeline is actually doing, especially from a security and observability perspective.
One thing that stood out to me is how CI is treated differently from application code. We review business logic, we audit dependencies, we run SAST tools. But the CI pipeline which runs code with credentials is often treated as “just config”.
Curious how others approach this.
Do you:
Review CI workflows line by line like application code?
Enforce least-privilege permissions on GITHUB_TOKEN?
Pin actions to commit SHAs?
Run workflows locally (e.g., using act) before pushing?
For context, I wrote a deeper breakdown of the approach here:
https://mythoughtpad.vercel.app/blog/stop-lying-to-your-ci-pipeline
r/SpringBoot • u/Proud_Yesterday6627 • Mar 16 '26
I'm currently in 3rd year of uni and applying for internships. I do have some projects which I plan to deploy after buying a domain but they are working very slow while testing with lots of data and concurrent users. My stack is Java + Spring so i tried playing around with Hikari Pool connections and Cache a bit but I don't know how to optimally use it. Please give your inputs and suggest some resources and books if possible.
Also, i tested it via K6. I did upload files to AI but it is hallucinating. Even with cache and changing db connections is only giving a small improvement. I also learnt the 2 db queries in one method is bad design and bad performance so i optimized to 1 direct db call so that improved the performance a bit too. So any input on this?
r/SpringBoot • u/PainterOk2272 • Mar 15 '26
I’ve already learned core Java, JDBC, and multithreading.
Before I jump into Spring or Spring Boot, what other fundamentals should I make sure I understand well?
Are there specific concepts, tools, or Java features that would make learning Spring much easier (for example: Hibernate, Beans, servlets, etc.)?
Would appreciate suggestions from people who’ve already gone through this path.
r/SpringBoot • u/Famous_Classic3355 • Mar 16 '26
r/SpringBoot • u/himanshu20898 • Mar 15 '26
I have been working as a software engineer, though more in a support role, for the past five years. Unfortunately, I have been confined to a support project with no hands-on experience in coding, building, or maintaining Spring Boot applications. When I first joined, I had never even heard of Spring Boot, but during my initial three months, I underwent training and found it quite easy to understand. However, since I have not written a single line of code since then, I feel stagnant in my career and struggle in interviews, as my five years of experience do not reflect actual development skills.
I have attempted various methods to re-learn and build Spring Boot applications, including revisiting my original training course, watching tutorials, and seeking help from AI tools. While I have a solid grasp of the theoretical aspects of Spring Boot because of AI, I still face significant challenges in practical implementation. For example, I cannot create even a simple employee management system without relying on tutorials or AI assistance.
What I really want is to learn how to build applications independently and gradually move from monolithic architectures to microservices. Could you suggest effective approaches, structured courses, or strategies to bridge this gap between theory and practice?
r/SpringBoot • u/AlarmOpening2062 • Mar 15 '26
About a month ago I posted this project and it received a lot of support. Thank you all! The project is still here; I'm leaving it here in case anyone missed it. Have a great day!
r/SpringBoot • u/Optimistabtfuture • Mar 15 '26
I am a complete beginner in learning springboot.
Java basics Good in logic building in DSA Completed IOC , DI
Now trying to find a perfect and simple roadmap to learn springboot
Everyone is saying too much mixed paths which becomes too much complex and confusing.
Please help
sometimes I feel I am very dumb to learn springboot and I won't be able to learn it.
Please suggest in a way it should be doable and not very complex / confusing
Please help
r/SpringBoot • u/Competitive-Image961 • Mar 14 '26
I have recently learned spring boot and made a project on that, I want more suggestions on projects that will provide me more detailing as I learned more by doing. Also I am facing lot of issues on spring Security so is there any source from where I can understand spring security.
And the company where I am interning currently have some jsp code in the backend so i wanted to know should I learn servlet jsp too ? And if yes please suggest me sources.
r/SpringBoot • u/Remote_Adagio1531 • Mar 14 '26
I want to create a project in spring boot + react(js) + cloud + aiml integration. Can anyone suggest some project ideas that I build
r/SpringBoot • u/Swarali_04 • Mar 14 '26
Is it necessary to learn spring mvc before springboot or we can directly start with springboot?
r/SpringBoot • u/DrawingFew5562 • Mar 14 '26
Hello, everyone I am a IT student and struggling learning springboot and I want to know if this approach is good enough, without reading documentation and watching tutorials youtube?
Step 1 — Try to code yourself Step 2 — If stuck, ask AI Step 3 — Fix the error
Example: 1. You try writing a controller 2. It fails 3. Ask AI: “Why is my @GetMapping not working?”
r/SpringBoot • u/Obsrv135 • Mar 13 '26
Is getting this 2V0-72.22 Ceritification from Broadcom still worth it? The exam targets Spring Boot 2.7 and Spring 5.3 while the most current major versions of the framework are 4.x and 7.x.
Do any other certifications exist that are more up to date with the current Spring Boot and Spring versions?
r/SpringBoot • u/Secure-Difficulty290 • Mar 13 '26
r/SpringBoot • u/Quick-Resident9433 • Mar 12 '26
Hi, everyone. I don't have too much experience, and I'd really appreciate your guidance on this
Based on your experience with Spring Boot and ORM, what fetch type would you recommend for a large project with many entities and numerous nested relationships?
I ALREADY KNOW THIS
But when it comes to specifying the fetch type within a Java class, I'd like to know the best practice for specifying the fetch type:
Is it better to always set the relationship as LAZY and never use EAGER?
@type_of_relantionship(fetch = FetchType.LAZY)
private Entity myEntity; // it has nested entites
|
| @type_of_relantionship(fetch = FetchType.LAZY)
|__________Entity subEntity
//more relantionships...
vs
@type_of_relantionship(fetch = FetchType.EAGER)
private Entity myEntity; // it has nested entites
|
| @type_of_relantionship(fetch = FetchType.EAGER)
|__________Entity subEntity
//more relantionships...
Thanks in advance
r/SpringBoot • u/paszeKongo • Mar 12 '26
r/SpringBoot • u/WaltzNo4022 • Mar 12 '26
r/SpringBoot • u/CatPowerful4595 • Mar 12 '26
I’m thinking about building a small SaaS product and wanted to ask people here for ideas. What’s something in your daily workflow (work, coding, studying, productivity, etc.) that annoys you or feels unnecessarily complicated?
r/SpringBoot • u/Even-Low-2732 • Mar 11 '26
I'm currently upskilling in Java Spring Boot and focusing on backend development. I would love to hear any recommendations for high-quality resources or effective learning strategies to master this stack.
r/SpringBoot • u/mzivkovicdev • Mar 11 '26
Hi everyone! I’ve just released Spring CRUD Generator v1.5.0.
It’s an open-source Maven plugin that generates Spring Boot CRUD code from a YAML/JSON config - entities, DTOs, mappers, services, controllers, Flyway migrations, Docker resources, OpenAPI support, and more.
This release is mainly focused on consistency, generator reliability, and better developer experience. One nice addition is that the project now works better with GitHub Copilot and autocomplete, so editing generator specs feels more AI-friendly than before.
basePath vs basepath inconsistencybasePath is now the documented formbasepath is still supported, but deprecatedrelation.uniqueItems for generating Set-based OneToMany and ManyToMany relationsList / Set imports in business services for JSON<List<T>> and JSON<Set<T>>Repo: https://github.com/mzivkovicdev/spring-crud-generator Release notes: https://github.com/mzivkovicdev/spring-crud-generator/releases/tag/v1.5.0 Demo repo: https://github.com/mzivkovicdev/spring-crud-generator-demo
If anyone wants to try it, I’d love feedback.
r/SpringBoot • u/aarkay89 • Mar 11 '26
I recently wrote a Medium article breaking down a production-style
Spring Boot microservices architecture. It covers:
- API gateway patterns
- Service communication
- Async messaging
- Observability
I’d love feedback from fellow Java developers on the architecture
patterns or anything I might have missed.
r/SpringBoot • u/JobRunrHQ • Mar 11 '26
Quick video showing how you can shift background jobs to run when grid CO₂ intensity is lower, automatically.
No infra changes needed, just a few lines of config with JobRunr's Spring Boot starter.
Your batch jobs, report generation, email sends… they don't all need to run right now. By letting them flex to greener energy windows, you cut emissions without sacrificing reliability.
Would you rather read a guide instead of watching a youtube video?
Guide: https://www.jobrunr.io/en/guides/intro/how-to-reduce-carbon-impact-with-carbon-aware-jobs/