Encrypting Configuration Data in Spring Boot with Jasypt
Securing sensitive configuration details within Spring Boot applications is a critical aspect of application security. Jasypt (Java Simplified Encryption) delivers robust encryption capabilities specifically designed for Java environments, enabling developers to protect sensitive information stored in property files and configuration sources. T ...
Posted on Wed, 04 Nov 2026 16:05:52 +0000 by bemoi
Understanding Spring Bean Fundamentals
In the Spring framework architecture, beyond the foundational core components, beans and their factories represent the most critical elements.
The remaining components include AOP, design patterns, and higher-level modules such as DATA and WEBMVC...
For clarity, this article collectively refers to beans and bean factories simply as "beans. ...
Posted on Thu, 29 Oct 2026 16:18:48 +0000 by iloveny
Authentication Interceptor Implementation
Authentication Interceptor
Overview
Envrionment Details:
Spring Boot: 3.1.3
Java: 17
An interceptor in Spring MVC allows interception of incoming requests to execute custom logic either before or after the handler processes the request. An authentication interceptor typically verifies whether a user is logged in; if not, it redirects them to ...
Posted on Thu, 29 Oct 2026 16:12:12 +0000 by teo99
Implementing File Storage and Email Dispatch in Spring Boot Applications
File Storage Implementation
This section details the configuration and controller logic required to accept multipart form data and persist uploaded documents to a local server directory using modern Java practices.
Dependencies and Configuration
Ensure your build environment utilizes JDK 8 or newer. The core Maven dependencies for web capabilit ...
Posted on Wed, 28 Oct 2026 16:04:18 +0000 by javawizkid
Migrating Spring Boot 2.x (JDK 1.8) to Spring Boot 3.x (JDK 21)
Spring Boot 3.2.5
JDK 21
Key Changes and Migration Steps
1. Namespace Shift: javax to jakarta
Spring Boot 3 and Spring Framework 6 mandate a migration from the javax.* namespace to the jakarta.* namespace for specifications like Servlet and JPA. This change is a consequence of the Java EE platform's evolution under the Eclipse Foundation, now ...
Posted on Mon, 26 Oct 2026 16:40:32 +0000 by bdlang
Building Multi-Module Microservices with Maven and IntelliJ IDEA
Project Structure Overview
When developing microservices using Spring Boot, Spring Cloud, and Spring Cloud Alibaba, proper project architecture and dependency management are crucial. This guide demonstrates creating a multi-module project structure using Maven and IntelliJ IDEA.
Technology Stack
Spring Boot 2.6.3
Spring Cloud 2021.0.1
Spring Cl ...
Posted on Mon, 26 Oct 2026 16:26:55 +0000 by zeropaid
Core Annotations and Configuration Strategies in Spring Boot
Application Entry Point and Core Annotations
A standard Spring Boot application typically begins with a primary class containing the main method. This class serves as the bootstrap for the Java application. The most critical component here is the @SpringBootApplication annotation, which acts as a composite marker for the framework.
This annotat ...
Posted on Sun, 25 Oct 2026 16:18:26 +0000 by Barkord
Replacing MyBatis with MyBatis-Plus in a Spring Boot 3 Project That Includes Flowable
There is a common scenario where a project built solely on MyBatis must later incorporate MyBatis-Plus. Even though the goal appears to be "coexistence," MyBatis-Plus is effectively a superset of MyBatis, so the more practical path is switching to MyBatis-Plus and eliminating MyBatis’s dedicated configuration. The steps below describe ...
Posted on Sun, 25 Oct 2026 16:00:57 +0000 by chingwaah
Configuring HTTPS with Spring Boot: Certificate Setup and Server Configuration
Generating SSL Certificates
Before configuring the server, you need to generate a valid SSL certificate. The Java keytool utility provides two common approaches for creating keystores. Choose the method that best fits your security requirements.
The first option uses RSA encryption with a PKCS12 format keystore, which offers broad compatibility ...
Posted on Fri, 23 Oct 2026 16:48:52 +0000 by rv20
Integrating Alibaba Cloud OSS in Spring Boot Applications
To integrate Alibaba Cloud Object Storage Service (OSS) into a Spring Boot project, start by defining configuraton properites in your application configuration file:
oss:
config:
endpoint: ${oss.config.endpoint}
access-key: ${oss.config.access-key}
secret-key: ${oss.config.secret-key}
bucket: ${oss.config.bucket}
Create a con ...
Posted on Tue, 20 Oct 2026 16:45:48 +0000 by ginger76