Fading Coder

One Final Commit for the Last Sprint

Implementing Multiple Independent Thread Pools in Spring Boot

Thread Pool Constant Definition /** * Thread pool global naming and configuration key constants */ public class ThreadPoolMetaConstants { /** * Naming prefix for user business thread pool */ public static final String USER_POOL_PREFIX = "user-biz-thread"; /** * Naming prefix for school bus...

Resolving Spring Boot Service Communication in Istio

Integrating Spring Boot applications into an Istio service mesh replaces traditional service discovery mechanisms, but requires precise configuration to ensure inter-service communication succeeds. During deployment, several common errors can block traffic routing. Common errors encountered during I...

Integrate MyBatis with Spring Boot to Implement Relational Database Query Operations

Database Environment Preparation Use a MySQL 8.x instance to create the required business table. You can import pre-written SQL scripts via database management tools like Navicat or DBeaver to generate the student information table, and adjust field definitions based on actual business requirements....

Resolving Date Parsing Exceptions in Spring Boot REST Endpoints

Reproducing the Error Domain Model import lombok.Data; import java.util.Date; @Data public class UserProfile { private String username; private String location; private Date createdAt; } Endpoint Definition @PostMapping("/dates/submit") @ResponseBody public String processDate(UserProfile p...

Approaches for Dynamically Registering Beans in Spring Boot

Test Environment & Use Case Runtime: Java 8 Framework version: Spring Boot 2.5.14 Demo scenario: Dynamically register ProxyServlet to implement Nginx-style reverse proxy functionality In Spring Boot's bean lifecycle, bean definition loading always precedes bean instantiation. To register beans d...

Logistics Management System Development and Technical Specification Based on Spring Boot + Vue.js

Backend: Spring Boot Spring Boot embeds application servers including Tomcat, Jetty and Undertow out of the box, eliminating the need for separate server deployment and configuration. Its core auto-configuration mechanism dynamically loads matching configuration items based on introduced dependencei...

Implementing API Obfuscation for Java Spring Boot Applications with Swagger

API obfuscation is a common API security hardening measure that works by replacing human-readable endpoint paths, request parameter keys and response payload keys with mapped, meaningless strings. This prevents external malicious actors from enferring API business semantics from identifiers, reducin...

Implementing Dynamic Data Source Routing with Spring Boot

Add Required Dependencies Add the following dependencies to your project's pom.xml file: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jpa</artifactId> </dependency> <dependency> <groupId>org.springframew...

University Laboratory Management System with Vue.js and Spring Boot

Laboratory Category Management This component enables administrators to classify and manage various types of laboratories. By grouping labs into categories, it facilitates unified management, maintenance, and policy application. For instance, safety protocols and staff qualifications can be standard...

Building a Hospital Resource Management System with Spring Boot, Vue, and Uniapp

Spring Boot serves as the back end framework, integrating embedded servers like Tomcat, Jetty, and Undertow for streamlined deployment. Its auto-configuration capability automatically sets up dependencies, reducing manual configuration efforts. The framework offers out-of-the-box features and plugin...