Eureka Discovery with Spring Boot 3.1.+
IMPORTANT: This information is no longer actual. Apparently it was just a bug in Spring Initializr tool and Eureka is available with Spring Boot version 3.1.0 just fine. If you’re using Spring...
View ArticleEureka Server Cluster Setup Tutorial
In this tutorial, you will learn how to setup Eureka Cluster on your local computer. Although in this tutorial, I am going to setup Eureka Cluster on my local computer, you will still learn what you...
View Article@Component Annotation in Spring
@Component is a Spring annotation that is used to indicate that a class is a component. Components are objects that make up the structure of an application and are responsible for performing specific...
View Article@Repository Annotation in Spring
In this tutorial, you will learn what the @Respository annotation is and how to use it in your Spring Boot applications. @Repository is a Spring annotation that indicates that the decorated class is a...
View ArticleCreating a Fat Jar App with Spring Boot
In this guide, I’ll show you how to create a Fat Jar with Spring Boot. Together, we’ll build a simple ‘UsersMicroservice’, then pack it into a Fat Jar. Don’t worry if you’re new, I’ll guide you...
View ArticleA Guide to Spring Bean Scopes
In this tutorial, you will learn about Spring Bean Scopes, an important part of the Spring Framework. You will learn what they are, how they work, and when to use them. By the end, you’ll have a clear...
View ArticleSpring Method Security: Customize Error Message
In this tutorial, you will learn how to return a custom error message if the conditions of the Spring Method Security are not met. To learn more about method-level security annotations read: Spring...
View ArticleInstalling and Running HashiCorp’s Vault for Spring Cloud
In this tutorial, you will learn what is Spring Cloud Vault, how to install and run HashiCorp’s Vault using three different methods: from HashiCorp website, using Homebrew, or as Docker container. What...
View ArticleGenerate JWT. Add and Validate Custom Claims.
In this tutorial, you will learn how to generate a custom JSON Web Token(JWT) and how to add and validate custom JWT Claims using the io.jsonwebtoken library. The JWT token generated in this tutorial...
View ArticleSpring Boot Password Encryption Using Jasypt
Keeping sensitive data secure is essential, but it isn’t that easy in today’s world. If you are using the Spring Boot application and want to encrypt your credentials, such as DB passwords, server...
View Article