Skip to content

Latest commit

 

History

History
619 lines (460 loc) · 59.6 KB

File metadata and controls

619 lines (460 loc) · 59.6 KB

drawing

Let's learn about Spring Boot via these 152 free blog posts. They are ordered by HackerNoon reader engagement data. Visit the /Learn or LearnRepo.com to find the most read blog posts about any technology.

Spring Boot is an open-source Java-based framework used to create stand-alone, production-grade Spring applications with minimal configuration. It simplifies the development of robust and scalable enterprise-level software.

Spring Boot supports Postgres. Just add dependencies, create a database, connect to it, and create an entity, repository, and controller.

In this article, we will look at how to schedule tasks using the Quartz framework in Spring Boot. We will consider JobStore, and thread pools.

The article explains optimistic and pessimistic locking. We consider a Spring Data JPA application with concurrent transactional code as an example.

In this article, we'll learn about creating and using interceptors in Spring boot.

For Java developers, last, a couple of years has brought plentiful changes and posed a tough challenge with keeping up-to-date with new Java version every 6 months, and many release of popular frameworks like Spring 5, Spring Security 5, and Spring Boot 2 etc.

This article explains how to replace the default embedded Tomcat with Jetty or Undertow servers.

How WebFlux threading model works under the hood

Spring profiles are very useful concept in framework but there are some cothas to catch for mastering it. Article about how to survive in multi profile set-up.

A little backstory on how this started. My team needed to save some on money on the infrastructure we were requesting and since most of the load for the application we wanted to build would be on the client-side rather than the service side. We decided to see if we could combine a Spring Application with a React app and serve up a single war file.

A working example on how to use Spring Webflux to stream data from a REST API

We are going to build an e-commerce application using Java, Spring backend, build web UI in Vue.js, and mobile UI using android. Stay tuned!

This is the best way to implement an HTTP client in your Spring Boot microservice.

Authentication and authorization are two important concepts in security. This post will teach you how to secure your REST API endpoints with Spring Security.

Hello guys, I have awesome news to share with you. Pluralsight has announced that all their 7000+ expert-led courses are free for one-month, April 2020, to support people staying at home due to COVID-19.

In this article, I want to teach you how to connect Java Spring Boot 2 with Elasticsearch. We’ll learn how to create an API that’ll call Elasticsearch to produ

Since being forked from MySQL back in 2009, MariaDB has become one of the most popular databases of choice for developers over the past decade. While many technologists have likely gravitated to it as a solution due to its open source roots and that it's rooted in the relational database world, that really only begins to scratch the surface of what MariaDB has to offer.

It’s been around 6 months since we adopted Kotlin for our backend services at the company I currently work at. We’ve been migrating an existing java spring boot service to Kotlin.

Spring Batch is a powerful module of the Spring framework that provides out-of-the-box implementation for batch processing tasks.

According to Wikipedia, Software profiling is a form of dynamic program analysis that measures, for example, the space (memory) or time complexity of a program, the usage of particular instructions, or the frequency and duration of function calls.

Hello folks, Spring Boot is one of the top Java frameworks to learn in 2020, but as a full stack Java developer, just learning Spring Boot is not enough, you also need to learn all the technologies which make the eco-system like containers, could, testing spring Boot application, advanced Spring Boot features like Actuator, creating Microservices using Spring Boot, deploying Spring Boot applications on cloud platforms like AWS, Azure, and GCP.

How to move spring boot microservices cluster to kubernetes

GraphQL is revolutionising the way developers build APIs. It lets you query precisely what you want. Nothing more, nothing less! It also gives you the flexibility to query related objects in a single round trip, unlike the REST APIs.

Java Frameworks are the pre-written code body through which you are enabled to add your own code. There are numerous Java frameworks that have different leading features, on the basis of the same here, I will discuss Top 10 JAVA Frameworks For Web App Development 2020-2021. 

Having worked on a project for 6 months using GraphQL on the backend, I weigh up the technology’s fit into the development workflow

Today, microservices architecture is a common approach to building a system. In this article, I will show you how to build microservices using Java and Spring.

Versioning database changes is as important as versioning source code. By using a database migration tool we can safely manage how the database evolves, instead of running a bunch of non versioned loose SQL files. In some frameworks like Ruby On Rails, database versioning occurs along the development. But when it comes to Java world, I don't see it happening so often.

Learn the why, what, and how of creating custom annotations in spring boot and the different scenarios where you can and cannot use custom annotations.

This is an article with a comparative analysis of all popular ways to integrate with a database for Spring Boot applications.

How to dynamically exclude selected Spring Boot auto-configuration classes using profile groups.

