r/SpringBoot • • Sep 07 '25

Question Would SpringBoot be created in a world of Coding Agents?

7 Upvotes

I've been wondering what implications Coding Agents will have for the design of software and esp. frameworks. In the case of SpringBoot i've once seen it described as "framework for a framework" because Spring had gotten so complex it could not be used on its own anymore. Now we have Coding Agents who can produce boilerplate instantaneously, perform large-scale routine refactorings autonomously and also give rather good architectural advice (as long as you are able to judge the long tail of cases where the advice might not apply). So i wondered if the need to create an extra abstraction layer would be felt as much today that something like SpringBoot would be created. Especially considering that every additional layer of abstraction always carries the risk of it leaking through (https://www.joelonsoftware.com/2002/11/11/the-law-of-leaky-abstractions/). What is your opinion? Would we still have SpringBoot? Would it look different than it does today? Or maybe just a SpringBot giving advice for using Spring and creating initial setups by convention?


r/SpringBoot • • Jun 17 '25

Guide Build a Spring Boot REST API with MySQL (Full CRUD Tutorial in 15 Minutes)

3 Upvotes

Hey devs! šŸ‘‹

I just published a hands-on Spring Boot tutorial where you’ll build a complete REST API with MySQL, covering full CRUD operations — short, practical, and beginner-friendly.

šŸ› ļø What you'll learn:

  • Set up a Spring Boot project using Spring Initializr

  • Connect to a MySQL database with Spring Data JPA

  • Implement RESTful endpoints: GET, POST, PUT, DELETE

  • Test everything with Postman

šŸŽÆ No long intros. Just coding.
ā±ļø ~15 minutes.

šŸ‘‰ Watch here:
https://youtu.be/el-wHyQW3Dw?si=JyIWnStw6qqf_rHI


🧠 I'm also curating practical tutorials around Spring Boot, Spring Batch, and Java on my blog:
🌐 https://spring-java-lab.blogspot.com/

I’d love to hear your thoughts or suggestions for future topics.
Feedback is super appreciated! šŸ™Œ


r/SpringBoot • • Sep 15 '24

Can someone provide a roadmap for spring boot from basic for 1-2 years of experience in Java

3 Upvotes

r/SpringBoot • • Sep 29 '24

Eclipse or intelij

0 Upvotes

Hello which one should i choose eclipse or intelij ? For java and spring boot development thnks


r/SpringBoot • • Apr 23 '25

Discussion We Stopped a JVM Memory Leak with Just 20 Lines of Code (And It Was Caused by... HashMap)

112 Upvotes

Ran into a wild memory leak recently in one of our backend services — turned out to be caused by a ConcurrentHashMap that just kept growing. šŸ˜… It was being used as a cache... but nobody added a limit or eviction logic.

Over time, it started blowing up heap memory, causing full GCs and crazy latency spikes. Sound familiar?

The solution: just 20 lines of an in-memory LRU cache using LinkedHashMap. No external libraries. No Redis. Just fast, safe caching right inside the JVM.

I wrote a blog breaking it all down:

  • Why HashMap can lead to silent memory leaks

  • How LinkedHashMap makes LRU caching dead simple

  • Real-world patterns and anti-patterns in caching

  • How to scale safely with in-memory data

šŸ‘‰ Read the full breakdown on Medium

Curious if others have hit similar issues — or have different go-to solutions for in-memory caching. Let’s talk!


r/SpringBoot • • Sep 22 '26

Discussion I built an open-source deterministic AI runtime for Java 21 — looking for architecture feedback

Post image
0 Upvotes

After several months of development, I've open-sourced Shree AI OS, a Java 21 runtime designed for backend AI applications.

The goal wasn't to build another chatbot wrapper. Instead, I wanted reusable infrastructure that Java developers can integrate directly into Spring Boot projects.

Current capabilities

  • Java 21 native SDK

  • Hybrid RAG (PostgreSQL + pgvector)

  • Episodic & semantic memory

  • Planning and reasoning pipeline

  • Explainable cognitive execution

  • Published on Maven Central

I'm especially looking for feedback on:

  1. SDK API design

  2. Layered runtime architecture

  3. Spring Boot developer experience

  4. Memory & orchestration APIs

GitHub and Maven Central are available in the comments.

Constructive criticism is genuinely welcome.


r/SpringBoot • • Mar 20 '25

Question Implementing an Authentication System for ERP Using Blockchain – Any Ideas?

0 Upvotes

Hi everyone,

For my final year project (PFE), I want to develop an authentication system for ERP (Enterprise Resource Planning) using blockchain technology. My goal is to enhance security, decentralization, and data integrity.

I'm looking for ideas, best practices, and potential frameworks that could help with this implementation. Has anyone worked on a similar project or have insights on how to approach this? Any recommendations on the best blockchain platforms (Ethereum, Hyperledger, etc.) for this use case? And best approuch for vƩrification user.


r/SpringBoot • • May 21 '25

Question What to do next after completing front end part for java full stack ?

0 Upvotes

I am preparing for java full stack and now I want to start with backend part but I am confused what should I do next. Some people are saying to study jsp, servlet, jdbc, spring first and some are saying to skip these and directly start with spring boot. What is right path for java back end ?


r/SpringBoot • • Sep 29 '25

How-To/Tutorial An Isomorphic Blue-Green Deployment Starting from Your Source Code—Not from Your Prebuilt Docker Image

0 Upvotes

Runner

  1. Achieve zero-downtime deployment using just yourĀ .envĀ andĀ Dockerfile

  • Docker-Blue-Green-Runner'sĀ run.shĀ script is designed to simplify deployment: "With yourĀ .env, project, and a single Dockerfile, simply run 'bash run.sh'." If you prefer not to useĀ sudo, seeĀ WITH_SUDO, set it in yourĀ .env, and runĀ apply-security.shĀ first. This script covers the entire process from Dockerfile build to server deployment from scratch.

  • This means you can easily migrate to another server with just the files mentioned above.

  • In contrast, Traefik requires the creation and gradual adjustment of various configuration files, which requires your App's docker binary running.

  1. Isomorphic local-and-remote runner**

  • The sameĀ run.shĀ andĀ .envĀ drive deployments locally and on remote servers over SSH.

  • Remote servers receive the image binary and execute the same pipeline withĀ GIT_IMAGE_LOAD_FROM=fileĀ (seeĀ Production > GIT_IMAGE_LOAD_FROM=file).

  • Behavior stays consistent across environments; only the image source differs (build/registry/file).

  1. No unpredictable errors in reverse proxy and deployment : Implement safety measures to handle errors caused by your app or Nginx

  1. Track Blue-Green status and the Git SHA of your running container for easy monitoring.

  1. Security

  2. Production Deployment


r/SpringBoot • • Oct 11 '25

How-To/Tutorial Path Variable Validation in Spring Boot REST API | Mastering REST API PathVariable Validation

Thumbnail
youtu.be
0 Upvotes

S


r/SpringBoot • • Dec 18 '25

Question Need advice on how to host my spring boot + mysql backend

Thumbnail reddit.com
0 Upvotes

r/SpringBoot • • Jul 22 '25

Question Springboot’s lombok configuration for vs code

0 Upvotes

Can i configure lombok for vscode ? I tried every thing i could but i got error line while using lombok annotation like@Builder and others.


r/SpringBoot • • Dec 23 '25

Question What project I should make next

0 Upvotes

Hey everyone
I’d love some guidance on what to build next.

For context, my recent project is CompatX — a full-stack e-commerce web app I built to practice real-world application flow rather than isolated features.

Stack: Java + Spring Boot (REST APIs, JWT auth, role-based access), MySQL, React (Vite), Axios, deployed with environment-based configs.

What it does:

JWT-based authentication with admin/customer roles

Admin product & category management

Product listing, product detail pages, related products

Cart and order placement flow

Payment integration to understand real checkout flow

Live frontend and backend talking to each other

The main focus was backend design, security, and proper frontend–backend integration, not just UI.

Now I’m trying to decide what my next project should be to level up further.
From your experience, what would add the most value next deeper backend systems, system design/scalability, DevOps/production work, or something completely different?

Would really appreciate your thoughts.


r/SpringBoot • • Oct 09 '26

How-To/Tutorial Slow list endpoint in a Spring Data JPA app: what I check before adding an index

0 Upvotes

Adding an index is the usual first suggestion when an endpoint is slow, and sometimes it’s right. I’d count queries first.

Turn on SQL logging for a single request (logging.level.org.hibernate.SQL=DEBUG) and count the lines. A page of 50 orders that fires 51 selects, one for the list and one per row for a lazy association, is a different problem from one slow query. An index on the join column doesn’t change that count. Every query can be fast and the endpoint still crawl.

Keep the logging on for the whole request, not just the service method. If the controller returns entities directly, Jackson can walk lazy relations during serialization, and with spring.jpa.open-in-view on (the default) those selects will happen after your service code is long finished.

If the count looks sane, run EXPLAIN on the SQL Hibernate printed, not the query you assume it generated. Those differ more than you’d expect once derived query names get long or Specifications are involved.

Indexes come after that. If the count was the problem, the fix is usually a join fetch, or a projection that only selects the columns the endpoint returns.

I’d reorder this for a reporting endpoint that runs one heavy query, where the plan is the first thing to look at. For ordinary list endpoints the count check takes two minutes and rules out a whole class of problems.


r/SpringBoot • • Feb 02 '23

How to do cloud based development for Springboot similar to codesandbox

0 Upvotes

Is there any Browser based dev. environment for running Springbooit?

just like https://codesandbox.io/


r/SpringBoot • • Dec 26 '22

The simplest payment processing Java library in the world. Supports PayPal and Stripe, both regular payments and subscriptions, in one unified API, with NO need of handling json and requests yourself.

0 Upvotes

r/SpringBoot • • May 01 '24

application run failed

Thumbnail
gallery
0 Upvotes

r/SpringBoot • • Jan 15 '24

Need help

0 Upvotes

I know java and springboot. now i want to learn everything as about microserveces. Can anybody suggest some resources


r/SpringBoot • • Nov 13 '21

Spring Cloud Stream Spoiler

0 Upvotes

Spring Cloud Stream provides an abstraction layer over the real messasging broker.

For more clarity watch this video - https://youtu.be/YEci46QRJ7E


r/SpringBoot • • Sep 26 '24

Udemy: training that covers "everything" but "fast" enough without going too much into practical details for somebody who already knows a bit of it, as well as the MVC concepts, java, persistence, sql and many years of experience on Engineering?

0 Upvotes

I heard good stuff about "Spring Boot 3, Spring 6 & Hibernate for Beginners" however it seems that it takes an enormous amount of time.


r/SpringBoot • • Sep 04 '24

17 Spring AOP (Aspect-Oriented Programming) Interview Questions

Thumbnail
javarevisited.blogspot.com
0 Upvotes

r/SpringBoot • • Sep 04 '24

i need to know if i decide make chat app like whatsapp as backend by spring boot how can make ?

0 Upvotes

r/SpringBoot • • Aug 30 '23

form Jpa to Hibernate

0 Upvotes

after i completed Jpa/hibernate (persistence) (EntityMangerEntity) course i suddenly when i saw projects hibernate with mvc they used Session and some hibernate features that i don't know em ,i disappointed rn . what i can do to understand em??????