Blog

In this tutorial, you will learn how to use Declarative REST Client Feign to make HTTP Requests RESTful Web Services. You can use Feign client to make HTTP Requests to a registered with Eureka Discovery Service Microservice or to an external RESTful Web Service. For a step-by-step series of video lessons, please check this page:…

Read More Spring Feign Client HTTP Request Example

In this Spring Boot tutorial, you will learn how to implement User Authentication(User Login) functionality for your RESTful Web Service application. There is also a step-by-step video demonstration on how to do User Authentication available here. The user authentication functionality we are going to implement in this tutorial will work the following way: A user…

Read More User Authentication – Spring Boot, Spring Security, JWT

In this short tutorial, you will learn how to use SearchPaths to configure your Spring Cloud Config Server to discover properties files in remote Git repository subdirectories. To learn how to configure Spring Cloud Config Server and also Spring Cloud Config Client, please read this tutorial: Learn to use Spring Cloud Config Server and Spring Cloud…

Read More Spring Cloud Config Server – SearchPaths

This tutorial will teach you how to bind nested properties from the application.properties file to a Java class. Once you finish this tutorial, you might also want to check: How to bind simple(not nested) properties to a Java class, and How to use @ConfigurationProperties with Spring Boot @Profile. Example of Nested Properties in a Properties File…

Read More Spring Boot Nested Properties with @ConfigurationProperties

In this tutorial, you will learn how to use @ConfigurationProperties with Spring Boot Profiles. This tutorial assumes you have a basic knowledge of how to use @ConfigurationProperties in your Spring Boot application. If you are very new to it, please read this tutorial: Spring Boot @ConfigurationProperties Tutorial. You should also have basic knowledge of Spring Boot…

Read More Using Spring Boot @ConfigurationProperties and @Profile

@ConfigurationProperties annotation is used to bind all the properties in a properties file to a Java class. You can then use an object of the Java class annotated with ConfigurationProperties annotation to access configuration properties defined in a properties file. Earlier I shared with you a tutorial on how to read application properties in Spring Boot RESTful…

Read More Spring Boot @ConfigurationProperties Tutorial

In this tutorial, you will learn how to use Spring Boot Profiles. You can use Spring Boot Profile functionality when providing application configuration for a specific environment. For example, when your application runs in a development environment, then your application will use a specific for that environment application.properties file. And when you are ready to…

Read More Spring Boot Profiles Tutorial

In this tutorial, you will learn how to use Spring Cloud Bus to notify running Microservices about the changes in the Spring Cloud Config property file. Running Microservices will be updated with new properties stored in Spring Cloud Config file without the need for you to restart them. This way you can update values in…

Read More Spring Cloud Bus – Refreshing Config Changes

In this tutorial, you will learn how to download, install and run Rabbit MQ on your computer. I will also show you how to change the default Rabbit MQ Administrator password and create a new user. You might also be interested to learn how to run RabbitMQ in a Docker container or use RabbitMQ with…

Read More Rabbit MQ – Download, Install and Change Password