Home » Enterprise Java » spring » Boot

Boot

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 »

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 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 »

Spring Boot Application with Couchbase

Welcome, in this tutorial, we will see how to configure a spring boot application to use the couchbase bucket for storing information using spring data. 1. Introduction Before going further in this tutorial, we will look at the common terminology such as introduction to Spring Boot, Couchbase db, and Lombok. 1.1 Spring Boot Spring boot is a module that provides ...

Read More »

Using Google reCaptcha with Spring Boot Application

Welcome, in this tutorial, we will see how to implement google captcha (reCAPTCHA v2) in a spring boot web application. reCAPTCHA is a free service that protects an application from spammers. It uses advanced risk analysis techniques to keep humans and bots apart. But before going anything I would suggest you take a look at the part1 of this tutorial. ...

Read More »

Spring Boot CRUD with AWS DynamoDB

Welcome, in this tutorial, we will see how to configure a spring boot application to use the localhost DynamoDB instance using the spring data. As the DynamoDb AWS service incur changes after frequent HTTP requests so in this tutorial we will use the dynamodb-local on docker (provided by AWS) for learning purpose. 1. Introduction Before going further in this tutorial, ...

Read More »