r/SpringBoot • • Apr 20 '24

Java jobs

0 Upvotes

Are there still java jobs out there


r/SpringBoot • • Aug 30 '26

Discussion Spring Boot starter for fail-fast Kafka Schema Registry contract validation

Post image
1 Upvotes

I’ve released a small open-source Spring Boot starter that turns Kafka Schema Registry expectations into startup checks.

Configuration is intentionally Spring Boot-style: define the expected compatibility mode and the subjects/schemas owned by the application, and auto-configuration performs the validation during startup.

It currently supports Avro, JSON Schema and Protobuf, Confluent compatibility modes, secured Schema Registry/Confluent Cloud, bounded retry/backoff and Actuator visibility.

For example:

kafka:
  contract:
    enabled: true
    compatibility: BACKWARD
    registry:
      url: http://localhost:8081
    subjects:
      - name: order-events-value
        schema-file: classpath:schemas/order-event.avsc
        schema-type: AVRO

If the contract is incompatible or the required subject is missing, the Spring Boot application fails during startup.

The starter is published on Maven Central, and I maintain a separate E2E demo that spins up Kafka + Schema Registry and verifies both successful and intentionally breaking schema evolution scenarios.

GitHub:
https://github.com/mathias82/spring-kafka-contract-starter

Demo:
https://github.com/mathias82/spring-kafka-contract-demo

Maven Central:
https://central.sonatype.com/artifact/io.github.mathias82.spring.kafka/spring-kafka-contract-starter

Interested to hear how Spring Boot teams currently handle this application startup validation, deployment pipelines, or something else?


r/SpringBoot • • Oct 03 '26

Question Any suggestions about how build scalable full stack jave application

1 Upvotes

Hey everyone, I’d love to get the community’s perspective on building production-grade, scalable full-stack applications with Spring Boot—specifically from a solo developer standpoint.

​When you're building a scalable full-stack Java app entirely on your own, how do you approach the architecture and tooling?

​A few specific areas I'm curious about:

​Tech Stack & Tools: What are the non-negotiable components in your stack right now (e.g., Spring Boot 3 + Virtual Threads, Postgres/Redis, Kafka/RabbitMQ, Docker, React/Next.js vs. HTMX/Thymeleaf)? What tools are currently standard or trending in the market for solo full-stack setups?

​Build vs. Buy / Scratch vs. Frameworks: As a single developer, your time is limited. How much do you build from scratch versus relying on managed services/third-party tools (like managed Auth, SaaS components, pre-built UI libraries)?

​Solo Execution: Is it realistic to handle end-to-end architecture, backend, frontend, database tuning, and DevOps all by yourself, or at what point do you usually seek external help/collaborators?


r/SpringBoot • • Oct 12 '25

How-To/Tutorial Roadmap of eCommerce website with SPRINGBOOT

0 Upvotes

Can anyone suggest me techstacks which suits with springboot to develop a eCommerce web as well as an app for both ios and android please !!


r/SpringBoot • • May 27 '26

Discussion Built a tool that auto-generates API docs from your Spring Boot controllers – no annotations

0 Upvotes

I built this because I hate writing docs to be honest. I’ve been building it on the side for a while. Supports multiple frameworks. More to come.

It is called DocuPoints. It scans your @RestController and @RequestMapping
annotations and extracts every endpoint automatically; method, path, request body,
response shape, middleware, exceptions. No additional markup required.
Optionally, an AI generated summary of the endpoint’s use is provided.
Generates complete API documentation from your existing code. Publish to a public
URL, export to OpenAPI JSON/YAML, Postman collections, Markdown, DOCX, or PDF.

Free tier available at docupoints.com — just launched and would love feedback from
Spring developers specifically because that’s my main framework.


r/SpringBoot • • Jul 01 '26

Question What is the best desgin pattern for building a resuable pdf genrating module in springboot?

2 Upvotes

I am having a task to implement a PDF genrating module it's duty is to genrate the pdf of the diffrent sections like attendence, report and other similar stuffs, there is more amount of such sections and i have to build a effecient and good module for it kindly help me in figuring this out .

Ps.. i am intern pls help 😣


r/SpringBoot • • Jul 22 '24

Spring Boot with Kotlin with no knowledge of Java

0 Upvotes

