Home » spring boot

Tag Archives: spring boot

Spring Boot Application Deployment on Heroku

Welcome, in this tutorial, we will see how to deploy a simple spring boot application on the Heroku platform. 1. Introduction Before going further in this tutorial, let us understand Spring Boot. Spring boot is a module that provides rapid application development feature to the spring framework including auto-configuration, standalone-code, and production-ready code It creates applications that are packaged as ...

Read More »

Finding Spring Versions

In this article, we’re going to discuss Spring Framework and Spring Boot versions and which Java version works on each one. 1. Introduction When you work with the Spring environment, maybe you are familiar with both Framework and Boot. Also, we can use just one of them to create an application as well. But, for sure that what version we ...

Read More »

Introduction to Spring Webflux

Welcome, in this tutorial, we will see how to create a simple spring boot reactive programming application with webflux. 1. Introduction Before going further in this tutorial, let us understanding webflux and reactive programming. 1.1 Webflux Webflux is the reactive-web framework in spring and was added as a part of the 5.0 release It offers asynchronous, non-blocking, and event-driven approach ...

Read More »

Spring Boot with Caffeine Cache

Welcome, in this tutorial, we will see how to integrate Caffeine cache in a Spring boot application. Caffeine is a high-performance java8 based caching library and is similar to the in-memory cache provided by google guava api. 1. Introduction Before going further in this tutorial, we will look at the common terminology such as introduction to Spring Boot and Lombok. ...

Read More »

How to encrypt passwords in a Spring Boot project using Jasypt

Welcome, in this tutorial, we will learn how to encrypt passwords in a Spring Boot project using Jasypt. We will see how to secure the file-sensitive information in a spring boot application using the Jasypt dependency. 1. Introduction Before going further in this tutorial, we will look at the common terminology such as introduction to Spring Boot, Jaspypt, and Lombok. ...

Read More »

Events in Spring

In this article, we’re going to discuss how to use events in Spring and make a practical example of this feature. 1. Introduction When we think about routines in our applications, we can take some extra tools for queueing like RabbitMQ, Apache Kafka, ActiveMQ. Spring has a powerful tool provided by ApplicationContext called Event. Basically, an event is a message ...

Read More »

Cache with Spring Boot and Hazelcast

Welcome, in this tutorial, we will implement a Hazelcast Cache example in a Spring Boot app. Hazelcast is used to implement the cache in a distributed environment. This cache mechanism approach offers reliable performance and effective consistency. Hazelcast is a distributed, highly available, and scalable caching mechanism. 1. Introduction Before going further in this tutorial, we will look at the ...

Read More »

Spring Boot RESTful Web Services Versioning Example

Welcome, in this tutorial, we will show a RESTful API by using the Accept Header versioning technique in a Spring Boot app. 1. Introduction Before going further in this tutorial, we will look at the common terminology such as introduction to Spring Boot and Lombok. 1.1 Spring Boot Spring boot is a module that provides rapid application development feature to ...

Read More »

Spring Data JPA Auditing Example

Welcome, in this tutorial, we will see how to implement a Spring data JPA auditing application. We will use the AuditorAware interface to capture the auditing information. Database auditing is a mechanism to keep track and logs of events happening on the records present in a database like who did what and when. 1. Introduction Before going further in this ...

Read More »

Spring Boot Composite Key Example

Welcome, in this tutorial, we will see how to implement a composite key in a spring boot application. We will use the @Embeddable and @EmbeddedId annotations. 1. Introduction Before going further in this tutorial, we will look at the common terminology such as introduction to Spring Boot and Lombok. 1.1 Spring Boot Spring boot is a module that provides rapid ...

Read More »