Creating a Generic Excel Export Utility with EasyExcel
Overview
For Excel file manipulation in Java applications, Apache POI has been the stendard choice. However, Alibaba's EasyExcel library provides a more streamlined approach with simplified APIs and better performence optimization, particularly when handling large datasets.
Dependency Configuration
<dependency>
<groupId>com.alib ...
Posted on Sat, 12 Sep 2026 16:14:05 +0000 by my8by10
Custom Boot Banner Configuration in Spring Applications
In a Spring Boot application, the console startup banner is driven by a file named banner.txt. Place it under src/main/resources to replace the default Spring artwork.
Composing the Banner
The file supports plain text, ASCII art, and property placeholders using ${...} syntax. Colors are applied via ${AnsiColor.xxx} constants defined in org.spri ...
Posted on Fri, 11 Sep 2026 16:13:05 +0000 by fasmy98
Integrating JSP and Thymeleaf with Spring Boot: A Practical Guide
This article demonstrates how to integrate both JSP and Thymeleaf with Spring Boot, featuring a simple user CRUD (Create, Read, Update, Delete) example. Three separate project setups are covered: two standalone integrations and one combined project. Choose the relevant section based on your needs. Project source code is available via links at t ...
Posted on Tue, 08 Sep 2026 16:27:00 +0000 by teebo
Building a Second-Hand Commerce Platform with Spring Boot and MySQL
The application follows a decoupled B/S architecture, leveraging Spring Boot for RESTful API provisioning and MySQL for relational data persistence. Entity-Relationship modeling adheres to third normal form, utilizing UTF-8 collation for consistent string handling across international deployments.
Database Schema Design
Core tables manage admin ...
Posted on Tue, 08 Sep 2026 16:19:51 +0000 by bob2006
Displaying Data with Spring Boot and Thymeleaf Templates
Spring Boot with Thymeleaf for Data Display
1. Project Dependencies Setup
Add the following dependencies to your build.gradle file:
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath('org.springframework.boot:spring-boot-gradle-plugin:2.5.4')
}
}
group "com.example"
version "1.0-SNAPSHOT"
a ...
Posted on Tue, 08 Sep 2026 16:03:30 +0000 by benyboi
Version Compatibility Matrix for Spring Boot, Spring Cloud, and Spring Cloud Alibaba
Mapping Spring Cloud to Spring Boot
The official Spring Cloud project page provides a compatibility overview, but specific version mappings are often buried in the documentation. To find the exact Spring Boot version required by a specific Spring Cloud release:
Navigate to the Spring Cloud documentation archive.
Select the specific release tra ...
Posted on Sun, 06 Sep 2026 16:53:34 +0000 by Typer999
Implementing Scheduled Tasks in Spring Boot Applications
Enabling Task Scheduling
To utilize scheduled tasks in Spring Boot, enable scheduling support by adding the @EnableScheduling annotation to your main application class.
@SpringBootApplication
@EnableScheduling
public class Application {
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}
}
...
Posted on Sat, 05 Sep 2026 16:58:07 +0000 by lysander
Integrating Nacos for Service Discovery and Configuration in Spring Boot
Introduction
In the landscape of distributed systems, service discovery and centralized configuration management are critical components. Nacos, Alibaba's open-source platform, provides a robust solution for dynamic service discovery and configuration management. This guide demonstrates how to integrate Nacos with a Spring Boot applicasion to m ...
Posted on Sat, 05 Sep 2026 16:29:27 +0000 by gl_itch
Spring Boot Auto-Configuration, Event Listeners, Monitoring, and Deployment
Spring Boot Auto-Configuration: Condition Interface
Condition is a conditional configuration interface introduced in Spring 4.0. By implementing the Condition interface, you can conditionally load beans.
The @Conditional annotation is used in conjunction with a Condition implementation class.
ClassCondition Example
public class ClassCondition i ...
Posted on Fri, 04 Sep 2026 16:33:28 +0000 by poleposters
Integrate MinIO in Spring Boot via a Custom Starter
Dependency Setup
Add the starter to your project's pom.xml. Its recommended to use version 1.0.0.
<dependency>
<groupId>io.gitee.wangfugui-ma</groupId>
<artifactId>minio-spring-boot-starter</artifactId>
<version>1.0.0</version>
</dependency>
Configuration
Define the connection details ...
Posted on Fri, 04 Sep 2026 16:31:08 +0000 by Chris12345