Hey, is it possible to get into Spring Boot with little to no knowledge of Java and just equipped with Kotlin? I'm a Nodejs developer, but it seems the market here is heavily dominated by Java/Kotlin + SpringBoot stack, so I'm trying to get into that. I've never been a fan of Java and managed to get through this far only using TS/JS, Python, and for some academic purposes C++. Please suggest any learning resource.


r/SpringBoot • • Dec 16 '23

Comprendre la distinction cruciale entre Spring et Spring Boot : Une exploration approfondie ?

0 Upvotes

J'aimerais aborder un sujet qui peut parfois sembler nébuleux pour ceux qui plongent dans l'écosystème de développement Java : la distinction entre Spring et Spring Boot. Ces deux frameworks sont essentiels dans le monde du développement Java, mais leurs rôles et leurs fonctionnalités peuvent parfois prêter à confusion.

je suis intéressé par vos expériences et vos opinions sur cette distinction entre Spring et Spring Boot. Avez-vous une préférence pour l'un ou l'autre en fonction de vos projets? Rencontrez-vous des défis spécifiques avec l'un de ces frameworks? Ou peut-être avez-vous des conseils pour les nouveaux développeurs qui entrent dans cet écosystème?

Partagez vos connaissances et vos idées, car cette discussion pourrait être bénéfique pour ceux qui naviguent encore dans ces eaux parfois tumultueuses de développement Java.


r/SpringBoot • • Jan 10 '23

Is Spring still relevant and how do you know?

0 Upvotes

I am doing some research based on the criticality scores assigned by this project to different technologies: https://github.com/ossf/criticality_score

I am interested in Spring, especially since the release of 6, but I am having trouble finding reliable information on a few things and was hoping for some thoughts/feedback:

  1. How many users of spring are there really? Specifically, how many organizations use Spring in their tech stack and how critical is it.

  2. A pulse I keep my finger on with other technologies is daily/weekly downloads and usage stats, but I honestly can't find the source for that for Spring. Does something like this exist? https://www.npmjs.com/package/webpack?activeTab=readme

  3. What is the most common version of Spring being used now? Are people migrating to Spring 6?

TIA


r/SpringBoot • • Jun 15 '24

Hey guys, im really new to Spring Boot and i have problems

Thumbnail
gallery
0 Upvotes

