Home » spring » Page 2

Tag Archives: spring

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 »

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 »

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 »

Spring Boot Method-Level Security

Welcome, in this tutorial, we will see how to implement method-level security in a spring boot application. We will use the @PreAuthorize annotation to handle the method-level security and will also understand the difference between @Secured and @PreAuthorize annotations. 1. Introduction Before going further in this tutorial, we will look at the common terminology such as introduction to Spring Boot ...

Read More »

Internationalization in Spring Boot

Welcome, in this tutorial, we will see how to implement internationalization in a spring boot application where a single application can support multiple languages like English, French, German, etc. 1. Introduction Before going further in this tutorial, we will look at the common terminology such as introduction to Spring Boot. 1.1 Spring Boot Spring boot is a module that provides ...

Read More »

Spring Boot Download CSV File Example

Welcome, in this tutorial, we will see how to download a CSV file in a spring boot application. We will use the postman tool to view the CSV data however you are free to enhance by adding a simple HTML page containing a link to download the CSV. 1. Introduction Before going further in this tutorial, we will look at ...

Read More »