Customizing Per-Request Timeouts for a Singleton RestTemplate with Apache HttpClient

Business Context In a typical Spring application, you might configure a single, shared instance of RestTemplate backed by Apache HttpClient. While a global timeout setting works for most endpoints, specific operations—such as downloading large files or interacting with slow third-party APIs—often require extended timeout durations. The challeng ...

Posted on Tue, 09 Jun 2026 18:01:25 +0000 by scavok

Building an Admin Dashboard Interface with Spring Boot and LayUI

Developing the frontend for a permission management system often requires a standard layout: a left sidebar for navigation, top tabs for managing open windows, and a main content area. Implementing this from scratch using LayUI can be complex and time-consuming. To streamline the process, we can utilize the layTabPlus extension, which offers bu ...

Posted on Tue, 09 Jun 2026 16:11:30 +0000 by landonmkelsey

Build a Custom Spring Boot Starter in Minutes

Required Dependencies The spring-boot-autoconfigure dependency provides Spring Boot's core auto-configuration capabilities, automatically setting up common components like database connections, caches, and message brokers based on your project's classpath and configuration. This eliminates manual setup for standard use cases. The spring-boot-co ...

Posted on Mon, 08 Jun 2026 16:34:36 +0000 by Shiki

Spring Boot with MyBatis Transaction Management Setup

Maven Dependencies Add the following dependencies to you're pom.xml: <!-- MyBatis integration for Spring Boot --> <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <version>1.3.1</version> </dependency> <!-- MySQL ...

Posted on Sun, 07 Jun 2026 16:41:13 +0000 by frost

Implementing Data Masking in Spring Boot Applications

Implementing Data Masking in Spring Boot Applications Data masking is a critical technique for protecting sensitive information in modern information systems. By transforming or obscuring data, it ensures that sensitive details remain confidential while maintaining usability. This article demonstrates how to implement data masking within a Spri ...

Posted on Sat, 06 Jun 2026 16:49:25 +0000 by Big_Rog

Resolving Swagger Configuration Issues in Spring Boot Applications

Resolving Swagger Configuration Issues in Spring Boot Applications Problem: org.springframework.context.ApplicationContextException: Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException Method 1 Dependency Configuration: <dependency> <groupId>io.springfox</groupId> & ...

Posted on Fri, 05 Jun 2026 18:05:00 +0000 by ozone

Building a Modern Real Estate Sales Management System with Spring Boot, Vue.js, and UniApp

Developing a robust real estate sales management system involves integrating powerful backend, frontend, and mobile technologies. This article details the core components and architectural considerations for such a system, leveraging Spring Boot for the backend, Vue.js for the web interface, and UniApp for cross-platform mobile functionality. W ...

Posted on Fri, 05 Jun 2026 16:02:21 +0000 by zushiba

Vue Component for File Upload with Base64 Encoding and Spring Boot Backend

Implementation Frontend: Vue Component A reusable file upload component that converts selected images to base64 format and sends them to the backend. <template> <el-avatar :size="80" :src="avatarSrc" @click="showDialog = true" style="cursor: pointer;" > <img src= ...

Posted on Thu, 04 Jun 2026 17:47:31 +0000 by Monk3h

Spring Boot Essential Knowledge: One-to-Many Relationships, MyBatis-Plus, and Configuration

One-to-Many Relationship: Server-Side CRUD with Pagination @Service @Slf4j public class BookServiceImpl implements BookService { @Autowired private BookMapper bookMapper; @Override public PageResult<BookModel> searchBooks(SearchCriteria criteria) { PageHelper.startPage(criteria.getPage(), criteria.getPageSize()); ...

Posted on Thu, 04 Jun 2026 17:14:43 +0000 by hrdyzlita

Evolution of Spring Configuration and Building Your First Spring Boot Application

The configuration approach in the Spring ecosystem has shifted significant over the years. Early Spring (1.x Era) In the initial release, dependency injection and bean definitions were managed exclusively through verbose XML files. As applications grew, this led to massive configuration files and tangled dependency graphs, making maintenance di ...

Posted on Wed, 03 Jun 2026 17:15:42 +0000 by locomotive