Minimal Sharding Setup with Spring Boot 3 and ShardingSphere 5.2

Table Architecture Two datbaases (db_shard_0 and db_shard_1) each contain four user_info tables: user_info_0 through user_info_3. Dependencies <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>o ...

Posted on Fri, 23 Oct 2026 16:25:28 +0000 by Coldman

Implementing Unit Tests in Spring Boot Applications

Setting Up the Test Package To begin writing unit tests for a Spring Boot application, it's a best practice to mirror the package structure of your main application source code within the test source directory, typically located at src/test/java. This ensures that test classes are organized in a way that corresponds directly to the classes they ...

Posted on Fri, 23 Oct 2026 16:17:44 +0000 by Devsense

Building a Custom Slider CAPTCHA with Spring Boot

The task was to implement a slider-based CAPTCHA for a web application, requiring access from both browser clients and mobile app developers. After evaluating existing libraries, many were either abandoned, overly complex, or lacked clear backend implementaitons. The solution described here follows a straightforward contract: the server supplie ...

Posted on Mon, 19 Oct 2026 16:43:39 +0000 by Hitwalker

Spring Boot Charity Donation Management System Architecture

Background and MotivationCharitable giving plays a vital role in societal development, addressing critical needs and supporting vulnerable populations. Traditional donation methods often suffer from cumbersome workflows, opacity, and inconsistent management practices. Implementing a Spring Boot-based charity donation platform addresses these ch ...

Posted on Sun, 18 Oct 2026 16:42:32 +0000 by fuzz01

Spring Boot Integration with MyBatis-Plus: Configuration and Best Practices

Integrating MyBatis-Plus with Spring Boot 1. Dependency Setup To begin integrating MyBatis-Plus into your Spring Boot project, add the following dependencies to your pom.xml: <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-spring-boot3-starter</artifactId> <version>3.5.11< ...

Posted on Sun, 18 Oct 2026 16:39:41 +0000 by rhathid

Implementing Self-Media Article Management System

Implementing Self-Media Article Management System Objectives Implement self-media article listing functionality Enable article publishing capabilities Support article retrieval by ID Implement article deletion Add article publish/unpublish features 1. Self-Media Article Listing 1.1 Requirements Analysis 1.2 Database Sc ...

Posted on Sun, 18 Oct 2026 16:25:13 +0000 by abcd1234

Deploying RuoYi Microservice Architecture with Docker and Docker Compose

Prerequisites Make sure Docker and Docker Compose are installed on your machine. Refer to the Docker documentation for installtaion instructions if needed. Building the Docker Image Go to the root directory of the RuoYi project and create a file named Dockerfile with the following content: FROM eclipse-temurin:8-jre-alpine COPY target/*.jar ser ...

Posted on Sat, 17 Oct 2026 16:02:48 +0000 by fenrir

Building a Campus Online Auction Platform with Spring Boot and Vue

System Architecture Overview The campus online auction system adopts a separated front-end and back-end architecture. The back-end is powered by Spring Boot, exposing RESTful APIs, while the front-end uses Vue.js for rendering and user interaction. MySQL serves as the persistent data store. Technology Stack Details Back-End: Spring Boot Spring ...

Posted on Thu, 15 Oct 2026 16:51:32 +0000 by edraynham

Design and Implementation of a Smart Elderly Care Platform Using Java, Spring Boot, and Vue

Technology Stack Back end Framework: Spring Boot Spring Boot simplifies Java application development with built-in servers (Tomcat, Jetty, Undertow) and auto-configuration based on project dependencies. Its extensive ecosystem includes Spring Data, Spring Security, and Spring Cloud for rapid application development and integration. Frontend Fra ...

Posted on Thu, 15 Oct 2026 16:41:12 +0000 by JayNak

Understanding AOP, DI, and IOC in Java Spring Boot

In Java Spring Boot, AOP (Aspect-Oriented Programming), DI (Dependency Injection), and IOC (Inversion of Control) are essential concepts for building maintainable and scalable applications. 1. AOP (Aspect-Oriented Programming) AOP separates cross-cutting concerns like logging, performance monitoring, and transaction management from business log ...

Posted on Wed, 14 Oct 2026 16:55:52 +0000 by duckduckgoose