-
A beginner’s introduction to Kafka and how to use it in Spring Boot
The aim of this article is to provide a concise introduction to Kafka’s core concepts. We will briefly explain how Kafka works and how it can be integrated into Spring Boot applications. To make the whole thing more practical, I have prepared a very simplified example application based on Spring Boot. So you can follow every step…
-
Securing a Spring Boot REST API with OAuth 2.0 Bearer Tokens
In this post, we’ll learn how to configure a Spring Boot application so that it uses OAuth 2.0 Bearer Tokens for authentication and authorization – powered by Spring’s Resource Server support. By the end, you’ll be able to protect any REST endpoint with JWT-based security and custom role mappings. To make the whole thing more practical, I have…
-
Docker Compose Integration in Spring Boot
In this post, I’ll introduce you to Docker Compose support for Spring Boot applications. This allows you to deliver locally your repository layer using a simple Docker Compose file. To make the whole thing more practical, I have prepared a very simplified example application. So you can follow every step hands-on and test it directly yourself.…
-
Introduction to Spring Boot Application Testing for Beginners – A Practical Guide (Part 3: Repository-Layer)
Welcome to the third and final part of the blog series. Although Part 1 and Part 2 are not essential for understanding this article, they provide a solid foundation and practical examples for testing the web and service layers. To make the whole thing more practical, I have prepared a very simplified example application based…
-
Introduction to Spring Boot Application Testing for Beginners – A Practical Guide (Part 2: Service Layer)
This is the second part of the three-part blog series. The first part is not essential for understanding this post, but is highly recommended as it provides a better overall understanding, practical examples of web layer testing and a brief overview of the application architecture. To make the whole thing more practical, I have prepared…
-
Introduction to Spring Boot Application Testing for Beginners – A Practical Guide (Part 1: Web-Layer)
This is the first part of a three-part series that provides a practical introduction to testing Spring Boot applications. A social media app I developed serves as an example. The focus is on the post service, which maps the central business logic around posts. To make the whole thing more practical, I have prepared a…