r/SpringBoot • • May 04 '25

Question Are there any Spring Boot courses WITHOUT video?

36 Upvotes

Hello! I'm in search of a Spring Boot course that is purely text-based. I cannot adequately learn from video, where I need to pause, rewind back a bit, type something in my console to test it, then rewind it back even more because I lost the context - while I could just read it from a screen while experimenting on another monitor.

I'm looking for something like https://www.railstutorial.org/book, which is an excellent resource that single-handedly put me on the Rails track in 2016. Can you advice me something like this? =-)


r/SpringBoot • • Jan 19 '25

Guide 10 Projects You can Build to Learn Spring Boot

Thumbnail
java67.com
36 Upvotes

r/SpringBoot • • Aug 31 '24

Rate my first Springboot Application.

36 Upvotes

I am Building a application that can tell you what you CBC report in telling about your body.

https://github.com/Ashutosh-rajput/ReportGenerator

My application have these features.

Caching using redis.

Jwt token security.

Custom Validation.

Global Exception Handler.

Refresh Token .

Blacklisting refresh and jwt token (logout).

Future plans:

Adding Oauth 2.0 with Jwt (Can't find good tutorial for this if you have kindly share).

Adding Machine learning to train model for better result .

Adding more assessment such as KFT and LFT.

Any Suggestion please provide or comment .


r/SpringBoot • • Aug 29 '24

How to not eat the Spring Security elephant. All at once

36 Upvotes

I attempted the challenge of implementing spring security into a project I'm implementing for work. In short I have an Angular front end accessing data from a spring boot RESTful API server. I expect this to grow in the future to multiple front ends accessing multiple services, each with the a reliance on core functionality and data, and to host it all in a Kubernetes cluster. My thinking was to utilise the companies Azure Entra for user authentication, while maintaining authorisation across API (and future services) with JWT via a Spring Oauth2 Server. TBH this is all a bit overkill/over engineered for our current situation, but I'd like to think we can grow, and at worst, it'll look great on my resume.

I've been through numerous tutorials/articles/videos/ChatGPT discussion to get a grasp on the mechanics of how to make this work. Looking at Resource Servers, BFF patterns, Azure credentialing. Although grateful someone put the effort into generating these, I feel more lost than where I started. Many tut's are using deprecated libraries or classes or aren't clearly showing how the mechanics works between client-resource server/oauth-client-oauth-server-entra/openId. I'm thinking this elephant needs to be broken down into more bite size chunks, or I have some learning issue.

How would you attempt to learn this? What are some good resources you've found? Is my situation either too extreme or trivial to the point that I'm overthinking?

Not looking for too much in the way of feedback, just wanted to vent. Thanks for listening to my TED talk.


r/SpringBoot • • Mar 08 '24

Resources for learning Spring Boot

36 Upvotes

We put together a list of resources for anyone who wants to learn Spring. If you can think of anything that is missing PRs are welcome 🤩

https://github.com/spring-office-hours/resources-learning-spring


r/SpringBoot • • Oct 06 '22

What are some "do these things first after creating a new Spring project" that you like to do ?

36 Upvotes

so I'm collecting a set of configuration/setup tips for Spring Boot for a large team of young engineers. what are some of the things you do after creating a new Spring Project ? it could be anything from setting up the build steps in the right way to Dockerfiles to configuring testcases in a certain way.

For example, i like to get rid of XML configuration and use properties. I also like a single directory hierarchy ("package src;") instead of 3-4 level deep with empty directories.

what are some of your favorite tips ?


r/SpringBoot • • 4d ago

News Book 'Modern frontends with htmx' updated for htmx 4

35 Upvotes

My book 'Modern frontends with htmx' has been updated to Spring Boot 4 and htmx 4!

To celebrate, it is now 40% off via https://leanpub.com/modern-frontends-with-htmx/c/HTMX4

All examples have been updated to Spring Boot 4.1.3 and htmx 4.

See https://www.wimdeblauwe.com/books/modern-frontends-with-htmx/ for more information on the book.


r/SpringBoot • • Sep 24 '26

Discussion Why JPA is complex and fells like a magic for me

35 Upvotes

my experience with the java area is that everything is almost explicit no lots of magic no lots of implicit things

but jpa for me is one of the most complex things that i have ever seen ,for me it feels like a magic

need advice to overcome that


r/SpringBoot • • Aug 20 '26

Question Spring Boot 4.1.1 Released?

35 Upvotes

Hi everybody,

we just got via Renovate a Spring Boot update to 4.1.1 - released on repo1.maven.org .

We are a bit confused as there is no announcement, release notes, tag on GitHub, etc. Also it looks like no release workflow was running on GitHub.

Feels a bit sketchy, anybody knows what's going on?


r/SpringBoot • • Apr 01 '26

Question Why Apache Shiro over Spring Security for a greenfield Java 25 / Spring Boot 4 project? Am I missing something?

35 Upvotes

Hi everyone,

I'm currently part of a team developing a massive, national-scale Data Platform ecosystem. This is a 100% greenfield project (absolutely zero legacy code), and our core backend stack will be Java 25 and Spring Boot 4.

Naturally, when it came to securing the platform, I immediately thought of Spring Security. It’s the modern, deeply integrated standard for Spring Boot, and it has native, robust support for OAuth2/OIDC and stateless JWT authentication, which fits our architecture perfectly.

However, my boss recently threw a curveball and asked me to heavily research Apache Shiro as our primary security framework.

I read through Shiro’s documentation, and honestly, from a modern backend developer's perspective, it feels quite dated and overly simple. It doesn't seem to have out-of-the-box, optimized support for modern JWT/stateless auth flows compared to what Spring Security offers today.

Here’s the catch: my boss is definitely not a noob. He is the Director of the Data Platform and a highly experienced system architect. I am 100% sure he sees some architectural advantages or specific use cases in Shiro that I am completely missing.

So, my questions for the experienced folks and architects here:

What are the actual "hidden gems" of Apache Shiro when building a massive data platform ecosystem?

Does it have to do with fine-grained/row-level data authorization (wildcard permissions), framework-agnostic design (for non-web components like Spark/Flink jobs), or something else?

How painful is it to implement modern JWT/OAuth2 flows in Shiro nowadays compared to Spring Security?

Any insights into why an experienced architect would make this call in 2026 would be highly appreciated. Thanks!


r/SpringBoot • • Sep 05 '25

How-To/Tutorial Library for Spring Boot that makes Postgres-backed integration tests both fast and fully isolated

35 Upvotes

I build a small Spring Boot library that makes Postgres-backed integration tests both fast and fully isolated.

https://github.com/misirio/dbsandboxer

How it works:

  • At test-suite start-up it creates a single PostgreSQLĀ template database.

  • For every JUnit test it runs CREATE DATABASE … TEMPLATE … to clone that template - aboutĀ 50 ms per sandbox.

  • It plugs right into Spring Boot, Testcontainers, Flyway, and Liquibase.

  • If you use text fixtures you can mess with it freely, and never worry about affecting other tests.

I introduced this approach after hitting serious test-isolation problems on a large enterprise project. The approach worked greatly and the integration tests grow to pastĀ 4 000 testsĀ without any slowdown or cleanup scripts.

I added an example project setup including test fixtures here: https://github.com/misirio/dbsandboxer/tree/main/examples/spring-boot-example

I would love to hear your feedback and how you solve this problem in your projects.


r/SpringBoot • • Jul 30 '25

Discussion Just finished implementing GitHub OAuth2 login with Spring Boot + Angular

35 Upvotes

Hey everyone,

I just wrapped up GitHub OAuth2 login for my full-stack app (Spring Boot backend + Angular frontend) and wanted to share the implementation. It took a bit of trial and error, especially around token handling and integrating the frontend redirect flow.

šŸ› ļø Stack & Highlights:

  • Backend: Spring Boot 3, Spring Security, OAuth2 Client

  • Frontend: Angular 17

  • Flow:

    • Spring Boot handles the GitHub OAuth2 callback and generates a JWT

    • JWT is sent via redirect to Angular (/oauth2/success?token=...)

    • Angular grabs the token from the URL, stores it, and uses it for API requests

  • Security: Stateless JWT-based authentication (no session storage)

  • Edge Case Handled: Linking GitHub OAuth2 login with existing users in the DB who previously signed up using email/password

If you're curious or have suggestions, here's the pull request:
šŸ”— https://github.com/n1netails/n1netails/pull/133

Would love any feedback on code structure, security, or overall design. Thanks!


r/SpringBoot • • Jun 21 '25 Helpful

Discussion Just Built My First Spring Boot Project – Would Love Feedback!

35 Upvotes

Hey guys!

I just completed my first full-fledged backend project using Spring Boot, PostgreSQL, and JWT-based authentication. It’s called EcoAware – A Campus Complaint Tracker.

The idea is simple: Students or staff can report issues (like water leakage, poor waste disposal, etc.), and the admin can manage and resolve them. It includes:

  • User registration/login (JWT auth)

  • Raise/view/update/delete complaints

  • Upload images (e.g., of broken stuff)

  • Admin control to get all complaints & change status

  • Category filter support (e.g., Water, Waste, Electricity)

  • Role-based access control (USER / ADMIN)

I don't know anything about HTTPS status code. I didnt implement any exceptions handling. In this journey, I have learned a lot, especially I found that there is enum and record in java. I have used Users for User to make it differ from spring boot user class

This is technically my second project after a demo REST API project. I wrote everything from scratch by following YouTube tutorials and docs

I’d love to get feedback, suggestions, or improvement tips. Especially:

  • Code structure

  • Entity design

  • Any mistakes

  • Anything I should do differently?

If you have a few minutes to check out the repo or just drop any thoughts, I’d really appreciate it . It Would keep me motivated

GitHub Repo


r/SpringBoot • • Feb 15 '25

Question My Journey to Learn Spring Boot starts today

35 Upvotes

My plan is to read Spring in Action wish me luck. Does anyone have advice?


r/SpringBoot • • Feb 05 '25

Guide Are there any open source projects to contribute?

35 Upvotes

Hi, I have started learning SpringBoot and i would like to contribute any on going SpringBoot open source projects in Github to apply my knowledge and skills practically. Are there any such projects where we can contribute for free?


r/SpringBoot • • Jun 15 '24

Want to start as a Freelancer Spring Boot Developer

35 Upvotes

Hello everyone,

So I have an experience of 2 years now working as a full time software developer at a product based MNC, I feel like I am doing quite well when it comes to the learning curve.

I have worked with traditional spring boot and also with Spring Boot's project reactor, since we follow an event driven architecture, I also have a working knowledge of Kafka.

Since it's a product based company, I am getting good quality work in spring boot under the guidance of a great great spring boot developer having like 18 years+ experience.

I feel like I can start some freelancing work during the weekends, I wanna try it out and further expand my knowledge.

Since I am new to freelancing, I am basically unaware of how to land work/Market myself to land clients.

This community has a lot of spring boot developers and I would love to get some suggestions from you all about how can I start freelancing.


r/SpringBoot • • Mar 09 '24

Top 10 Spring Boot Interview Questions

Post image
35 Upvotes

r/SpringBoot • • Sep 19 '26

Discussion Manage and Monitor Spring Boot projects in real-time.

Post image
34 Upvotes

I am a mobile app and spring boot developer and felt the need to monitor my spring boot projects. So I developed mobile app for both Android and iOS. I would like to welcome the members from this subreddit to try the app out and give me any feedback.
iOS and Android


r/SpringBoot • • Sep 16 '26

Question JOOQ vs JDBC

34 Upvotes

I use JPA for simple CRUD operations (mostly write operations) and JDBC for performance intensive tasks such as sending lists & performing search. The JDBC performance is perfect & the performance of my backend (Spring Boot) is great.

Now, as my project grows, my SQL queries are getting bigger, messier and unreadable. I tried jOOQ and loved it because it made my code super readable, type safe and maintainable. However, after profiling my Spring Boot app, operations that took around 5 ms with JDBC now take 9–14 ms with jOOQ, which makes me reluctant to migrate to jOOQ. Is a 10 ms difference negligible or am I overthinking?

I love the cleanliness and type safety of JOOQ. Would you go this JOOQ route? Have you ever faced such situation? I visited JOOQ's official website and was stunned by the fact it is used by many big organizations

EDIT: Thank you everyone who answered, your insights were amazing. With some tweaks I was able to reduce JOOQ's operation time from 14ms to 7ms and now I have so much clarity in my head.


r/SpringBoot • • Jan 27 '26

How-To/Tutorial I put together a practical API reference repo (REST, GraphQL, WebFlux) while learning backend design — sharing in case it helps others

34 Upvotes

Hey folks

Over the past year, while working with Spring Boot, I kept running into the same problem:
API concepts were scattered across blogs, docs, and half-finished demos. I ended up maintaining my own notes + small projects to really understand how APIs behave in real systems.

I finally cleaned it up and pushed everything into one public repo.

What’s inside:

  • Core API fundamentals (what APIs actually are, not just definitions)

  • REST API patterns with Spring Boot 3

  • GraphQL basics + demo

  • WebClient & WebFlux examples

  • API communication patterns

  • Notes on URI vs URL vs URN

  • Multi-tenant request handling using interceptors

  • Comparisons like REST vs GraphQL vs gRPC (theory + when to use what)

It’s not a framework or boilerplate generator — more like a living reference with explanations and small working examples that helped me connect theory with implementation.

Repo:
- https://github.com/Ashfaqbs/Application-Programming-Interface

If anyone is learning backend APIs or revising fundamentals, this might save some time.
Happy to hear feedback or ideas on what would make it more useful.


r/SpringBoot • • Jan 16 '26

Question Spring boot full course

34 Upvotes

I’m especially looking for full, comprehensive courses (not just short tutorials) that explain Spring Boot clearly from the basics to building real applications. If you have course recommendations, learning paths, or advice on how you personally learned Spring Boot, I’d really appreciate it.


r/SpringBoot • • Oct 08 '25

Question Best frontend framework for java fullstack

34 Upvotes

Help me to choose the best frontend framework, I've seen that Angular is used a lot, but lately React is also used. I don't know which one I have to learn


r/SpringBoot • • May 19 '25

Guide Suggest Books for System Design and implementation using Spring Projects

34 Upvotes

Suggest books which focus on designing a system and implementing it using Spring Projects / modules. Thank You.


r/SpringBoot • • Mar 22 '25

Question JPA - Hibernate?

34 Upvotes

Hi everyone, I’m a Java developer with experience using JPA (mostly through Spring Data JPA), and I always assumed Hibernate was just a specific implementation or specialization of JPA. But during a recent interview, I was told that Hibernate offers features beyond JPA and that it’s worth understanding Hibernate itself.

Now I’m realizing I might have a gap in my understanding.

Do you have any recommendations (books, courses, or tutorials) to learn Hibernate properly — not just as a JPA provider, but in terms of its native features?

Thanks in advance!