How to create your custom annotation for request routing for Spring Boot? Custom BeanPostProcessor helps to parse and register target methods.

Improve logging in your microservices architecture to make tracking smoother with ELK Stack.

We use annotations to denote transactional behavior in modern Spring so we have no code, no failure, no debugging... But is it really?

Use env properties in spring boot to add the environment variables.

Keep up with the latest and best practices to build spring boot docker images.

Hibernate and the issue of duplicate entities, a well known problem. However do you know the origin of this behaviour? Let's dive under the hood of Hibernate!

There's a reason Java maintained popularity for such a long period of time. The language's conservative, slow and steady approach is the key to its success.

Whether or not you've been actively developing within one of the JVM languages or not, you've likely at least heard of the concept of reactive programming by now. If not, I certainly encourage you to do a little research into the whole idea of declarative programming using data streams.

Custom annotation-based authorization and headers propagation in Spring Boot

Open-Source Web UI for Apache Kafka

Learn about the critical role of authentication in cybersecurity and explore a comprehensive guide to securing web applications using Spring Security.

John Vester introduces a Vue.js client application to read data from Salesforce and process SSE-based events via SSE implementation.

Resilience4j: A Java library for building fault-tolerant applications with modules like Circuit Breaker, Rate Limiter, Retry, and Bulkhead.

Microservices are a part of cloud computing which will become more important over time. This is how to create microservices using Spring Boot for the process.

In this article we will learn about how to create docker or OCI complaint images without installing any docker client or using Dockerfile for our SpringBoot application. We will be doing all of this with help of Jib.

This article explores the implementation of multi-tenant authentication using Keycloak in a SaaS environment, specifically for an Angular and Spring Boot stack.

Microservices is an architectural style used for creating applications made of individual fine-grained services, which encourages functional decoupling, re-usability, and scalability. This is becoming increasingly popular compared to the monolithic applications we generally build. Monoliths generally lack the flexibility given by microservices in separating out functional components to have their own independent development teams, lifecycles, and deployment.

I chose Spring Cloud for the architecture of my Kotlin pet project and it was right. What conclusions have I drawn?

Part 1 of this series provides detailed description on GraphQL server and how to start setting it up using springboot, Schema Definition Language (SDL) and its types.

In this article, we will discuss some important 10 interview questions in Spring Boot. These the entire question is trending with building strong java career in the job market.

Introduction

A distributed architecture brings in several challenges when it comes to operability and monitoring. Here, one may be dealing with tens if not hundreds of microservices, each of which may or may not have been built by the same team.

Learn how to write fluent integration tests for modern web applications!

Explore how Camunda empowers chatbots to handle business conversations. Through BPMN, create conversation blueprints and use Camunda for a seamless workflow.

SpringAI and LangChain4j are redefining what’s possible for Java developers in the LLM era. This article compares them head-to-head across real code, architectu

Create a Spring Boot application, set up your server and configure Gitlab to build your app, run tests and automatically deploy it to your server

It's impossible to write OOP code with Spring. From its core it promotes the use of singletons and anemic data structures a.k.a. data "objects" a.k.a. DTO. This fuels procedural programming and kills OOP.

Spring Boot Java applications now with real-time unified messaging and streaming with Apache Pulsar

This article explores different caching strategies—such as in-memory, distributed, and hybrid approaches—for optimizing performance in microservices or monolith

Build a fully automated audit logging system in Spring Boot using AOP and JPA, capturing every REST API action without manual log statements.

URL shortener Java and Spring boot tutorial. A step-by-step guide that is easy to follow. This is a common interview task that should be understood by devs.

This guide aims to help you create from scratch a CRUD RESTful API with Spring Boot. We'll create a User entity and develop its endpoints accordingly with a Rest Controller and a Service class.

You can use a tool called Spring Initializr to generate the initial Spring Boot boilerplate code by accessing it through an online form.

A Saga is a sequence of local transactions.

One-Place Reference with Code Samples for Spring Boot Annotations.

Understanding the shared steps in the project setup is crucial before delving into the specifics of each client-augmenting technology.

Harness the power of word vectors and similarity searches to help discover data correlations with enterprise data to assist with a marketing campaign.

When you look at the advanced programming frameworks popular among developers, you will notice that Quarkus and Spring Boot hold prominent places.

A practical example of the gains and pitfalls in migrating existing Sprint Boot logic to Vert.x with considerations to the experience and process involved.

Spring/Boot REST API and Stereotype Annotations Reference for Learning and for Daily Development.

