r/SpringBoot • u/MrNighty • May 27 '25
News Spring Boot 3.5.0 available now
r/SpringBoot • u/kshb4xred • May 28 '26
No manual queries? No manual handling of result sets creating arraylist and then passing them to front end? No configuration in web.xml or struts.xml? Not caring about jsps, js and which action/servlet goes where? Not going through 5 different classes to debug? Not defining loggers everywhere? I get AOP support this easily? I hate every second of this having to deal with struts based codebases.
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:
Make sure the database read/writes are performant, with some tweaking on the connection pooling side.
Using Redis to cache common data to avoid going to the database all the time. This I know takes more memory, but makes it so much faster.
Using Kafka, or Message Queuing for event-driven development. One request could be put on a queue/topic and then other systems take these events and so work could be done in paralell rather than serially. So, A B and C could do work at the same time instead of A, then B, then C.
Microservices, API throttling, Resiliencey with Circuit Breaking, logging with correlation id
Other third party API services could be used which we have no control over, so we don't know if those services will be up, or working poorly.
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/ManningBooks • Apr 17 '24
Hello,
I'm sorry for advertising, but we have just released a new book on Spring Security by Laurentiu Spilca that I wanted to share with the community. Please remove the post if you're not finding value in it.
Fully updated for SpringBoot3 and Oauth2/OpenIDConnect, this revised version of the bestselling original covers the latest patterns for application-level security in #Spring apps, demonstrating how Spring Security simplifies every step of the security process.
Whether you’re a beginner or a pro, Spring Security in Action, Second Edition will teach you how to secure your Java applications from the ground up.
Check it out here.
r/SpringBoot • u/PlaceMyAss420 • Jul 25 '23
Beginner spring learner, created some basic crud app using Spring Data JPA when I decided to learn spring security every tutorial leads to deprecated code.
Even tutorials as late as Jan 2023 Even updated methods such as .authorizeHttpRequest() shown as “deprecated and marked for removal”. I’m so lost and have no idea how to study spring security as even these “updated” methods are already considered deprecated where do I learn the latest Spring Security as a beginner.
r/SpringBoot • u/pedoooo0 • Apr 15 '26
@Transactional in Spring Framework starts a DB transaction and holds a connection from the pool until the method ends.
If you mix DB work with slow tasks (API calls, file processing), that connection stays locked and idle.
Under load, this leads to connection pool exhaustion and blocked threads.
Long transactions can also hold locks, slowing down other queries.
Keep transactions short and focused only on DB writes.
Move external calls and heavy logic outside the transactional boundary.
r/SpringBoot • u/moe-gho • Nov 12 '25
I made this quick visual to understand how JWT authentication works in Spring Boot. It really helped me connect the flow between login, tokens, and validation. Hope it helps others too.
r/SpringBoot • u/Wooden_Ninja5814 • Jan 01 '25
Hey folks,
If you’ve ever wondered what really happens under the hood when using ORM in Spring Boot, I’ve written a blog that takes you on a behind-the-scenes journey. 🚀
Here’s what I’ve covered:
How JPA queries are transformed into SQL by Hibernate.
The role of Hibernate’s first-level cache and why it’s crucial for performance.
How Spring Boot manages EntityManager with proxies to ensure thread safety and transactional consistency.
The impact of transaction isolation levels and how they influence caching and concurrency.
Strategies to handle common pitfalls like lost updates using optimistic/pessimistic locking and manual refreshes.
This blog breaks it all down in a storytelling style with practical examples, making even complex concepts intuitive and approachable. Whether you're a beginner or looking to deepen your Spring Boot knowledge, there’s something here for you!
Check it out and let me know your thoughts:https://medium.com/p/8fa8e8868b26
Let’s discuss—what are your go-to strategies for handling ORM challenges in Spring Boot? 💬

