r/SpringBoot • • Aug 05 '25

Question Is it feasible to get internships as a java spring boot developer?

29 Upvotes

There are lot of internship posted on job boards that require node, express and react but i haven't come across internships which asks for spring boot. Is it hard for a fresher to get jobs/internships with java/spring?


r/SpringBoot • • Jul 01 '25

Question Using different DTOs for registering and updating a user, what is the right way? and for other methods that receive different amounts of fields.

29 Upvotes

I'm making an API applying the S.O.L.I.D principles and layer pattern, and I have doubts regarding the DTOs, should I use a different DTO to save a user and another to update a user, since they receive a different number of fields? My field validations are in the DTOs, my registration DTO receives the complete entity, and the update DTO only receives some fields to prevent unique fields. What would be the right path to follow?


r/SpringBoot • • May 15 '25

Guide Open source Spring Boot backend application

29 Upvotes

Hey all, some time ago I built backend with modern Spring Boot (3.3.5) for Innovation Graph from GitHub.

I've noticed that people frequently ask here about modern codebase for Spring Boot, so I decided to post my toy project here, perhaps it will help someone.

Innovation Graph's data is open sourced, but performance for graphs themselves on their website measured in thousands of milliseconds. I optimized it down to 6ms under certain conditions, and down to 50ms for majority of requests. We are talking about 100x speed up, up to 1000x in cached cases. It also uses parallelism for data uploads where I compared different methods we have with Spring Boot and plain Java. You can find results here in this section of documentation.

It is simple Spring Boot application with domain-per-feature design with focus on performance. You can read more about performance here in the readme.

Enjoy the repository and I'm here to reply questions if you have some šŸ‘‹


r/SpringBoot • • May 14 '25

Discussion Reliable Spring Boot Integration Testing with Testcontainers

29 Upvotes

I wrote a very basic practical guide on how to use Testcontainers with Spring Boot for reliable integration testing — including PostgreSQL and Kafka setups.
Covers pain points with traditional tests and how to avoid them using Docker containers in test code.

šŸ“ Blog link: https://medium.com/@mrayandutta/reliable-spring-boot-integration-testing-with-testcontainers-2aaf2556c53e

Would love feedback or to hear how others are using Testcontainers in production.


r/SpringBoot • • Mar 15 '25

Question Where do I host a Spring Boot backend?

29 Upvotes

So I'm trying to host my api for my saas, but I don't know where to host it. I was originally thinking of Heroku but they removed their free tier. What are some other options I can host it from?


r/SpringBoot • • Mar 03 '25

Discussion Using DTO in Spring Boot

29 Upvotes

Hi everyone, I am currently learning Spring Boot by creating a CRUD project and need some guidance.

I have created two DTOs—one for requests (RequestDTO) and another for responses (ResponseDTO).

For example, in a GET request by ID, I pass the ID in the URL, then store it in a RequestDtO id in controller layer and then send it to the service layer.

My doubt is about POST and PUT requests. When sending a full JSON request body, should I first store the request data in a DTO (RequestDTO) in controller layer and then pass it to the service layer? Or should I send the JSON directly to the service layer and convert it into an entity there before saving it in the repository?

Just wanted to let us know what is the standard approach in these s scenario.


r/SpringBoot • • Feb 27 '25

Question Stuck in Repetitive Java Spring Boot Work – Need Job Switch Advice

29 Upvotes

I have 1.9 years of experience as a Java developer working with Spring Boot, but I feel stuck doing the same repetitive tasks without much learning. There’s no real skill growth, and I don’t see any challenging work ahead.

I want to switch to a better role but need some guidance. What skills should I focus on apart from Java and Spring Boot? Should I invest time in DSA, System Design, Microservices, or Cloud? Also, what’s the best way to prepare for interviews—should I focus more on LeetCode, projects, or system design?

Since my work has been mostly repetitive, how can I present my experience in a way that stands out on my resume?


r/SpringBoot • • Jan 30 '25

Guide Java, Spring Boot evergreen tech but no opportunities for freshers

29 Upvotes

Hi, I am passout of 2023 class with Electrical Engineering degree. I wanted to make a career in the tech. And started to learn Java, Spring Boot from 2024, after I didn't get qualified in gate ee. I am looking for opportunities and its been over a year. And still no one gives a positive reply for my 100s jobs applications every month.

