Home » Enterprise Java » spring

spring

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 »

Transactions in Spring

In this article we will explain Transaction in Spring. 1 What is a transaction? A transaction is a group of updates that are treated as an atomic unit: either all the updates must complete successfully, or none must complete. A classic example illustrating the need for such a thing as a transaction is that of a transfer of funds between ...

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 »

How to Download Spring Framework JARs

1. Introduction This article will look at how to download and set up Spring Framework JARs on a Windows system. 2. What is Spring? Spring is an application development framework for Java-Based Enterprise applications. With the Spring framework, we write reliable, high-performance, testable code for Java enterprise applications. Rod Johnson is the creator of Spring, and the first version came ...

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 »

Spring Framework Components Tutorial

This is an in-depth article related to the Spring framework components. 1. Introduction Spring Framework helps in creating stand-alone and production-ready applications. Spring Framework features are Spring MVC, JPA, Spring Boot, Micro Containers, and Messaging. It is an open-source software framework used by developers for creating web applications and services. Developers use Java technology stack for creating web apps. Spring ...

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 ActiveMQ Example

1. Introduction This is an in-depth article related to the Spring ActiveMQ. Spring Boot framework has features to build applications. Spring Boot has features related to building rest services and unit testing the application. ActiveMQ is configured using the classpath environment variable. Spring ActiveMQ uses embedded broker and ActiveMQ custom configurations in the application. properties. 2. Spring ActiveMQ 2.1 Prerequisites ...

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 »