ORM frameworks like Hibernate and other JPA implementors can significantly simplify development of persistence layer. Introducing entity abstraction level helps to model clean business domain and to hide underlying SQL statements used to achieve persistence of the domain. Such approach is especially useful in large domains, since developer no longer needs to create and maintain all SQL statements used by application.

Explore the seamless world of advanced search services in Spring Boot with JPA Search Helper.

Learn Why And How To Use Relational Database Migrations. The way to initialize and update schema for relational databases with Java.

In this multi-part series, I'll transform a new application into a multi-tenant experience running in the Heroku ecosystem. This article focuses on the object model, design, architecture, and security.

Learn how to deploy a Spring Boot 2.7.18 application on GlassFish 4.1.2 using Java 8, with step-by-step instructions and tips.

Ways for Clean Shutdown of Spring Boot Applications, whether in Developer mode or in Production Mode. Code Samples are provided Inline and via Git Repo.

Dashkivsky Roman, 5 years in Java. An avid gamer. Successfully balances work and volunteering. How to implement simple task using WebSockets and not burn out

After paying an Uber, John Vester decided to dig into the Marqeta API used for payment processing. Hours later, he created a fully functional Payment Service.

Learn how to make your microservice calls resilient using the Circuit Breaker pattern with Resilience4j and Spring Boot

This article offers an approach to writing integration tests for Kafka-based applications that focuses on interaction specification, making tests more readable

Learn how to auto-generate production-ready REST APIs and type-safe SDKs from OpenAPI specs using Maven and OpenAPI Generator.

Spring AI is a lightweight, developer-friendly framework from the Spring team that bridges the gap between modern AI tools and the Spring Boot ecosystem.

Learn how to add DocRaptor to convert HTML to a PDF with advanced features, such as custom headers, footers, watermarks, and endless styling options.

The big release of Spring and official support for spring native resurfaced my thoughts on migrating to GraalVM native image. Is it SubstrateVM time?

Java spring boot developers tutorial- Tips to use partitioning strategies in your microservices application and use of various Deployment Patterns & Strategies.

Explore the journey of building gdocweb: a developer's insight into choosing Java 21, Spring Boot 3.x, and navigating tech stack challenges.

This setup forms the backbone of any enterprise API that needs to handle data efficiently while remaining scalable and maintainable.

Practical strategies for writing effective and maintainable integration tests in Spring, enhancing readability and efficiency.

Learn how to integrate FlywayDB to Spring boot application to help with adding database migration functionality to your Spring Boot project using Flyway.

This collection lists the best Java books. The books are listed in ascending order of the reader's level of training.

A performance comparison of Node.js (Express) and Spring Boot using a real-world URL shortener, across single and clustered deployments.

Stop replacing your monolith with a God service and start doing things better. Let John Vester show you how to get started.

In part 1 and part 2, the setting up and testing of GraphQL APIs was covered. In this article, the focus is on the querying of the graph DB, which is Neo4j in this case. For querying, the Neo4j OGM library and Spring Data’s Neo4jRepository will be used.

The current state of the Maven analyzer doesn't offer any benefit to modern Spring Boot projects.

Creating a springboot Project

Just because we do something one way, doesn’t always mean it is the right way … or even the best way.

Implement distributed tracing in Spring Boot without OpenTelemetry using custom trace IDs, async context propagation, and MDC‑based logs.

The thing with Java and Spring Boot is that it is slightly harder to learn them; once you have learned and spent some time with them, it is a breeze to use.

Explanation and Example of a Real-World Spring Boot and Docker Desktop based Deployment. Code Samples are provided Inline and via Git Repo.

Monitoring applications can easier said than done. What if I told you that it can be easier and it can be done? Let's try Grafana and Prometheus!

Step by Step guide on running a SpringBoot Application on Choreo

Time to market can make or break any idea or solution. Check out how quickly a RESTful API can be created by leveraging ChatGPT, Spring Boot, Gradle, and Heroku

A simplified example of an application that handles sensitive data leveraging Spring and Redis.

How to create spring boot application using Spring Initializr and creating spring boot rest api example

Let’s see what awaits our favorite Java language directly, and then — what awaits the IT-sphere.

Spring Boot is an easy to use web framework built on top of the framework Spring. Let's bootstrap an API using Spring Boot.

Can WebFlux be better than the tradition MVC? Why and why not? This is your test to clear that up!

Interested in using Salesforce with your own client application? Learn how to use Spring Boot to accomplish this need, caching data along the way.

In this article, we will learn how to dockerize a spring boot 3 application.

Kafka integration testing with Testcontainers and Spring Boot 3.1, ensuring test isolation and full message access for reliable and efficient tests.

Learn to configure a robust database in a Spring Boot app on Choreo, from development to deployment, ensuring a seamless and secure transition.

