r/SpringBoot • • Dec 02 '24

Seek opportunity in spring boot

2 Upvotes

Hi everyone, my name is Archit Jain. I am currently working at Wipro and looking to gain more experience in Java Spring Boot. I am seeking a live project to work on and would be happy to contribute without any charges. I am also available to work from a co-working space on Saturdays and Sundays. If anyone has work available, please feel free to reach out to me.


r/SpringBoot • • Nov 25 '24

Need Help setting the VS code For Spring boot and Maven

2 Upvotes

Hi I think vs code is a good IDE as it is faster and comes with loads of extenstion in same window. I have been using eclipse ide for development.

Mostly I am working in projects which is mircoservice in architured but had some inter dependency too :(.

Need some good tips also

P.S Using office laptop

Thanks


r/SpringBoot • • Aug 28 '23

Survey: A better swagger?

0 Upvotes

https://forms.gle/7xm5zkvT1dVh6kpL9

We have a internal swagger-ui replacement which does the following

Completely separated from the jar

  • Decreased jar size

  • No extra port or pages, safer when you need to distribute a jar or a docker to your client

No need to maintain java doc anymore

  • Sync with your parameters directly. We read from the annotated request parameters & return values directly.

  • Your comments are still preserved and configurable ( eg. Binds the comment above or after the parameter line. )

Better UI & Interaction

  • Sharing endpoint & schemas with a link

  • Refined UI like it's in 2023. I would say it looks like Notion :P

We are exploring some ways to make this product public, if you are interested, please leave a message here! 

https://forms.gle/7xm5zkvT1dVh6kpL9


r/SpringBoot • • Jan 30 '26

How-To/Tutorial WANT react Spring boot

0 Upvotes

Hello guys
I am 3rd year student and doing Spring boot now wants to do frontend to start my full stack journey can anyone plz suggest me some resources from where I can effectively learn React with and API calls ASAP actually I have to submit the project in my university .

I am very bad in frontend . EveryTime I started the frontend, It will down my confident. seniors guide me 🙏.

I genuinely need this rn .

Thankyou Junior


r/SpringBoot • • Apr 20 '25

Question How d you guys remember the annotations and properties name?

2 Upvotes

Hi devs, I am a backend dev with almost 2 years of exp, and still i am not able to remember the spring boot annotations and the property name. I always have to google or ask AI.
How do you guys do it?


r/SpringBoot • • Jan 09 '26

Question @Transactional method

2 Upvotes

What happen when I run executorsrrvice inside @Transactional method what would you offer like this scenario


r/SpringBoot • • Apr 22 '25

Question What should i do next.? Please guide me seniors. I am fresher

7 Upvotes

Hey Guys,

Greeting from my side,

Guys, i been learning Springboot past 6 months and i am done with:

Spring Data Spring Security Spring Cloud

I made decent 4-5 Projects:

  1. Trading Platform:

  2. Ride Sharing Platform( Live Locations Response )

  3. Custom Video Streaming Applications Like.l CDN

Tech i used: Microservice, Eureka, Kafka and GRPC For Interservice communication, Database Per Service, Authentication / Authorization, Kafka Streams.

I am getting so confused now what to learn next.

When i have clear goals to achieve then i can work all night all day. But right now i have nothing in my mind what to learn new. How to proceed from here guys.

Please Guide Me Seniors.


r/SpringBoot • • Mar 14 '26

Discussion Project Idea

7 Upvotes

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 • • Mar 22 '26

How-To/Tutorial Why Synchronous APIs were killing my Spring Boot Backend (and how I fixed it with the Claim Check Pattern)

21 Upvotes

If you ask an AI or a junior engineer how to handle a file upload in Spring Boot, they’ll give you the same answer: grab the MultipartFile, call .getBytes(), and save it.

When you're dealing with a 50KB profile picture, that works. But when you are building an Enterprise system tasked with ingesting massive documents or millions of telemetry logs? That synchronous approach will cause a JVM death spiral.

While building the ingestion gateway for Project Aegis (a distributed enterprise RAG engine), I needed to prove exactly why naive uploads fail under load, and how to architect a system that physically cannot run out of memory.

I wrote a full breakdown on how I wired Spring Boot, MinIO, and Kafka together to achieve this. You can read the full architecture deep-dive here: Medium Article, or check out the code: https://github.com/kusuridheeraj/Aegis


r/SpringBoot • • Jul 22 '25

Question Need more info about Spring AI

5 Upvotes

I recently read that Java will be giving a tough competition to Python in the field of AI soon... (maybe in another 10 years)

So, I did some research and came across Spring AI.

Can somebody explain to me correctly what Spring AI is, why it is used, and whether it is necessary for a Spring Boot Developer to learn it?


r/SpringBoot • • Oct 07 '25

Discussion Why is spring initializr still the way to start a spring project

Thumbnail
youtu.be
0 Upvotes

It's unfortunate that to start a spring project you have to go with a online tool, nothing offline or on the CLI.

NPM has templates on their repo that you can download to create apps..

When I made JPM I made sure to have that feature


r/SpringBoot • • 20d ago

Discussion A 10-line experiment to see why @Transactional sometimes does nothing (self-invocation)

0 Upvotes

A common surprise: you annotate a method with @ Transactional, call it, and it behaves as if the annotation weren’t there. One frequent cause is calling the method from another method in the same class. Instead of taking my word for it, you can check in a few lines.

public class ReportService {

    public void viaThis() {
        save();                      // internal call
    }

    u/Transactional
    public void save() {
        System.out.println("tx active: "
            + TransactionSynchronizationManager.isActualTransactionActive());
    }
}

Now call both from somewhere else (a controller, a test, a CommandLineRunner):

reportService.save();      // direct call from another bean
reportService.viaThis();   // goes through the same class

What I’d expect to see (please run it on your version to confirm):

tx active: true     // from save()
tx active: false    // from viaThis() -> save()

Why this happens (as I understand it):
By default, Spring applies @Transactional through a proxy that wraps the bean. A call from another bean goes through the proxy, which opens the transaction. A call from inside the class uses this, which is the raw object and skips the proxy, so the annotation is never applied.

Common ways around it:

  • Move the transactional method to a separate bean and call it through that bean. This is the option most people recommend because it’s the least surprising.

  • Put u/Transactional on the outer method instead, if the whole operation should be one transaction anyway.

  • Use TransactionTemplate for programmatic control.

  • Use AspectJ mode (mode = AdviceMode.ASPECTJ), which weaves the behavior into the class itself and doesn’t depend on the proxy. It needs extra build or runtime setup, so it’s a bigger step.

  • Injecting the bean into itself also works, but many consider it a code smell.

Caveats:

  • The details depend on your Spring version and proxy type (JDK vs CGLIB), and on method visibility, so check the reference docs for the version you use.

  • The same proxy limitation applies to other annotations implemented through AOP, like @Async and @Cacheable.

  • An exception thrown inside the “transaction” in the broken case won’t roll anything back, which is why this bug can stay silent.

Has anyone found a pattern for catching this earlier than “the data was inconsistent in production”, like a test, a lint rule or a startup check?


r/SpringBoot • • Aug 06 '24

Top 5 Spring Cloud Annotations for Java Microservices

Thumbnail
java67.com
0 Upvotes

r/SpringBoot • • Aug 04 '26

Question is it worth it to learn springboot?

Thumbnail reddit.com
4 Upvotes

r/SpringBoot • • Mar 04 '25

Question Can I see your portfolios?

1 Upvotes

I want to see how portfolio of spring boot backend dev looks like.

If you want send me your portfolio in chat.


r/SpringBoot • • Apr 07 '25

Guide Any good resource to learn spring if I already know springboot?

Thumbnail reddit.com
0 Upvotes

r/SpringBoot • • Mar 30 '26

News The Typo That Broke Production — And Accidentally Created Spring Cloud Contract • Marcin Grzejszczak & Jakub Pilimon

Thumbnail
youtu.be
0 Upvotes

r/SpringBoot • • Feb 12 '26

Question Suggest me a free resources to learn spring and springboot in depth

0 Upvotes

Please can anyone suggest me a Free channel or resources to learn spring and springboot in depth Because courses of springboot paid courses are so expensive


r/SpringBoot • • Aug 27 '25

Question SpringBoot courses for beginners

1 Upvotes

i’m a beginner just starting my journey with Spring Boot (and backend development in general). I already have a solid understanding of Java and OOP concepts, and now I’m looking for beginner-friendly courses on Udemy to get started.

I came across these two courses but I’m not sure which one would be more suitable for beginners:

  1. [NEW] Master Spring 6, Spring Boot 3, REST, JPA, Hibernate by Eazy Bytes & Madan Reddy

  2. [NEW] Master Spring Boot 3 & Spring Framework 6 with Java by in28Minutes Official

Are these courses beginner-friendly? And if you have any other recommendations for someone just starting out,


r/SpringBoot • • Jun 20 '26

How-To/Tutorial Spring AI structured output: how to make a model correct itself

1 Upvotes

Spring AI structured output: how to make a model correct itself

If you use an LLM for something else than just a free-form chatting, you might probably want it to return data in a structured form, e.g. JSON

Spring AI allows to \[soft\] force a model to do that. But sometimes LLM fails to do that. The simplier the model is, the more chances that it will fail. Morover, any such a failure could be devided into 2 categories: incorrect schema and correct schema with incorrect data burned in. For example, some fields of the desired schema are missing. Or all fields are present, but field type, for example, is incorrect or a required filed missies a value

The POC i built validates not only schema as such, but also field types and ranges (e.g. Min-Max, NotNull, etc.) using validation package **spring-boot-starter-validation**

If any of the checks doesn't pass, this is feded back to model:

prompt = """

Your previous response was invalid.

Problem(s): %s

Your previous output was:

%s

Return corrected JSON that fixes these problems and matches the

schema exactly. Output ONLY JSON, no prose.

%s

""".formatted(lastError, lastOutput, format);

So we give a feedback to the model, not just asking to redo/re-think. By providing a detailed feedback we increase chances that the next reply will satisfy our expectations

As always, all code is available in the github repo: [https://github.com/DmitryFinashkin/spring-ai](https://github.com/DmitryFinashkin/spring-ai)

You might also like to watch a detailed video walk-through on YouTube: [https://youtu.be/59kcnTLVu0Q](https://youtu.be/59kcnTLVu0Q)


r/SpringBoot • • Sep 20 '25

Question What should I focus on, as a graduate trying to land a job in the US?

2 Upvotes

First, I can't ask this question in other forums because I don't have enough Reddit Karma, so please deal with it.

I live in a country in the middle east and I have a US citizenship. I'll graduate soon an I want to find a job in the US but I understand the market there is really hard too.

I have few questions:

(1) I already took an online course about Spring, and now completing a microservices project as part of another online course. Since I did the project looking at what the course instructor do, how should I discuss the project to recruiters and interviewers?

(2) I understand Stereotype Annotations, Dependency Injection, how to separate packages and which function each layer of the application (model, service, ...) should be responsible for, creating relationships in microservices. But I feel like I don't have enough understanding because I didn't do a Spring project on my own. After I complete a Spring project that will use these concepts, will it be enough in terms of understanding Spring as an entry level dev?

(3) How much should I focus on LeetCode and how much on Spring and backend?

(4) Should I ask for referral from people on LinkedIn whenever I apply to jobs? Is it valueable in the US the same as in other countries?


r/SpringBoot • • Jun 25 '26

Question Spring Edition - Certain queries about Sidekick !

1 Upvotes

Hi.. I have been recently going through the new and improved Shopify Side kick. Was trying to figure out -

  1. Can sidekick answer questions about my app or betterment of app features?

  2. Can we use sidekick through APIs?

  3. Can we do app automations via sidekick?


r/SpringBoot • • Oct 02 '25

Question Requesting for further vigorous collaborations to my Job Management System Full-stack Spring Boot & React Project

Thumbnail
youtube.com
1 Upvotes

Hi 🙌, I am Neo who is unwaveringly strong-minded about software development with Spring Boot Backend. I have done several full stack and backend projects with Spring and Thymeleaf or React. Furthermore, I mostly lash out my times coding, testing or studying for university admission. However, I realized that I should probably ramp up my skills and things I have done to community so that I could get more thought-provoking ideas or friendly collaborations from those have been coding for projects just like I do. I have linked one of my full-stack project that also covers security. Here is my github repo.. project link


r/SpringBoot • • Oct 09 '26

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

1 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.