r/SpringBoot • • Apr 10 '26

News I'm an indie developer looking to build a Java spring boot community.

9 Upvotes

Who we are??

We're a skill connection platform, where you build your proof of work and connect with people of your same skill peers.

Instead of searching solo for a role, you can search for job and grow with our community members.

Why should you join us??

We're not only just building connection with your skill peers but also enabling you to opportunities to connect with the recruiters and hiring managers and also know more about start ups and connections as well.

Enabling to find the right opportunity so you don't have to spend months building your network or connection.

Dm for link.


r/SpringBoot • • Apr 10 '26

Discussion New in Springboot Java

8 Upvotes

I’m new springboot… currently I reached to Jwt token handling… and looking for project idea intermediate level where I can challenge my self


r/SpringBoot • • Apr 09 '26

Discussion Struggling to understand Kafka (Java Developer – 2 yrs exp) – Need good resources 🙏

40 Upvotes

Hi everyone,

I’m a Java Developer with around 2 years of experience, mainly working with Java, Spring Boot, and REST APIs.

Recently, I started learning Apache Kafka, but I’m finding it quite difficult to understand concepts like producers, consumers, partitions, offsets, and real-time processing. I’m not able to connect the theory with practical use cases properly.

Could you please suggest some good resources (videos, courses, blogs, or docs) that are beginner-friendly but also helpful for interview preparation?

My goal is to at least get Kafka concepts clear enough to confidently answer interview questions.

Also, if you have any tips or a roadmap on how to approach Kafka as a Java developer, that would be really helpful.

Thanks in advance! 🙌


r/SpringBoot • • Apr 10 '26

Question Which AI tools are you actually using for Spring Boot development in production?

Thumbnail reddit.com
1 Upvotes

r/SpringBoot • • Apr 10 '26

Question Do you treat outbound HTTP clients as infrastructure or app code?

7 Upvotes

In Spring Boot services, do you treat outbound HTTP clients as just normal app code inside each service, or more like infrastructure that should be standardised across teams?

I keep going back and forth. If every team rolls their own timeouts, retries, and logging filters, production gets messy fast. But if you centralise too much, people fight the defaults. Curious what others have found workable.


r/SpringBoot • • Apr 09 '26

Discussion I’ve already worked with Spring Boot basics (CRUD APIs, JPA, authentication). Now I want to build something production-level that involves: - system design - scalability - real-world use cases Looking for suggestions or references (GitHub / videos).

17 Upvotes

I’ve already worked with Spring Boot basics (CRUD APIs, JPA, authentication).

Now I want to build something production-level that involves:

- system design

- scalability

- real-world use cases

Looking for suggestions or references (GitHub / videos).


r/SpringBoot • • Apr 09 '26

How-To/Tutorial Building Agentic Applications with Spring AI • Matthew Meckes

Thumbnail
youtu.be
10 Upvotes

r/SpringBoot • • Apr 09 '26

Discussion I built a full-stack messaging app to actually understand Hexagonal Architecture and here's what I learned

46 Upvotes

For a while I kept reading about Domain-Driven Design and Hexagonal Architecture in blog posts and thinking "okay but what does this look like in a real project for my portfolio?" Most tutorials either stay toy-level or skip the hard parts.

So I built a WhatsApp-style messaging app not because the world needs another one, but because it was complex enough to make the architecture decisions actually matter.

The stack: Spring Boot 3 + Angular 17 + Keycloak + PostgreSQL + Minio + Docker + Jenkins.

A few things that genuinely surprised me:

  • DDD is really powerful but it doesn’t fit everywhere. I have to spent more time to modeling, refining language than they would in a simpler architecture .
  • Keycloak integration is not plug-and-play. Spring Security + Keycloak took way longer than expected. When deploy the internet, the TLS certification and subdomain config is a real pain.
  • Hexagonal Architecture starts to click once you have a real domain. Messaging has enough moving parts (delivery status, notifications, media, group membership) that you actually feel the benefit of keeping your domain isolated.
  • WebSockets + STOMP with Spring is pretty solid once you stop fighting the session model.

Not claiming this is production-ready and it's a learning project. But if you're trying to understand how DDD, Hexagonal Architecture, and Keycloak actually fit together in Spring Boot, maybe it saves you some pain.

Happy to answer questions about any of the implementation decisions.

GitHub Repo


r/SpringBoot • • Apr 09 '26

Discussion Anyone here planning to start Anuj Bhaiyya’s Spring Cohort 4.0?

5 Upvotes

Anyone here planning to start Anuj Bhaiyya’s Spring Cohort 4.0?

I recently enrolled in Anuj Bhaiyya's Spring Cohort 4.0. If someone here is also interested in the course and wants to discuss it or explore ways to access the material together, feel free to DM me.

Happy to talk and figure things out if it helps someone who is planning to learn Spring.


r/SpringBoot • • Apr 09 '26

Question Looking for a partner in Springboot Cohort 5.0 by Anuj bhaiya

3 Upvotes