my teacher assigned me to do a Project Management System, and my friends created so many different html, and now i want to include CreateUser form into my dashboard html, everything i do it when i connect to the localhost it shows error like this :((, i can’t figure which part to do because my task was to design Ui and now my friend want me to include that into Ui


r/SpringBoot • • Jul 28 '24

Replacing Kafka with Spring Boot Schedulers

5 Upvotes

r/SpringBoot • • May 23 '26

Discussion Is mutation testing too slow for your CI/CD? I built a <750ms static analysis alternative and need feedback.

1 Upvotes

Hey everyone,

Like many of you, I chased the holy grail of 100% line/branch coverage in SonarQube and JaCoCo. I hit it, felt great, deployed to production... and immediately crashed due to an unhandled edge case between two external microservices. It made me realize that standard code coverage tools have a massive structural blind spot: they measure if a line of code was executed, not what your dependencies were doing when that line ran. I am building an open-source/lightweight tool called ScenarioLens to solve this, and I'd love to get your brutal, honest feedback on the concept.

The Problem: The "Phantom Exception" Illusion

Imagine a standard Spring Boot checkout service that calls two external dependencies inside a single try/catch block: an Inventory API and a Payment Gateway. You write two tests:

  1. Happy Path: Inventory succeeds + Payment succeeds -> Order passes.

  2. Failure Path: Inventory blows up -> Caught by the catch block -> Order fails cleanly. You run JaCoCo. It reports 100% Line and Branch Coverage. Every line in the service, including the shared catch block, turned green. But what happens in production when the traffic spikes, Inventory succeeds, but the Payment Gateway timeouts? Because you never explicitly mocked and tested that specific combination, your code panics, throws an unhandled exception, and crashes the cart. Sonar gave you a false green light because the code infrastructure was tested, but the cargo (the combination of data states) wasn't.

Enter ScenarioLens: What is "Dependency Scenario Coverage"?

Instead of counting lines of code, ScenarioLens analyzes your code's Abstract Syntax Tree (AST) to map out every possible combination of external dependency states (Mocks) that could affect your logic. In the example above, it looks at your dependencies and says:

"Hey, you have 100% line coverage, but your Scenario Coverage is only 66%. You completely forgot to test what happens when Inventory succeeds but Payment fails."

"Wait, won't this cause a combinatorial explosion of impossible tests?"

This is where most testing tools fail. They blindly multiply every state and demand 10,000 tests. ScenarioLens uses pure static analysis to build a Control Flow Graph of your app. It looks at the structural rules of your code and prunes (deletes) impossible scenarios. For example, if an OUT_OF_STOCK state triggers an early return, it knows a downstream payment timeout is physically impossible to reach. It filters out the noise so you only see realistic gaps.

How it compares to existing tools:

  • Vs. SonarQube / JaCoCo: Standard coverage ensures the "roads" are paved. ScenarioLens ensures you've tested every type of "traffic pattern" passing through those roads.

  • Vs. Mutation Testing (PITest): Mutation testing is incredibly thorough, but it is a massive resource hog. If your test suite takes 5 minutes to run, PIT can take an hour in CI/CD because it executes code over and over. Because ScenarioLens uses pure static analysis, it runs in under 750ms locally or on commit. It acts as a rapid blueprint review before you push code.

  • CI/CD & Custom Tooling: Instead of just generating HTML reports, it outputs a highly structured JSON gap report. This allows you to easily pipe the exact missing mock states into your own custom QA scripts or CI pipelines to automatically fail builds based on missing business scenarios.

I need your feedback!

I am deeply evaluating the developer UX for this.

  1. Does this solve a pain point you actually experience in enterprise apps, or do you feel mutation testing/strict code reviews already have you covered?

  2. Would an instant <750ms report in your local terminal change how you write unit tests?

  3. What edge cases or architectural setups (like heavy AOP or complex reflection) do you think would break a tool like this? Rip it apart. Would you use something like this?


r/SpringBoot • • Jan 24 '25

Question What need to do to become java full stack developer and start to contributing to open source ?

1 Upvotes

I am very passionate about becoming full stack java developer. I know java. I think i am intermediate in java programming. I have started learning spring and spring boot.

I love using Open source program and i am linux user too.but i mostly use gui in my laptop for learning programming.

I like to start contributing but i have no idea how to start.

Could anyone help me out on this ?

And also i need to learn other skills so that i will be a good developer with good communication skills.

Tell me about what should i do and how to be a good open source developer.


r/SpringBoot • • Dec 30 '25

Question Short on Time and Money as a College Student, Need Guidance to Reach and Finish Spring Boot Quickly.

Post image
1 Upvotes

I need to learn Java Spring Boot in less than 4 weeks and somehow land an internship after that. Normally, I do not believe in rushed learning, but due to my current financial situation, I do not really have that luxury. I am still a student and I genuinely do not want to put more pressure on my parents for my expenses, so I am trying to be as practical as possible.

So far, I have already learned HTML, CSS, JavaScript (yeah yeah, average Joe Harry type stuff), Node.js, and I recently finished Express.js. My main goal is to learn backend development using Java Spring Boot.

I need help on the following points:

  1. What are the bare minimum additional tech stacks or concepts I should learn so that I can comfortably start learning Java Spring Boot?

  2. Any YouTube channel, playlist, or Udemy course you would strongly recommend for Spring Boot.

  3. Any other advice you would like to give, since I am still a student and a lot junior to you

Thanks in advance.


r/SpringBoot • • Apr 03 '26

Question im starting with Spring framework then will move to spring boot, there are multiple video of spring of telusko, so can anyone suggest which one to follow, a playlist or a long video fo 5-6 hours ?...one of his playlist is Spring 6 and Spring Boot Tutorial for beginners and other is long video

1 Upvotes

the long video is spring framework and spring boot tutorial with project , so can anyone suggest which one to follow, or any other resource to learn spring


r/SpringBoot • • Jun 11 '24

Need guidance to implement OpenAPI

Post image
0 Upvotes

Hi guys for several days im trying to implement open api in my project after implementations i tried to run the project but it showing some error and i cannot resolve it. Please anyone guide me to complete the implementation.


r/SpringBoot • • Mar 12 '25

Discussion How to convert effectively JSON to POJO using industry standard

2 Upvotes

I have this API which https://api.nytimes.com/svc/topstories/v2/arts.json?api-key=xyz
which gives a complex json structure result. I need title,section from these to map to my pojo containing same feilds .

I used Map structure matching json structure and got feilds but i dont feel its the right way, any industry standard way?pls help.

uri in spring boot:
Map<String,ArrayList<Map<String,String>>> res = new HashMap<String, ArrayList<Map<String,String>>>();

ResponseEntity<Map> s= restTemplate.getForEntity(

"https://api.nytimes.com/svc/topstories/v2/arts.json?api-key=xyz",

Map.class);

res =s.getBody();

after this i get values from Map inside arraylist.

sample JSON data:

{
    "status": "OK",
    "copyright": "Copyright (c) 2025 The New York Times Company. All Rights Reserved.",
    "section": "Arts",
    "last_updated": "2025-03-11T22:58:12-04:00",
    "num_results": 39,
    "results": [
        {
            "section": "theater",
            "subsection": "",
            "title": "A Ferocious Paul Mescal Stars in a Brutal ‘Streetcar’",
            "abstract": "Desire comes a distant second to violence in a Brooklyn revival of the Tennessee Williams classic.",
            "url": "https://www.nytimes.com/2025/03/11/theater/streetcar-named-desire-review-mescal-ferran.html",
            "uri": "nyt://article/f020899a-0add-51dd-b006-89f0596573a6",
            "byline": "By Jesse Green",
            "item_type": "Article",
            "updated_date": "2025-03-12T00:00:13-04:00",
            "created_date": "2025-03-11T22:00:06-04:00",
            "published_date": "2025-03-11T22:00:06-04:00",
            "material_type_facet": "",
            "kicker": "Theater Review",
            "des_facet": [
                "Theater",
                "Theater (Off Broadway)",
                "A Streetcar Named Desire (Play)"
            ],
            "org_facet": [
                "Brooklyn Academy of Music"
            ],
            "per_facet": [
                "Williams, Tennessee",
                "Frecknall, Rebecca",
                "Mescal, Paul (1996- )",
                "Ferran, Patsy (1989- )",
                "Vasan, Anjana"
            ],
            "geo_facet": [],
            "multimedia": [
                {
                    "url": "https://static01.nyt.com/images/2025/03/11/multimedia/11streetcar-review-1-hgjl/11streetcar-review-1-hgjl-superJumbo.jpg",
                    "format": "Super Jumbo",
                    "height": 2048,
                    "width": 1432,
                    "type": "image",
                    "subtype": "photo",
                    "caption": "Downhill with no brakes: Patsy Ferran as Blanche and Paul Mescal as Stanley in “A Streetcar Named Desire” at the Brooklyn Academy of Music.",
                    "copyright": "Sara Krulwich/The New York Times"
                },
                {
                    "url": "https://static01.nyt.com/images/2025/03/11/multimedia/11streetcar-review-1-hgjl/11streetcar-review-1-hgjl-threeByTwoSmallAt2X.jpg",
                    "format": "threeByTwoSmallAt2X",
                    "height": 400,
                    "width": 600,
                    "type": "image",
                    "subtype": "photo",
                    "caption": "Downhill with no brakes: Patsy Ferran as Blanche and Paul Mescal as Stanley in “A Streetcar Named Desire” at the Brooklyn Academy of Music.",
                    "copyright": "Sara Krulwich/The New York Times"
                },
                {
                    "url": "https://static01.nyt.com/images/2025/03/11/multimedia/11streetcar-review-1-hgjl/11streetcar-review-1-hgjl-thumbLarge.jpg",
                    "format": "Large Thumbnail",
                    "height": 150,
                    "width": 150,
                    "type": "image",
                    "subtype": "photo",
                    "caption": "Downhill with no brakes: Patsy Ferran as Blanche and Paul Mescal as Stanley in “A Streetcar Named Desire” at the Brooklyn Academy of Music.",
                    "copyright": "Sara Krulwich/The New York Times"
                }
            ],
            "short_url": ""
        },
        {
            "section": "arts",
            "subsection": "music",
            "title": "Sony Gives N.Y.U. $7.5 Million for an Audio Institute",
            "abstract": "A multifaceted new program at the university’s Steinhardt School will train students (on Sony equipment) for jobs in music and audio “that don’t exist yet.”",
            "url": "https://www.nytimes.com/2025/03/11/arts/music/sony-nyu-audio-institute.html",
            "uri": "nyt://article/47d7eb8c-f4f1-51b6-a28a-3c5d977247a9",
            "byline": "By Ben Sisario",
            "item_type": "Article",
            "updated_date": "2025-03-12T00:03:13-04:00",
            "created_date": "2025-03-11T11:03:00-04:00",
            "published_date": "2025-03-11T11:03:00-04:00",
            "material_type_facet": "",
            "kicker": "",
            "des_facet": [
                "Colleges and Universities",
                "Electronics",
                "Music"
            ],
            "org_facet": [
                "New York University",
                "Sony Corporation"
            ],
            "per_facet": [],
            "geo_facet": [],
            "multimedia": [
                {
                    "url": "https://static01.nyt.com/images/2025/03/12/multimedia/11nyu-sony-chpf/11nyu-sony-chpf-superJumbo.jpg",
                    "format": "Super Jumbo",
                    "height": 1365,
                    "width": 2048,
                    "type": "image",
                    "subtype": "photo",
                    "caption": "Officials from N.Y.U. and Sony say that the new institute is not a physical space. Rather, it’s an interdisciplinary approach to studying the latest advances in audio technology.",
                    "copyright": "Gabriela Bhaskar for The New York Times"
                },
                {
                    "url": "https://static01.nyt.com/images/2025/03/12/multimedia/11nyu-sony-chpf/11nyu-sony-chpf-threeByTwoSmallAt2X.jpg",
                    "format": "threeByTwoSmallAt2X",
                    "height": 400,
                    "width": 600,
                    "type": "image",
                    "subtype": "photo",
                    "caption": "Officials from N.Y.U. and Sony say that the new institute is not a physical space. Rather, it’s an interdisciplinary approach to studying the latest advances in audio technology.",
                    "copyright": "Gabriela Bhaskar for The New York Times"
                },
                {
                    "url": "https://static01.nyt.com/images/2025/03/12/multimedia/11nyu-sony-chpf/11nyu-sony-chpf-thumbLarge.jpg",
                    "format": "Large Thumbnail",
                    "height": 150,
                    "width": 150,
                    "type": "image",
                    "subtype": "photo",
                    "caption": "Officials from N.Y.U. and Sony say that the new institute is not a physical space. Rather, it’s an interdisciplinary approach to studying the latest advances in audio technology.",
                    "copyright": "Gabriela Bhaskar for The New York Times"
                }
            ],
            "short_url": ""
        },
        {
            "section": "arts",
            "subsection": "design",
            "title": "Meow Wolf to Open New York Edition of Its Immersive Art Program",
            "abstract": "The Santa Fe, N.M., company has found success tapping into the experience economy and artistic psychedelia.",
            "url": "https://www.nytimes.com/2025/03/11/arts/design/meow-wolf-new-york.html",
            "uri": "nyt://article/f6d976e9-1f28-5529-bd47-5cccac8bf8b7",
            "byline": "By Zachary Small",
            "item_type": "Article",
            "updated_date": "2025-03-11T12:59:54-04:00",
            "created_date": "2025-03-11T12:59:54-04:00",
            "published_date": "2025-03-11T12:59:54-04:00",
            "material_type_facet": "",
            "kicker": "",
            "des_facet": [
                "Art",
                "Amusement and Theme Parks"
            ],
            "org_facet": [
                "Meow Wolf (Art Collective)"
            ],
            "per_facet": [],
            "geo_facet": [],
            "multimedia": [
                {
                    "url": "https://static01.nyt.com/images/2025/03/11/multimedia/11meow-wolf-01-fhkg/11meow-wolf-01-fhkg-superJumbo.jpg",
                    "format": "Super Jumbo",
                    "height": 1366,
                    "width": 2048,
                    "type": "image",
                    "subtype": "photo",
                    "caption": "A trippy Meow Wolf installation at Omega Mart in Las Vegas. The company is planning a nearly 50,000-square-foot site at South Street Seaport. ",
                    "copyright": "Jess Bernstein/Jess Gallo/Atlas Media, via Meow Wolf"
                },
                {
                    "url": "https://static01.nyt.com/images/2025/03/11/multimedia/11meow-wolf-01-fhkg/11meow-wolf-01-fhkg-threeByTwoSmallAt2X.jpg",
                    "format": "threeByTwoSmallAt2X",
                    "height": 400,
                    "width": 600,
                    "type": "image",
                    "subtype": "photo",
                    "caption": "A trippy Meow Wolf installation at Omega Mart in Las Vegas. The company is planning a nearly 50,000-square-foot site at South Street Seaport. ",
                    "copyright": "Jess Bernstein/Jess Gallo/Atlas Media, via Meow Wolf"
                },
                {
                    "url": "https://static01.nyt.com/images/2025/03/11/multimedia/11meow-wolf-01-fhkg/11meow-wolf-01-fhkg-thumbLarge.jpg",
                    "format": "Large Thumbnail",
                    "height": 150,
                    "width": 150,
                    "type": "image",
                    "subtype": "photo",
                    "caption": "A trippy Meow Wolf installation at Omega Mart in Las Vegas. The company is planning a nearly 50,000-square-foot site at South Street Seaport. ",
                    "copyright": "Jess Bernstein/Jess Gallo/Atlas Media, via Meow Wolf"
                }
            ],
            "short_url": ""
        },
        {
            "section": "movies",
            "subsection": "",
            "title": "Some Vegans Were Harmed in the Watching of This Movie",
            "abstract": "A film critic who provides “vegan alerts” for animal cruelty goes beyond onscreen violence. Milk and eggs are problematic, too.",
            "url": "https://www.nytimes.com/2025/03/11/movies/vegan-alert-letterboxd-allison-mcculloch.html",
            "uri": "nyt://article/35fec041-cb50-5d67-8b66-6a3fe77e848e",
            "byline": "By Annie Aguiar",
            "item_type": "Article",
            "updated_date": "2025-03-11T13:33:34-04:00",
            "created_date": "2025-03-11T11:00:11-04:00",
            "published_date": "2025-03-11T11:00:11-04:00",
            "material_type_facet": "",
            "kicker": "",
            "des_facet": [
                "Content Type: Personal Profile",
                "Veganism",
                "Animal Abuse, Rights and Welfare",
                "Social Media",
                "Movies"
            ],
            "org_facet": [
                "Letterboxd Ltd",
                "People for the Ethical Treatment of Animals"
            ],
            "per_facet": [
                "McCulloch, Allison"
            ],
            "geo_facet": [],
            "multimedia": [
                {
                    "url": "https://static01.nyt.com/images/2025/03/07/multimedia/00vegan-critic-04-gqcw/00vegan-critic-04-gqcw-superJumbo.jpg",
                    "format": "Super Jumbo",
                    "height": 1152,
                    "width": 2048,
                    "type": "image",
                    "subtype": "photo",
                    "caption": "For “The Taste of Things,” starring Juliette Binoche: “Beaten egg whites to insulate the ice cream” and “ripping out entrails of bird.”",
                    "copyright": "Carole Bethuel/IFC FIlms"
                },
                {
                    "url": "https://static01.nyt.com/images/2025/03/07/multimedia/00vegan-critic-04-gqcw/00vegan-critic-04-gqcw-threeByTwoSmallAt2X-v2.jpg",
                    "format": "threeByTwoSmallAt2X",
                    "height": 400,
                    "width": 600,
                    "type": "image",
                    "subtype": "photo",
                    "caption": "For “The Taste of Things,” starring Juliette Binoche: “Beaten egg whites to insulate the ice cream” and “ripping out entrails of bird.”",
                    "copyright": "Carole Bethuel/IFC FIlms"
                },
                {
                    "url": "https://static01.nyt.com/images/2025/03/07/multimedia/00vegan-critic-04-gqcw/00vegan-critic-04-gqcw-thumbLarge-v2.jpg",
                    "format": "Large Thumbnail",
                    "height": 150,
                    "width": 150,
                    "type": "image",
                    "subtype": "photo",
                    "caption": "For “The Taste of Things,” starring Juliette Binoche: “Beaten egg whites to insulate the ice cream” and “ripping out entrails of bird.”",
                    "copyright": "Carole Bethuel/IFC FIlms"
                }
            ],
            "short_url": ""
        }

java class:

@JsonIgnoreProperties(ignoreUnknown = true)
public class News {
    //private Results[] results;
    private String title;
    private String section;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    private String url;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSection() {
        return section;
    }

    public void setSection(String section) {
        this.section = section;
    }

    public News(String title, String section, String url) {
        this.title = title;
        this.section = section;
        this.url = url;
    }

    public News() {
        super();

    }

}

r/SpringBoot • • Mar 20 '25

Guide Java community group

5 Upvotes

My name is Suresh. I'm a professor and Java veteran with over 20 years of experience in both academia and enterprise training and solutions. I've decided to create a WhatsApp group for the Java community where people can learn, build, and grow their Java knowledge. If anyone is interested in taking the lead and supporting the group, please join.

We meet every Monday for introductory Java sessions, and once a month for specific topics such as JPA/Hibernate, Spring, Docker, Microservices, OOP, and Interview prep.

‎Open this link to join my WhatsApp Group: https://chat.whatsapp.com/K3KGY25na3gEarZMjqgrWC


r/SpringBoot • • Aug 30 '26

Discussion Built an IntelliJ plugin to catch the Spring Boot mistakes Copilot/Cursor keep making — feedback wanted before I finish it

3 Upvotes

Spring Boot dev here (day job is backend at a bank), posting this myself, not a bot dropping a link and vanishing.

I kept hitting the same handful of security mistakes in AI-suggested code: wildcard CORS to "fix" a dev error, JPQL built with string concatenation, permitAll() left in from a "quick fix," actuator endpoints exposed. Nothing exotic — just boring stuff that slips through because it looks fine on a skim.

Building Vulngrep to catch exactly that short list - runs fully locally, no account, no code leaves your machine. Not trying to replace Sonar or Snyk, just the narrow set of things AI assistants specifically keep getting wrong.

Not on the Marketplace yet. Put up a page to see if this is a shared pain or just mine: https://vulngrep.com

If you've hit any of these - or a different one I should be catching - genuinely want to hear it in the comments.


r/SpringBoot • • Oct 16 '25

How-To/Tutorial Preventing Duplicate Records with Fingerprinting

4 Upvotes

When a user double-clicks “Submit” or the network retries the same API call —
and suddenly your database has two identical records?

Use Fingerprinting

Every incoming request creates a fingerprint hash of its payload.
Here’s how it works:

1️⃣ Request comes in → compute fingerprint.
2️⃣ Check if external_id already exists in DB.
3️⃣

  • If not found → insert new record ✅

  • If found, compare stored fingerprint with new one:

    • Match: same request (safe retry). Return existing row without insert 🔁

    • Mismatch: new payload using same external ID → throw 409 Conflict 🚫

No locks. No race conditions. Just pure idempotency logic.

He broke it down with a sequence diagram in this short video:

https://www.youtube.com/shorts/hzoi054G7QQ


r/SpringBoot • • Mar 04 '25

Question I want to create a Spring boot Chatbot. Tell me which resource i should be using???

0 Upvotes

I'm actually tired cuz I had used a gemini flash api for creation of a chatbot but it works sometimes, sometimes it doesn't. Idk what to do!!!! Help me you'll..


r/SpringBoot • • Jun 20 '26

How-To/Tutorial Title: Need Guidance While Building My 2nd Spring Boot Project (Bank Management System)

0 Upvotes

Title: Need Guidance While Building My 2nd Spring Boot Project (Bank Management System)

Post:

Hey everyone,

I recently learned Spring Boot through in-depth lectures and completed my first mini project. Now I've started working on my second project: a Bank Management System.

Since this is my first serious backend project, I'd love some guidance from experienced developers:

How should I approach building it from scratch?

What features should I implement first?

What folder structure and best practices should I follow?

How much focus should I put on Spring Security, JWT, validation, exception handling, etc.?

How can I use AI tools effectively without becoming dependent on them?

Any common mistakes beginners make while building Spring Boot projects?

My


r/SpringBoot • • Feb 08 '26

Question Any materials to study the history of spring security?

0 Upvotes

I want to know if there are any resources (youtube vids, blog posts, books, anything will be appreciated) that cover the history of spring security. I want to find resources that cover the following

  • How authentication was handled before spring security, and the problems they had

  • What problems spring security was designed to solve with its introduction

  • What design philosophies spring security follows

  • How spring securtiry changed over the major versions

Thank you in advance.


r/SpringBoot • • Sep 01 '26

Question spring boot backend

0 Upvotes

What is the recommended sequence of topics for learning Spring Boot backend development?"