Ps I can build java full stack applications using Spring Boot and React. I can dm my portfolio if you are interested in hiring or know someone.


r/SpringBoot • • Dec 31 '24

Problems I no longer have by using Server-side rendering

29 Upvotes

In this blog post, I compare developing a web application with Spring Boot and a template engine (Thymeleaf for example) with doing so using a Single Page Application framework (React, Angular, ..). I list the problems that you need to solve with an SPA in many cases simple do not exist at all if you use Server-side rendering.

https://www.wimdeblauwe.com/blog/2024/12/31/problems-i-no-longer-have-by-using-server-side-rendering/


r/SpringBoot • • Aug 16 '24

Roadmap for learning micro services with Springboot ?

29 Upvotes

Hi all,

I’m a React and Node.js developer looking to transition into microservices using Spring Boot. Could anyone suggest a roadmap or key resources to get started?

I'm especially interested in best practices, integration tips, and any recommended hands-on projects Thanks


r/SpringBoot • • Jan 09 '24

The ULTIMATE Spring Boot course | 8 HOURS Course

29 Upvotes

r/SpringBoot • • Oct 18 '22

Is there a website similar to LeetCode with some Spring challenges?

29 Upvotes

Hi folks,

I have been in a process with a company and the next week I will face the final interview with a client from the healthcare sector.

The recruiter told me that this final round would consist of two and a half hours of interview with three candidates, they will give us a "task" (I really do not know what they mean about the task) and we will have an hour to complete it. I have never had something like this in my career, a technical group interview sounds pretty weird to me and I do not know how I can prepare for this interview.

I was wondering if there is any website that can assign me some Spring challenges that allow me to feel more comfortable making the "task". I am also doing leet code to practice my algorithm and data structures knowledge.

This position is for a Middle fuck stack software engineer (Java + React)

Please tell me anything that could be on top of your mind, I really appreciate it. Thanks!


r/SpringBoot • • Sep 08 '26

Discussion Improving First Request Latency in Java Spring Application

Thumbnail adrian.md
28 Upvotes

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

Question Spring Boot Resources

28 Upvotes

I'm currently upskilling in Java Spring Boot and focusing on backend development. I would love to hear any recommendations for high-quality resources or effective learning strategies to master this stack.


r/SpringBoot • • Mar 01 '26

Discussion E-commerce with Spring Boot

28 Upvotes

Hello everyone, I hope you're all doing well. I'm writing to ask for your support for this project I'm sharing here. Whether it's by submitting an issue, a PR, or giving a star, this is my first big project. Thank you all!

https://github.com/MiguelAntonioRS/Ecommerce-with-Spring


r/SpringBoot • • Feb 06 '26

Discussion [Showoff] I built a Maven plugin that makes using Tailwind CSS 4 in Java/Spring Boot super easy. No Node.js or npm required!

28 Upvotes

Hi everyone!

As a Java developer, I’ve always found it a bit annoying to have to manage a full Node.js environment just to get Tailwind CSS working in my Spring Boot projects. It feels like adding unnecessary complexity to the build pipeline.

That’s why I decided to build the maven-tailwind-plugin.

šŸš€ What it does:

It allows you to compile Tailwind CSS v4 directly within your Maven lifecycle. The best part? It requires zero Node.js/npm dependencies on your machine. It uses the standalone Tailwind binary.

✨ Key Features:

  • No Node.js/npm required: It downloads and caches the official binary automatically.

  • Tailwind CSS 4 Support: Ready for the latest version of Tailwind.

  • Watch Mode: Just run mvn tailwind:watch and it will recompile your CSS as you save your HTML files.

  • Optimized for Production: Automatic minification during the build process.

  • Easy Setup: Just add a few lines to your pom.xml and you are good to go.

šŸ›  Quick Start:

  1. Add the plugin to your pom.xml.

  2. Run mvn tailwind:init to generate your input.css.

  3. Use mvn spring-boot:run and your styles will be there!

I’ve been using it for a while and it has made my workflow much cleaner. I’d love to hear your thoughts, get some feedback, or even some help with testing on different environments!

GitHub Repository: https://github.com/4ndreiDev/maven-tailwind-plugin

Happy coding!


r/SpringBoot • • Dec 13 '25

Question How Constructor Injection Works

28 Upvotes

If possible, can you explain deeply how constructor injection works behind the scenes what exactly happens internally when the dependencies are created and injected and for what reasons constructor injection is generally preferred over field injection?