Spring-based suites are utilized to build a log anomaly detection system. This is a three-part series, with the foundation components covered in the first part.

Let's compare the different zero-code OpenTelemetry approaches on the JVM, covering the most widespread.

Introduction

The next step in my fitness application journey is to migrate to Heroku Postgres. Check out how easy this turned out to be too.

Jinq is a library that provides a convenient and natural way to build typesafe database queries in Java. It is easy to use and does not require code generation

My talk was accepted by SpringOne in San Francisco. I never went to that conference and was really looking forward to it.

Compare the OpenTelemetry Java Agent v1 and v2 with Micrometer Tracing in a Spring Boot application.

Rotate Expiring Spring Cloud Vault Database Credentials Without Downtime

By integrating Redis caching into your Spring Boot application, you offload database pressure, and you enhance user experience through faster responses.

Kong Ingress Controller allows users to include the power of Kong Gateway in existing Kubernetes implementations, all without much effort.

Spring MVC is a framework that is used to build web applications. It follows the Model View Controller pattern. DispatcherServlet is the servlet that controls the flow of a request from view to controller. Since Spring 3.1, the Servlet 3 API is supported and we no longer need web.xml for configuring DispatcherServlet – instead, it is configured programmatically.

Tame distributed transactions with Apache Seata and Spring Boot. Learn how to simplify microservices consistency without complex rollback logic.

Mental Checklist

Metrify simplifies Spring Boot metrics with annotations, removing Micrometer boilerplate and enabling cleaner, faster observability.

Build reliable Spring Boot APIs with centralized exception handling using @ControllerAdvice. Learn how to create clean, consistent, and scalable error responses

As part of my Fitness application journey, the CloudAMQP service is introduced into the Heroku-based service in order to process invoices asynchronously.

For the past couple of months I've been working on a data management tool I'm calling OpenDMP. As I've started adding more features, I've run into a scalability issue a bit sooner than I had expected and so I decided to tackle what is hopefully the biggest remaining piece of the project's system architecture.

Exploring ways to deploy simple spring-boot application to Aptible.

IKODIX is an online code generator for admin panel full-stack applications for any relational database.

How to ensure that expiring Spring Cloud Vault dynamic database secrets are renewed, when reaching Hashicorp Vault’s max_ttl

By focusing on the core functionality of detection, we ensure that potential problems are flagged as soon as they arise, which allows for immediate intervention

This article will focus on implementing error rate-based detection, a crucial aspect of comprehensive log analysis.

Learn how to use Smart-Doc to generate Java WebSocket interface documentation and provide a complete example of a WebSocket server.

In this article, we'll explain how to create a CI/CD workflow for a SpringBoot Application deployed to Kubernetes using Skaffold.

[TL;DR; Get started using Dgraph's Slash GraphQL product and connect to a Spring Boot application which will act as a simple RESTful recommendation service.]

Standard schema validation allows delegating the validation to a third-party library and being done with it. Without one, we must fall back to manual validation

Spring Data JPA is a framework that abstracts all of the complexity needed for you to interact with your databases.

Learn how to leverage JMX and Spring Boot for advanced debugging and management, enabling efficient monitoring and control of Java applications.

In this step-by-step tutorial, we’ll build a fully working microservices ecosystem from scratch.

Don’t expose more than you think needs exposing.

If a certain property on an object is not useful to a consumer and internal to your business, then don’t return it.

12/5/2025: Top 5 stories on the HackerNoon homepage!

Skaffold is a cloud native open source framework from Google that lets Spring Boot developers build Kubernetes apps easily and deploy effortlessly

Recently I had the need to change certain classes -from external dependencies- loaded on a Spring Boot application. All this happened in a very restrictive environment, where I was not allowed to use other libraries or tweak the JRE, it was only possible to modify the fat JAR and environment variables or system properties.

Heroku provides the necessary components to integrate cloud services with Salesforce to easily create a burndown chart to track performance.

A Quick Start Guide to Getting a Java GraphQL API up and Running in no time Using Apifi.

Ports and Adapters architecture was created by Alistair Cockburn in 2005.

Does your application fail CI tests "sometimes"? Does it display flaky behavior? Did you add many logs trying to solve it? There's a better way: AOP!

Stepping outside of my comfort zone, let’s see how quickly we can introduce an API-First-driven RESTful by leveraging ChatGPT, Quarkus, and Heroku.

Learn how to use the H2 Database with Spring Boot in this step-by-step guide which includes a working example written in Groovy.

In this article, we'll explain how to create a CI/CD workflow for a SpringBoot Application deployed to Kubernetes using Skaffold.