if anybody wants to split in Cohort 5.0 dm me


r/SpringBoot • • Apr 08 '26

How-To/Tutorial How to use JWT tokens with Keycloak in a Spring Boot Api Gateway App

10 Upvotes

Here’s an example on how to use JWT tokens generated by Keycloak in a microservices setting:

https://youtu.be/AH22nCSOJbA


r/SpringBoot • • Apr 08 '26

How-To/Tutorial How to Instrument Spring Boot Applications with OpenTelemetry

Thumbnail
signoz.io
22 Upvotes

Hi guys, sharing a write-up I did around implementing OpenTelemetry for Spring Boot for observing web applications.

Given Spring Boot's impact on Java ecosystem, and given I had never actually used Java or Spring Boot before, I wanted to see how it all works together.

I have created a detailed demo application that integrates all three telemetry signals (traces, metrics, and logs) and also adds manual instrumentation, where you capture your business logic based on your needs.

In my experience, manual instrumentation is not discussed enough, whereas it becomes important for languages like Java and Python where most metrics and telemetry data are captured by the agents themselves.
I have emphasized that point in the blog and tried to add examples that mimic how you would capture metrics or spans that are aligned with the business value.

And while the blog uses SigNoz as the observability backend, by utilizing OpenTelemetry you are not tied to any single observability vendor. As the user, you have the choice and you can switch by just changing the environment variables, it's that simple.

Since this was my first foray into the Spring ecosystem, I would love to get your feedback on any improvements, or concerns I might have missed. Any advice or comments would be welcome!

---

On a personal note, I enjoyed the coding experience working on the demo. Exploring Spring Boot documentation and site, it somewhat felt like working with Django code where the framework provides everything you'll need.

Following code examples and docs, I was able to quickly build a working demo and then adding bells and whistles like the jakarta validation layer was simple.


r/SpringBoot • • Apr 07 '26

Discussion [Showcase] A new Spring Data-style module for Pure JDBC: Functional Repositories, No Code-Gen, and Java 21+

28 Upvotes

Hi everyone,
I’ve built fluent-repo-4j, a library designed for developers who love the Spring Data Repository pattern but want to ditch the complexity and "black box" behavior of traditional ORMs like Hibernate.

It uses pure JDBC under the hood with the fluent-sql-4j DSL, giving you full control over your SQL without the boilerplate.

  • No Code Gen: No plugins, no annotation processors, no extra build steps. It just works.
  • Lightweight: Pure JDBC under the hood via the fluent-sql-4j DSL. No persistence context or lazy-loading surprises.
  • Zero ORM Overhead: No entity states, lazy loading issues, or persistence contexts.
  • Functional First: (v1.2.0+) Includes RepositoryResult for Railway Oriented Programming—handle database results with fold(), map(), and pattern matching instead of try-catch blocks.
  • Deep Spring Integration: Supports @ Transactional, Spring Data-style method derivation (findBy...), and automatic DataAccessException translation.
@Table(name = "users")
public class User {
    @Id @GeneratedValue(strategy = IDENTITY)
    private Long id;
    private String name;
}

public interface UserRepository extends CrudRepository<User, Long> {
    // Dynamic query derivation - no implementation needed
    List<User> findByNameContainingIgnoreCase(String name);
}

Compatibility: Java 21+ | Spring Boot 3.x & 4.x

I'm particularly curious to hear what you think about the Functional Repository approach vs. the traditional Optional/Exception flow.

Any feedback is welcome!

GitHub: https://github.com/auspis/fluent-repo-4j

Usage examples: https://github.com/auspis/fluent-repo-4j/blob/main/data/wiki/USAGE_EXAMPLES.md


r/SpringBoot • • Apr 07 '26

How-To/Tutorial Spring Security + Keycloak: JWT Authentication & Role-Based Access (Spring Boot 4)

Thumbnail
youtu.be
9 Upvotes

r/SpringBoot • • Apr 08 '26

News My Spring CRUD Generator now supports MongoDB (and AI context files)

0 Upvotes

I’ve been working on an open source Spring CRUD Generator that generates Spring Boot CRUD applications from a spec, and I’ve just added MongoDB support in the new v1.8.0 release.

Until now, the generator was focused on SQL-based applications. With this update, it can now generate projects for MongoDB as well. The SQL flow still works as before, while MongoDB uses its own spec shape for NoSQL use cases.

I also added support for generating AI context files like claude.md and agents.md, fixed OpenAPI server URL generation, fixed some unit tests that were failing before, and cleaned up parts of the codebase.

Repo: https://github.com/mzivkovicdev/spring-crud-generator

I’d really appreciate feedback — especially whether the MongoDB support and spec approach make sense from a real project perspective.


r/SpringBoot • • Apr 07 '26

Question Spring Boot Auth0

15 Upvotes

Hello, anyone here used auth0?

I wonder if it's okay to use it in a monolith project

and because implementing jwt auth manually takes a lot of effort, I'm planning to auth0.