r/SpringBoot • u/Disastrous_Cry6735 • Jun 22 '25
Hey everyone,
I’m someone who currently knows just the basics of Java — things like variables, loops, OOP, and basic file handling. But I’m really interested in backend development and want to master Spring Boot microservices, especially for building scalable, production-ready applications like real-world systems (think Netflix, Amazon, etc.).
Since I’m starting from the basics, I’m looking for a step-by-step, beginner-friendly roadmap that gradually takes me to an advanced level. Specifically, I want to know:
What Java concepts I should learn well before jumping into Spring
A structured path to learn Spring & Spring Boot from scratch
How to get into microservices architecture and understand how they actually work in production
Concepts like API design, inter-service communication, service discovery, fault tolerance, etc.
What I need to know about databases, security (JWT, OAuth2), Docker, Kubernetes, etc.
The best courses, YouTube tutorials, blogs, GitHub repos, or anything that teaches this practically
Any project ideas to practice everything in a real-world setting
I’m serious about this and ready to put in the effort — just want to make sure I’m not wasting time learning things in the wrong order. If you’ve made this journey or have suggestions, I’d love your input!
Thanks a ton 🙌
r/SpringBoot • u/zarinfam • Feb 13 '25
📝 In this article, I shred 10 developer blogs related to Java and related topics that I have followed for years, and I learned a lot from their blog posts.
❓ Do you know more high quality blog to share here?
r/SpringBoot • u/iamkharri • Aug 04 '24
I recently started doing backend with sprng boot but I've been primarily doing frontend. So far I've only been able to do crud fuctionality. I'm underwhelmed with just adding data to, getting data from and modifying data in a database.
What are some thing I can do to build more complex things that are primarily backend?
r/SpringBoot • u/rl_085 • Jan 29 '26
So I've been studying REST APIs for a good while, but I just took on a freelance project to build a web scraping service for car prices. It'll feed data to a Telegram bot. I chose Spring Boot since it makes serving the endpoints easy, think this is overkill?
r/SpringBoot • u/leetjourney • Nov 23 '25
Hey, I’ve started a new full microservices portfolio project using Spring Boot 4 where I’ll be building a Home Energy Tracking system.
Some of the topics covered are:
Spring AOP
Rest Apis
JPA
Migration to Spring Boot 4
Keycloak
Resilience 4J
Timeseries DB (InfluxDB)
Kafka
Spring AI
System design
Testcontainers
and many more
Suggestions are also accepted and I will try and implement them in the course above.
Here’s a link to the playlist. I’m adding multiple new videos every week:
https://youtube.com/playlist?list=PLJce2FcDFtxL94MVNXRzIM0WR2qNyz5i_&si=MfFE7Cd4bj7VpwmP
Hope at least someone finds it useful.
r/SpringBoot • u/alweed • Apr 12 '25
Hey folks
I’ve chatted with quite a few people who are learning Spring Boot through courses, YouTube & one thing that keeps coming up is:
“What does a real, enterprise-level Spring Boot application actually look like?”
So I’m thinking of putting together an open-source project where you’d get access to a partially built real-world-style Spring Boot application. The aim of this project would be to put you in shoes of a developer working for an enterprise.
The idea is to give you detailed written tasks like:
Download the project and help you set it up on your device
Implementing new features to meet specific requirements
Fixing bugs in already written code and writing tests
Refactoring and optimising code
Exposing useful metrics
Using Prometheus & Grafana to build dashboards
Integrating ActiveMQ/RabbitMQ to publish/consume events
And interacting with it all via a clean REST API
Would you be interested in something like this?
Let me know your thoughts, suggestions, or even feature ideas you’d like to learn hands-on.
UPDATE (12/04/25):
Thank you all for your interest and feedback. I hope to release this project in coming weeks and will make it open-source so that the community can contribute and add more learning material. I'll announce on this subreddit once it's rolled out.
I've created a Discord Server for anyone who wish to join: https://discord.gg/GEWJbXmG5H
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/fkfdkdiddi • Mar 01 '26
Tell me what broke so I don't make the same mistakes 👀
r/SpringBoot • u/leetjourney • Nov 12 '25
I’ve put together a short 5-day roadmap to help you improve your Spring Boot skills, especially around building REST APIs.
This roadmap follows a learn by doing approach, so you’ll be building projects almost every day.
It helps if you already have a little bit of Spring knowledge.
I also want to be completely transparent and make it crystal clear that all of the following are videos that I've made myself.
Day 1 – Core Tools and Concepts
Start by learning the core tools and concepts that will be used in later projects.
JPA + H2 Database: https://www.youtube.com/watch?v=8M3ZxWOr3yQ
DB Migration with Flyway: https://www.youtube.com/watch?v=X6LzJg8P-qI
Kafka Integration: https://www.youtube.com/watch?v=UIUithq3_VM
Aspect-Oriented Programming (AOP): https://www.youtube.com/watch?v=3rrPw-cbv_M
Bonus: How to Dockerize a Spring Boot App → https://www.youtube.com/watch?v=ufyzknp9Yz8
Day 2 – Build Your First REST API
Create your first REST API with a third-party API integration and unit testing.
Weather REST API Project: https://www.youtube.com/watch?v=lDihdYfVACM
Bonus: Circuit Breaker Pattern → https://www.youtube.com/watch?v=vgNhxTCYuQc
Day 3 – More Real-World Projects
Integrate multiple concepts from the first two days.
Asteroid Collision Notification Service: https://www.youtube.com/watch?v=6EYZzgWkKaY
Daily News Brief Service (with AI): https://www.youtube.com/watch?v=CUj0_rBf5e4
Bonus: Spring Boot Filters & Security Basics → https://www.youtube.com/watch?v=IYMuKmh_XC8
Day 4 – More API Practice
Keep building!
Stock Tracker Service: https://www.youtube.com/watch?v=E1TafTOMcEM
Image Processing Service: https://www.youtube.com/watch?v=jT0HmyFWCYc
Bonus: JWT Authentication → https://www.youtube.com/watch?v=5TY9V5xLW8o
Day 5 – The Capstone
Bring everything together in a full microservices based project. This is perfect for your GitHub portfolio.
Microservices Architecture Project: https://www.youtube.com/watch?v=-pv5pMBlMxs
Bonus: Relax
Optional Bonus Day – Testing
Focus on improving your testing and quality assurance skills.
Unit Testing in Spring Boot: https://www.youtube.com/watch?v=TjyVcIic1OE
JaCoCo Test Coverage: https://www.youtube.com/watch?v=Sa9236XiCtQ
Load & Performance Testing: https://www.youtube.com/watch?v=A86NBA6kzHA
Mock APIs using Postman: https://www.youtube.com/watch?v=vp49HBdFSNs
If you’re currently learning Spring Boot or building your portfolio, I think this roadmap will really help you connect the dots through hands-on coding.
r/SpringBoot • u/josephalfred281 • Mar 27 '26
I'm a Java developer with 6 years of experience. In all these years, I failed to become a good backend engineer due to lack of upskilling and poor projects that I worked in my past organisations. So, I started learning Springboot, spring security, microservices etc., from Udemy. Initial, it was a smooth journey but when I'm going to next section it kept on getting confused. There are lot of dependencies, methods, classes, interfaces to remember. And more over, few dependencies are deprecated as well, which makes it more difficult on what to choose as an alternative. For eg: the instructor impots dependency and starts using random methods from that. How would I know which method should be used or remember. And that too, IDE became smart enough to auto complete the code, how developers used to write longer code when there is no auto complete feature? Can someone please help me where I am going wrong? What am I lacking? I have an enthusiasm to learn, but when instructor types a 40 lettered random method, I get stuck on why he only choses that method instead of others.
r/SpringBoot • u/cat-edelveis • Nov 05 '25
A step-by-step tutorial on using Vaadin with Spring Boot for building awesome UIs. Create a login page, filtered search, and update form in just 15 minutes.
r/SpringBoot • u/Dependent_Staff_6891 • Jun 20 '24
I only used mybatis in my work. I am currently studying jpa. This is part of my teacher's book that taught me Java, Spring. This is where dynamic queries and paging are implemented. Is it like this when you actually use jpa at work? I find this unfamiliar and difficult.😭
r/SpringBoot • u/Affectionate-Hope733 • Jun 17 '24
Seeing how these are quite popular currently (mainly in nextjs space) and how one still doesn't exist with spring boot as a backend, I've decided to create one myself.
Here is the repository: https://github.com/NerminKarapandzic/spring-boot-nextjs-starter-kit
There's nothing special about the integration with Nextjs here, you could easily swap it with any frontend framework.
The starter kit includes:
Authentication with email and password
Authentication with oauth2 providers (google, facebook, github, okta)
RBAC
Password reset
Email sending with SMPT, using mailpit locally
Basic s3 integration
Pages for all of the basic user stuff on frontend and so on...
There is a youtube video that I made while building this, if you're interested you can check that out as well:
https://www.youtube.com/watch?v=EbIps-suESk&t=58s&ab_channel=jeanclaudevandebug
r/SpringBoot • u/mlopezFC • Oct 19 '26
Most new Spring Boot business apps start with the same week of plumbing: security config, user and role management, persistence, an audit trail, email, i18n. We got tired of rewriting it, so we packaged those features as Spring Boot modules (AppJars) and built a generator around them.
With Craft you pick the modules, set group/artifact, Java 21 or 25, H2 or PostgreSQL, and download a Maven project that runs with mvn spring-boot:run. Each module brings its own entities, services, auto-configuration and UI views (built with Vaadin), so you’re not just getting a skeleton.
It’s free to use: every module has a Free Mode that also works in production within documented limits, so no license key is needed to try it.
Disclosure: I’m part of the team behind it. Questions:
- If you’ve tried scaffolding a Spring Boot app with an AI assistant, where did it fall short? Security config, outdated APIs, something else?
- The ready-made UI is Vaadin today, but we’ve been working on an optional React layer and are evaluating whether to release it. Would that make this more useful to you?
r/SpringBoot • u/Chamakuvangu01 • Oct 04 '24
So I have been learning springboot for a couple of months no, mostly by watching videos on Youtube and Udemy, meaning I have a couple of projects I have created from these courses but they haven't been very good, one might have a very good Spring Security section, another maybe a great project structure or something else. However I want to do a couple more projects by myself combining the stuff I have been learning, projects that I can go on to put on a CV and with a greater chance of landing a job. So I guess what I am asking is what kind of projects should one do to showcase that they are competent in Springboot and can get recruiters looking your way?
I want maybe two or three projects that I can do in the following months, want to start job hunting in the new year.
r/SpringBoot • u/cielNoirr • Aug 12 '26
I've been thinking about contributing to some open source projects built with spring boot. What are some good open source projects that you think are worth contributing to in 2026?