r/SpringBoot • • Nov 09 '25

Discussion How we centralise the log handling in spring boot ?

28 Upvotes

I have seen many backend application (especially spring boot), they kind of follows different approaches for their logging practices for logging http request and responses.

Some of follow basic filter/interceptor based approach while few uses AOP, while few application i have seen where they simply use Slf4j and simply logs the request and response.

Can someone help me figuring out what appoarch is the best for follow while building the spring boot application ? What are the pros-cons of using each of them ? Also if would be very nice if I have some implementation articles or the same.

I wanted to understand, how do you implement/organise logging in your spring application.

For example - we mostly need to log all the request / response that comes in and goes out from our application. One way is that we need to adding logger in our controller for request and response. But this is not the good way of doing it, since we we re-writing the loggers in every controller method.

so to avoid such cases how do you structure your spring application.


r/SpringBoot • • Oct 30 '25

Question Spring Boot has it all?

28 Upvotes

Hey people,

I'm a software engineer, used many frameworks, built stuff from basic API's, data heavy dashboard to electrical engineering simulations.
I heard many great things about Spring Boot and I'm on the verge of ditching everything and diving deep into it for months.

  • Before I do i'd love to hear your opinions on it for use cases that I really care about:

  • How easy it is to deploy to VPS server?

  • Does it have good battery included solutions (Queues, Schedulers, RBAC, etc...)?

  • Does it have well supported packages? For example: Admin UI like (flask admin) or Filament from Laravel

  • Is it easy to Dockerize? I love using Docker and deploy `docker-compose.yml` files of my app to a VPS

  • Is it also a great choice for serving templates like Jinja2 or maybe IntertiaJS and React?

I'd really appreciate hearing your opinions on this


r/SpringBoot • • Oct 20 '25

Discussion Getting Underwhelmed Every Time I Try to Learn Spring Boot

28 Upvotes

Hey all, I have been working in Java for the past 3 years. just pure Java without any frameworks (because that's how it's done at my company). So i never got a chance to learn Spring Boot.

Recently, I realized how behind i am without it. Whenever I think about switching jobs, I see that almost every company is asking for Spring Boot experience. Unless you're aiming for FAANG-level companies (where problem solving matters more), not having Spring Boot on your resume means automatic rejection. sometimes not even getting past the resume screening stage.

Now, here’s where I’m stuck. I’ve been trying to find the best way to start learning Spring Boot, but I keep getting overwhelmed. The topics are huge and I don't know what topics to focus on for interviews. There’s Spring IoC, MVC, JPA, annotations and way more.

Every time I look up tutorials, it's even more confusing. One video labeled ā€œSpring Boot for Beginnersā€ jumps straight into Spring Security and IoC. Another one teaches MVC and Gateway. There’s no consistency and it’s hard to know what the actual fundamentals are. It’s gotten to the point where I just stop trying because I don’t know where to begin.

I searched this subreddit, and saw a lot of people recommending books, but honestly, I’m not a book person. I learn better through videos and practical examples. I just want a proper, beginner-friendly Spring Boot learning path that will get me interview-ready.

Has anyone here learned Spring Boot recently or has industry experience? Can you please suggest

What core topics I should learn first Any good video-based resources that worked for you? Would really appreciate any help. TIA


r/SpringBoot • • Sep 04 '25

Question Validating Controller or Service Layer

28 Upvotes

Hi guys I'm coding an spring project and I setup to validate a request using Valid annotation in controller layer with Min, Max, NotNull, but some rules like unique or having bussiness logic like an user fetch from user_id in request must exist in db, Do I need to validate in controller layer or service layer


r/SpringBoot • • Jun 26 '25

Guide Need help - java backend

28 Upvotes

Hello guys, I have been on a career break for 3 years due to childcare responsibilities. Before the break I was working on java software development but they were legacy softwares and I wasn't using latest technologies. I have been studying and familiarising myself with various tools and technologies. I need your help to check and see if I need to learn any other tools and technologies to become a successful Java backend developer. I have learnt Java basics and latest features like streams, functional interfaces etc,springboot, spring MVC, spring data JPA, hibernate and familiarised myself with docker, basics of microservices, rest api, spring security, jwt , oauth2, postgresql,AWS, and surface level knowledge of kubernetes. Am I missing anything important? I am going to start attending interviews soon and I really need your help here.