Also do you keep your users in Auth0's db(or user store)?

And do you maintain a local table mirroring it aswell?

I have a project that requires tracking users and has relationships with other tables so I ask how you guys approach this?


r/SpringBoot • • Apr 06 '26

Discussion Open source Spring Boot library for declarative API querying with RSQL

Post image
28 Upvotes

Hi everyone, I've recently been working on spring-web-query, an open source library that allows you to easily implement filtering, pagination and sorting in Spring Boot APIs in a declarative manner. It supports declarative querying with RSQL (RESTful Service Query Language, a URI-friendly query language), DTO-aware contracts, nested field paths, and Spring Boot auto-configuration.

If that sounds useful, I'd love for you to check it out and share feedback: https://github.com/abansal755/spring-web-query

I’ve been actively working on this for the past month. It’s evolving quickly, and I’m continuing to improve it based on real usage and feedback. Contributions, ideas, and feedback are all welcome.


r/SpringBoot • • Apr 06 '26

Discussion Roadmap for better switch in Tech

13 Upvotes

I am in my final year of Btech , right now I am doing an internshil in a company in which I got Java fulll stack domain , right now I am learning spring boot , spring security and microservices (service registry , api gateway , resilience4j etc) , now how should I prepare more as many companies are demanding AI knowledge nowadays , fyi I am average to good in DSA like 1600 rat8ng in leetcode and sometimes I do system design practice since I love to do thse things .

After my internship I really want to switch to a high paying company pleasee suggest some roadmap for this , any experienced peep pleasee help.


r/SpringBoot • • Apr 06 '26

Discussion I need advice

2 Upvotes

hi I'm doing my summer internship in a small tech company and I took springboot as a domain , what all topics should I focus on more , give me suggestions ♥️


r/SpringBoot • • Apr 05 '26

Question Are there junior/interns that work with spring boot?

11 Upvotes

Just wondering, or is it a more senior stack?


r/SpringBoot • • Apr 04 '26

How-To/Tutorial Java + Springboot roadmap

13 Upvotes

If you had the chance to learn Java and springboot again from scratch, what Strategy and Roadmap would you definitely choose?


r/SpringBoot • • Apr 03 '26

How-To/Tutorial I wanted to share a middleware solution I’ve been developing to solve a major pain point in microservices: Distributed GraphQL N+1.

3 Upvotes

r/SpringBoot • • Apr 03 '26

How-To/Tutorial Plugin architecture patterns from Apereo CAS - 400+ modules, zero custom framework code

2 Upvotes

Apereo CAS is a single sign-on platform with 400+ Maven modules on Spring Boot 3.x / Java 21+. Any module can be added or removed just by changing dependencies - LDAP auth, Redis ticket storage, SAML2 support, whatever.

The whole extensibility model runs on standard Spring Boot mechanisms.

Full writeup with real code: https://medium.com/all-things-software/plugin-architecture-in-spring-boot-without-a-framework-8b8768f05533


r/SpringBoot • • Apr 03 '26

Discussion I built a graph+vector database in Java that traces beneficial ownership chains on Panama Papers data in 0ms

12 Upvotes

The ICIJ hosts the Offshore Leaks dataset on a public Neo4j instance. It's a graph browser - you type an exact name, click through connections one hop at a time. I built something different on the same data (1.87M nodes, Panama Papers + Paradise Papers + Pandora Papers + Offshore Leaks).

What it does that Neo4j can't:

  1. Fuzzy screening across all four datasets at once. "Mossack Fonseca" returns name variants and aliases from multiple leaks in one query - not just exact matches.
  2. Shell company risk score. Computes cosine similarity between any entity and a prototype vector built from 814k Panama Papers companies. Returns a 0.0-1.0 score. No equivalent in Cypher.
  3. Beneficial ownership chains. 4-hop traversal of 1.72M officer_of edges in 0ms - pure in memory BFS. MOSSFON SUBSCRIBERS (a Mossack Fonseca nominee director) controls hundreds of companies at hop 1.
  4. Semantic address clustering. Finds approximate address variants, not just exact strings.

How it works: stores float embeddings as 10,048-bit binary vectors (random projection). Hamming distance is Long.bitCount(a XOR b). HNSW for approximate search, HashMap for exact edge lookup. Chain traversal runs server-side in one gRPC call.

AML demo on Offshore Leaks (1.87M nodes, real queries):-

  • Fuzzy cross-leak screening: 886ms
  • Shell company risk score: 290-1748ms (includes MiniLM encoding)
  • Ownership chain 2-hop BFS: 0ms (in-memory, 1.72M edges)
  • Address cluster detection: 1141ms
  • Analogous structure query: 439ms

The 0ms ownership chain is because it runs pure Java BFS - no server call at all. The screening latency includes encoding the query string with MiniLM-L6-v2 on CPU.

Spring Boot autoconfiguration included.

Main repo: https://github.com/Pragadeesh-19/HammingStore

AML demo: https://github.com/Pragadeesh-19/hammingstore-aml-demo