Tagged articles

SpringBoot

1114 articles · Page 10 of 12
Java Architect Essentials
Java Architect Essentials
Sep 14, 2021 · Operations

Graceful Service Startup and Shutdown for Microservices with Spring Boot and Docker

This article explains how to implement graceful shutdown and startup for microservices using JVM shutdown hooks, Spring Boot's built‑in mechanisms, Docker stop signals, and external containers like Jetty, providing code examples and best‑practice recommendations for ensuring services deregister, reject traffic, and start only after health checks succeed.

DockerGracefulShutdownOperations
0 likes · 10 min read
Graceful Service Startup and Shutdown for Microservices with Spring Boot and Docker
Architect's Tech Stack
Architect's Tech Stack
Sep 11, 2021 · Backend Development

Commonly Used Spring Framework Annotations Overview

This article introduces the most frequently used Spring framework annotations—including core, MVC/REST, Spring Boot, stereotype, transaction, scheduling, and testing annotations—explaining their purposes, usage locations, and providing Java code examples to illustrate how they configure beans, handle requests, and manage application behavior.

JavaSpringSpringBoot
0 likes · 12 min read
Commonly Used Spring Framework Annotations Overview
Selected Java Interview Questions
Selected Java Interview Questions
Sep 9, 2021 · Backend Development

Preventing Overselling in Flash‑Sale (SecKill) Systems with a Redis Distributed Lock

This article explains how a naïve SpringBoot SecKill implementation can cause overselling, then introduces Redis commands (SETNX, EXPIRE, GETSET) and a custom RedisLock component to achieve safe distributed locking, avoid deadlocks, and ensure accurate inventory updates during high‑concurrency flash‑sale events.

Distributed LockJavaRedis
0 likes · 10 min read
Preventing Overselling in Flash‑Sale (SecKill) Systems with a Redis Distributed Lock
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 9, 2021 · Backend Development

Uncovering How SpringBoot Injects HttpServletRequest via ThreadLocal and Dynamic Proxies

This article explains how SpringBoot injects HttpServletRequest into controllers using a JDK dynamic proxy and ThreadLocal storage, tracing the request object from the ObjectFactoryDelegatingInvocationHandler through RequestObjectFactory, RequestContextHolder, and the FrameworkServlet's processRequest lifecycle.

Backend DevelopmentDynamic ProxyHttpServletRequest
0 likes · 7 min read
Uncovering How SpringBoot Injects HttpServletRequest via ThreadLocal and Dynamic Proxies
macrozheng
macrozheng
Sep 1, 2021 · Backend Development

How to Quickly Bootstrap a Full‑Stack Project with sa‑plus Code Generator

This guide introduces the sa‑plus framework—a SpringBoot‑based rapid‑development scaffold with an integrated code generator that can automatically produce backend, frontend, and API documentation code from database tables, and walks through its architecture, technology stack, module structure, quick start steps, and code‑generation features.

Full-StackMySQLSpringBoot
0 likes · 11 min read
How to Quickly Bootstrap a Full‑Stack Project with sa‑plus Code Generator
Top Architect
Top Architect
Aug 22, 2021 · Backend Development

Embedding Tomcat in a Spring Boot Application: A Step‑by‑Step Tutorial

This article explains how to discover the built‑in Tomcat dependency in a SpringBoot project, add the appropriate Maven dependency, create a servlet, configure an embedded Tomcat programmatically with Java, and run the application without any external web.xml or server installation.

EmbeddedTomcatJavaSpringBoot
0 likes · 7 min read
Embedding Tomcat in a Spring Boot Application: A Step‑by‑Step Tutorial
Java Tech Enthusiast
Java Tech Enthusiast
Aug 20, 2021 · Backend Development

RabbitMQ Message Middleware: Concepts, Installation, and SpringBoot Integration

RabbitMQ is an open‑source AMQP broker that enables asynchronous, reliable messaging through exchanges, queues, and bindings, and can be quickly deployed with Docker; SpringBoot integration uses the amqp starter, configuration properties, AmqpAdmin for programmatic setup, RabbitTemplate for sending, and @RabbitListener for consuming messages, even converting JSON payloads to POJOs.

AMQPJavaMessage Queue
0 likes · 12 min read
RabbitMQ Message Middleware: Concepts, Installation, and SpringBoot Integration
Java Architect Essentials
Java Architect Essentials
Aug 19, 2021 · Mobile Development

WeChat Mini Program Mall (Java Version) – Open‑Source Project Overview and Installation Guide

This article introduces the open‑source WeChat mini‑program mall (Java version), detailing its technical stack, development plan, project structure, core features such as member and order management, SMS service integration, and step‑by‑step installation and deployment instructions for both backend and frontend components.

InstallationMini ProgramSpringBoot
0 likes · 7 min read
WeChat Mini Program Mall (Java Version) – Open‑Source Project Overview and Installation Guide
macrozheng
macrozheng
Aug 19, 2021 · Backend Development

Mastering Sa-Token: Simplify SpringBoot Authentication and Authorization

This guide walks you through integrating the lightweight Sa-Token framework into a SpringBoot project, covering dependency setup, configuration, login, role and permission checks, as well as global exception handling, with complete code examples and practical screenshots.

AuthorizationJavaPermission Management
0 likes · 13 min read
Mastering Sa-Token: Simplify SpringBoot Authentication and Authorization
macrozheng
macrozheng
Aug 13, 2021 · Backend Development

How to Implement a Unified Response Format and Global Exception Handling in SpringBoot

This tutorial explains why a consistent response wrapper is needed in SpringBoot, shows how to define a standard JSON format with status, message and data fields, and demonstrates using ResponseBodyAdvice and a global exception handler to automatically wrap successful and error results.

GlobalExceptionHandlingJavaResponseBodyAdvice
0 likes · 11 min read
How to Implement a Unified Response Format and Global Exception Handling in SpringBoot
macrozheng
macrozheng
Aug 12, 2021 · Backend Development

How to Set Up kkFileView for Instant File Preview with Docker and SpringBoot

This guide walks you through installing kkFileView on Windows and Linux, integrating it with MinIO for online file preview, configuring Docker containers, and customizing settings such as watermarks, providing step‑by‑step instructions and code snippets for a seamless preview service.

DockerLinuxSpringBoot
0 likes · 7 min read
How to Set Up kkFileView for Instant File Preview with Docker and SpringBoot
Top Architect
Top Architect
Jul 28, 2021 · Backend Development

SpringBoot Global Exception Handling Tutorial with Custom Error Responses

This article demonstrates how to implement global exception handling in a SpringBoot project, covering environment setup, Maven dependencies, custom error interfaces, enums, exception classes, response wrappers, and controller advice, along with testing via Postman to verify handling of custom, null pointer, and generic exceptions.

ExceptionHandlingGlobalExceptionHandlingJava
0 likes · 14 min read
SpringBoot Global Exception Handling Tutorial with Custom Error Responses
Code Ape Tech Column
Code Ape Tech Column
Jul 23, 2021 · Information Security

Mastering OAuth2 SSO with SpringBoot: A Step‑by‑Step Guide

This article explains the principles of Single Sign‑On using OAuth2.0, illustrates the flow with a real‑world analogy, and provides a complete SpringBoot implementation for both the authorization server and client, including role‑based permission control and microservice integration.

AuthorizationSSOSpringBoot
0 likes · 11 min read
Mastering OAuth2 SSO with SpringBoot: A Step‑by‑Step Guide
Java Interview Crash Guide
Java Interview Crash Guide
Jul 22, 2021 · Backend Development

How SpringBoot Boots Tomcat: Deep Dive into Startup Process and Tomcat Internals

This article explains how SpringBoot launches an embedded Tomcat server by walking through the main method, the SpringApplication.run workflow, context creation and refresh, and the internal Tomcat components such as Connector, Engine, Host, Context, and Wrapper, illustrated with code snippets and diagrams.

Embedded ServerSpringBootbackend
0 likes · 14 min read
How SpringBoot Boots Tomcat: Deep Dive into Startup Process and Tomcat Internals
Top Architect
Top Architect
Jul 19, 2021 · Operations

Comprehensive Guide to DevOps Automation with Docker, Jenkins, Maven, and SpringBoot

This article provides a step‑by‑step tutorial on building a DevOps pipeline that integrates Docker, Jenkins, GitLab, Maven, and SpringBoot, covering environment setup on CentOS, Maven pom configuration, Dockerfile creation, shell scripting for image building, multi‑machine deployment, and practical Jenkins job configuration.

AutomationCI/CDJenkins
0 likes · 18 min read
Comprehensive Guide to DevOps Automation with Docker, Jenkins, Maven, and SpringBoot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 14, 2021 · Backend Development

Understanding Spring Cloud RefreshScope: How Dynamic Configuration Refresh Works

This article explains the inner workings of Spring Cloud's RefreshScope, detailing its source code, registration process, refresh endpoint activation, event-driven refresh mechanism, and how beans annotated with @RefreshScope or @ConfigurationProperties are dynamically reloaded without restarting the application.

@RefreshScopeCloudSpring
0 likes · 11 min read
Understanding Spring Cloud RefreshScope: How Dynamic Configuration Refresh Works
Wukong Talks Architecture
Wukong Talks Architecture
Jun 29, 2021 · Backend Development

Comprehensive Guide to Spring Cache: A Unified Caching Solution for Redis, Ehcache and Other Middleware

This article introduces Spring Cache as a framework‑agnostic caching abstraction that eliminates manual cache code, explains its core concepts, annotations, configuration options, and demonstrates practical usage with Redis and custom key, condition, and eviction strategies in Spring Boot applications.

CacheEhcacheJava
0 likes · 15 min read
Comprehensive Guide to Spring Cache: A Unified Caching Solution for Redis, Ehcache and Other Middleware
Top Architect
Top Architect
Jun 27, 2021 · Backend Development

Using Caffeine Cache in Spring Boot: Algorithms, Configuration, and Code Examples

This article introduces Caffeine Cache, explains its W‑TinyLFU eviction algorithm, compares it with Guava, and provides detailed usage examples—including manual, synchronous, and asynchronous loading, eviction policies, Spring Boot integration, annotations, and configuration snippets—for building high‑performance backend caches.

CacheCachingCaffeine
0 likes · 20 min read
Using Caffeine Cache in Spring Boot: Algorithms, Configuration, and Code Examples
The Dominant Programmer
The Dominant Programmer
Jun 27, 2021 · Backend Development

Cache Database Data in Redis with Custom SpringBoot AOP Annotations

This guide demonstrates how to add a custom AOP‑based caching layer to a SpringBoot application, using Redis to store frequently queried MySQL table data, defining @AopCacheEnable and @AopCacheEvict annotations, implementing an aspect, handling key generation, expiration, and cache eviction on CRUD operations.

AOPCacheMySQL
0 likes · 9 min read
Cache Database Data in Redis with Custom SpringBoot AOP Annotations
macrozheng
macrozheng
Jun 17, 2021 · Backend Development

Mastering SpringBoot YAML: Tips, Tricks, and Hidden Pitfalls

This article explores the quirks and advanced features of YAML configuration in SpringBoot, covering string handling, numbers, dictionaries, objects, lists, special data types, and complex key syntax, while providing practical code examples and debugging tips to help Java developers avoid common pitfalls.

JavaSpringBootbackend
0 likes · 11 min read
Mastering SpringBoot YAML: Tips, Tricks, and Hidden Pitfalls
Python Crawling & Data Mining
Python Crawling & Data Mining
Jun 11, 2021 · Backend Development

Build a Java Stock Trading Monitoring System: From Design to Deployment

This article walks through designing and implementing a Java-based stock trading monitoring system, covering strategy overview, architecture with SpringBoot, data collection, notification services, code structure, deployment steps, and sample outputs, enabling readers to build low‑frequency grid and intraday T‑strategies themselves.

Backend DevelopmentJavaSpringBoot
0 likes · 8 min read
Build a Java Stock Trading Monitoring System: From Design to Deployment
Code Ape Tech Column
Code Ape Tech Column
Jun 8, 2021 · Backend Development

Why Spring @Transactional on a Called Method Doesn’t Rollback and How to Fix It

The article analyzes a Spring Boot transaction issue where a @Transactional method called from another non‑transactional method fails to roll back, explains the underlying propagation and proxy mechanisms, and presents two practical solutions—including using the bean’s proxy via AopContext with exposeProxy enabled—to ensure proper rollback.

@TransactionalAOPSpring
0 likes · 8 min read
Why Spring @Transactional on a Called Method Doesn’t Rollback and How to Fix It
Java Architect Essentials
Java Architect Essentials
Jun 4, 2021 · Backend Development

Implementing GitHub and QQ OAuth2 Login with Spring Boot

This article provides a step‑by‑step guide to integrating GitHub and QQ third‑party OAuth2 login in a Spring Boot backend, covering app registration, required URLs, state handling to prevent CSRF, and complete Java code for authorization, token exchange, and user info retrieval.

GitHubJavaQQ
0 likes · 10 min read
Implementing GitHub and QQ OAuth2 Login with Spring Boot
Selected Java Interview Questions
Selected Java Interview Questions
May 27, 2021 · Backend Development

Java Backend Interview Experience: Spring, Nacos, Redis, SQL Optimization and More

The article shares a developer's post‑interview reflections covering self‑introduction, Spring ecosystem usage, Nacos vs Eureka service discovery, SpringBoot startup mechanics, design patterns, Linux commands, Redis operations, Excel POI handling, SQL optimization techniques, and other practical interview questions.

JavaNacosRedis
0 likes · 9 min read
Java Backend Interview Experience: Spring, Nacos, Redis, SQL Optimization and More
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 20, 2021 · Backend Development

Designing a High‑Concurrency Flash‑Sale (秒杀) System: From Naïve Implementation to Optimized Solutions

This article walks through the design of a flash‑sale system, starting with a simple SpringBoot‑MyBatis implementation, then addressing overselling with pessimistic and optimistic locks, applying rate‑limiting algorithms, time‑window controls, interface hiding, frequency limits, and a suite of production‑grade optimizations such as CDN, Nginx load balancing, Redis caching, message queues, and short‑URL handling.

Flash SaleRedisSpringBoot
0 likes · 14 min read
Designing a High‑Concurrency Flash‑Sale (秒杀) System: From Naïve Implementation to Optimized Solutions
macrozheng
macrozheng
May 11, 2021 · Backend Development

Build a Full‑Stack Java Admin System Without Front‑End Code Using Erupt

This guide introduces Erupt, a low‑code full‑stack Java framework that lets you create enterprise‑level backend management systems without writing any front‑end code, covering installation, SpringBoot integration, CRUD generation, extended modules like scheduling, code generation, monitoring, NoSQL support, and online API development.

Backend DevelopmentCRUDErupt
0 likes · 19 min read
Build a Full‑Stack Java Admin System Without Front‑End Code Using Erupt
Programmer DD
Programmer DD
May 8, 2021 · Backend Development

How to Build a Full‑Stack Logistics Management System with SpringBoot and Layui

This article presents a complete logistics management system case study, covering business requirements, technology stack selection, front‑end and back‑end architecture, core modules such as bill management, receipt handling, vehicle dispatch, and includes full Java code snippets for key operations.

SpringBootWeb Developmentdatabase
0 likes · 15 min read
How to Build a Full‑Stack Logistics Management System with SpringBoot and Layui
Java Backend Technology
Java Backend Technology
Apr 29, 2021 · Backend Development

Master SpringBoot Global Exception Handling: From Setup to Testing

This article explains how to set up SpringBoot 1.5.17 with Maven, define custom error interfaces, enums, and exception classes, implement a global @ControllerAdvice handler, and verify the behavior through Postman tests for various CRUD endpoints, demonstrating unified error responses.

@ControllerAdviceError ResponseJava
0 likes · 15 min read
Master SpringBoot Global Exception Handling: From Setup to Testing
Architecture Digest
Architecture Digest
Apr 24, 2021 · Mobile Development

WeChat Mini Program Mall (Java Version) – Open Source Project Overview and Installation Guide

This article introduces the open‑source Java‑based WeChat mini‑program mall, detailing its development plan, technology stack, project structure, core features, installation steps, configuration requirements, and visual page previews for developers interested in building or customizing the solution.

JavaSpringBootWeChat Mini Program
0 likes · 7 min read
WeChat Mini Program Mall (Java Version) – Open Source Project Overview and Installation Guide
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 20, 2021 · Backend Development

Enabling CORS in SpringBoot Applications

This article explains what CORS is, shows the typical browser error caused by missing CORS headers, and provides step‑by‑step SpringBoot configuration and filter code to enable cross‑origin requests and control filter execution order for reliable backend support.

CORSCross-OriginJava
0 likes · 5 min read
Enabling CORS in SpringBoot Applications
Top Architect
Top Architect
Apr 20, 2021 · Backend Development

Why @Transactional May Not Work: Common Failure Scenarios and Source‑Code Analysis

This article explains three typical situations in which Spring's @Transactional annotation becomes ineffective—non‑public methods, internal self‑calls, and caught exceptions—illustrates each case with runnable code examples, and dives into the underlying AOP and transaction‑management source code to show why the proxy logic is bypassed.

@TransactionalAOPJava
0 likes · 12 min read
Why @Transactional May Not Work: Common Failure Scenarios and Source‑Code Analysis
Top Architect
Top Architect
Apr 13, 2021 · Backend Development

SpringBoot Global Exception Handling Tutorial with Custom Error Codes and Response Wrapper

This article demonstrates how to set up global exception handling in a SpringBoot application by preparing the development environment, adding Maven dependencies, defining a base error interface, custom enums, exception classes, a unified response body, and a controller advice that captures business, null‑pointer, and generic exceptions, followed by testing the implementation with Postman.

ExceptionHandlingGlobalExceptionHandlingJava
0 likes · 14 min read
SpringBoot Global Exception Handling Tutorial with Custom Error Codes and Response Wrapper
Code Ape Tech Column
Code Ape Tech Column
Apr 13, 2021 · Backend Development

Implementing Sensitive Data Encryption and Decryption in Spring Boot with MyBatis Interceptors and Custom Annotations

This article demonstrates how to automatically encrypt sensitive fields such as ID numbers and phone numbers before storing them in a database and decrypt them after retrieval by using Spring Boot, MyBatis plugins, and custom annotations, eliminating manual encryption logic in business code.

AnnotationEncryptionMyBatis
0 likes · 11 min read
Implementing Sensitive Data Encryption and Decryption in Spring Boot with MyBatis Interceptors and Custom Annotations
macrozheng
macrozheng
Apr 8, 2021 · Cloud Native

Build and Push SpringBoot Docker Images with Gradle in Minutes

This article introduces the Gradle Docker plugin, shows how to configure it for a SpringBoot project, demonstrates building and pushing Docker images directly from Gradle, and compares the build speed with Maven, highlighting the simplicity and speed gains.

CI/CDDockerJava
0 likes · 8 min read
Build and Push SpringBoot Docker Images with Gradle in Minutes
vivo Internet Technology
vivo Internet Technology
Apr 7, 2021 · Backend Development

Analysis of SpringBoot's @SpringBootApplication Annotation

The article dissects Spring Boot’s @SpringBootApplication annotation, revealing it as a composite of seven meta‑annotations—including @SpringBootConfiguration, @EnableAutoConfiguration and @ComponentScan—and explains the underlying registrar, import selector, metadata loading, and exclusion mechanisms that together drive Spring Boot’s automatic configuration process.

AnnotationAutoConfigurationComponentScan
0 likes · 12 min read
Analysis of SpringBoot's @SpringBootApplication Annotation
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 7, 2021 · Backend Development

Nine MyBatis SQL Tricks for SpringBoot Web Applications (MySQL Example)

This article presents nine practical MyBatis techniques—including pagination, preset column selection, one‑to‑many and one‑to‑one associations, foreach‑in queries, dynamic where clauses, choose/otherwise logic, hidden _parameter usage, and dynamic set updates—illustrated with SpringBoot and MySQL code examples.

Backend DevelopmentDynamic SQLMyBatis
0 likes · 6 min read
Nine MyBatis SQL Tricks for SpringBoot Web Applications (MySQL Example)
Architecture Digest
Architecture Digest
Apr 6, 2021 · Backend Development

Integrating Spring Boot with Elasticsearch Using Java API

This tutorial explains how to set up a Spring Boot project with Elasticsearch 6.2.1, configure RestHighLevelClient and RestClient beans, define ES host settings, and perform index creation, deletion, pagination, various query types, sorting, and highlighting through the Java API.

ElasticsearchJavaREST API
0 likes · 18 min read
Integrating Spring Boot with Elasticsearch Using Java API
Architecture Digest
Architecture Digest
Apr 1, 2021 · Backend Development

Comprehensive Guide to MyBatis‑Plus CRUD, Configuration, and Advanced Features in Spring Boot

This article provides a step‑by‑step tutorial on using MyBatis‑Plus with Spring Boot, covering database creation, table definition, Maven dependencies, entity and mapper setup, CRUD operations, automatic field filling, optimistic locking, pagination, logical deletion, performance monitoring, query wrappers, and code generation, all illustrated with complete code examples.

CRUDJavaORM
0 likes · 15 min read
Comprehensive Guide to MyBatis‑Plus CRUD, Configuration, and Advanced Features in Spring Boot
Programmer DD
Programmer DD
Mar 24, 2021 · Backend Development

Master Spring Boot & Elasticsearch Integration: Step‑by‑Step Guide with Code Samples

This tutorial walks you through creating a Spring Boot project, adding Elasticsearch 6.2.1 dependencies, configuring a RestHighLevelClient bean, setting up host properties, and performing core index operations, pagination, various query types, sorting, filtering, and highlighting using both DSL JSON and Java APIs.

SpringBoothighlightresthighlevelclient
0 likes · 18 min read
Master Spring Boot & Elasticsearch Integration: Step‑by‑Step Guide with Code Samples
The Dominant Programmer
The Dominant Programmer
Feb 27, 2021 · Backend Development

How to Generate QR Code Images with SpringBoot, ZXing, and Vue

This guide demonstrates how to integrate ZXing into a SpringBoot backend to generate QR code images, expose them via a REST endpoint, and display the QR codes in a Vue front‑end dialog by fetching the image as a blob and rendering it with Element UI components.

JavaJavaScriptQR code
0 likes · 14 min read
How to Generate QR Code Images with SpringBoot, ZXing, and Vue
Top Architect
Top Architect
Feb 17, 2021 · Backend Development

Integrating RabbitMQ with Spring Boot: Configuration, Message Sending, and Reliability

This article explains how to integrate RabbitMQ into a Spring Boot application, covering dependency setup, connection configuration, message production and consumption, handling complex JSON messages, and ensuring both sending and receiving reliability through publisher confirms, return callbacks, and consumer acknowledgements.

JavaMessage QueueRabbitMQ
0 likes · 12 min read
Integrating RabbitMQ with Spring Boot: Configuration, Message Sending, and Reliability
Top Architect
Top Architect
Feb 15, 2021 · Backend Development

Implementing API Idempotency in SpringBoot Using Redis Token Mechanism

This tutorial explains the concept of idempotency, why it is needed for reliable APIs, the impact on system design, and provides four implementation strategies—including a detailed SpringBoot example that uses Redis tokens, Lua scripts, and unit tests—to ensure that repeated requests produce the same result without side effects.

JavaRESTful APIRedis
0 likes · 18 min read
Implementing API Idempotency in SpringBoot Using Redis Token Mechanism
Code Ape Tech Column
Code Ape Tech Column
Feb 4, 2021 · Backend Development

Implementing API Idempotency in SpringBoot Using Token and Redis

This article explains the concept of idempotency, why it is needed for HTTP interfaces, its impact on system design, and presents four practical backend solutions—including database primary keys, optimistic locking, anti‑repeat tokens, and downstream sequence numbers—followed by a complete SpringBoot example with Maven dependencies, Redis configuration, token utility code, controller, application starter, and test cases.

JavaRESTful APISpringBoot
0 likes · 20 min read
Implementing API Idempotency in SpringBoot Using Token and Redis
macrozheng
macrozheng
Feb 3, 2021 · Cloud Native

Master Rancher: Visual Kubernetes Management and Deploying MySQL & SpringBoot

Learn how to simplify Kubernetes administration with Rancher by installing Docker, deploying Rancher, creating MySQL and SpringBoot deployments via YAML, configuring services, and exposing the application through Nginx, all illustrated with step‑by‑step commands and screenshots.

DockerKubernetesNginx
0 likes · 12 min read
Master Rancher: Visual Kubernetes Management and Deploying MySQL & SpringBoot
Java Captain
Java Captain
Jan 13, 2021 · Backend Development

Scheduled Email Sending with Spring Boot, JavaMail, and HttpClient

This tutorial demonstrates how to build a Spring Boot Maven project that fetches random sentences from an online API, configures JavaMail with POP3/SMTP credentials, and uses a scheduled task to automatically send emails, including deployment tips for Linux and Windows.

EmailAutomationHttpClientScheduledTask
0 likes · 7 min read
Scheduled Email Sending with Spring Boot, JavaMail, and HttpClient
Architect's Tech Stack
Architect's Tech Stack
Jan 11, 2021 · Backend Development

Commonly Used Spring Framework Annotations and Their Usage

This article introduces the most commonly used Spring framework annotations—including core, MVC/REST, Boot, stereotype, data access, scheduling, and testing annotations—explains their purposes, usage scenarios, and provides Java code examples illustrating how to apply them in typical Spring applications.

DependencyInjectionSpringSpringBoot
0 likes · 12 min read
Commonly Used Spring Framework Annotations and Their Usage
Java Interview Crash Guide
Java Interview Crash Guide
Jan 8, 2021 · Backend Development

Mastering API Idempotency: Strategies, Code Samples, and Best Practices

Idempotency ensures that repeated API calls produce the same effect as a single call, preventing duplicate submissions, token misuse, and inconsistent data; this guide explains the concept, its importance, HTTP definitions, impact on systems, and presents four practical implementation methods—unique keys, optimistic locking, token‑based guards, and sequence numbers—with full SpringBoot and Redis code examples.

APIRESTRedis
0 likes · 20 min read
Mastering API Idempotency: Strategies, Code Samples, and Best Practices
Java Captain
Java Captain
Jan 2, 2021 · Backend Development

Design and Implementation of a Lightweight Open‑Source Netdisk System

This article introduces a lightweight, open‑source netdisk system built with a front‑end Vue.js interface and a back‑end micro‑service architecture using SpringBoot, Dubbo, Zookeeper, Redis, Solr, and FastDFS, detailing its deployment, technology stack, and core features for file management and integration.

Distributed storageSpringBootVue.js
0 likes · 5 min read
Design and Implementation of a Lightweight Open‑Source Netdisk System
IT Xianyu
IT Xianyu
Dec 28, 2020 · Backend Development

Comprehensive Overview of Spring & Spring Boot Extension Points and Bean Lifecycle

This article provides a detailed summary of Spring and Spring Boot's bean lifecycle, enumerating all major extension interfaces—including ApplicationContextInitializer, BeanDefinitionRegistryPostProcessor, BeanFactoryPostProcessor, InstantiationAwareBeanPostProcessor, SmartInstantiationAwareBeanPostProcessor, various Aware interfaces, FactoryBean, CommandLineRunner, and ApplicationListener—along with usage scenarios and code examples, enabling developers to customize bean initialization and container behavior.

Bean LifecycleSpringBootapplication-context
0 likes · 19 min read
Comprehensive Overview of Spring & Spring Boot Extension Points and Bean Lifecycle
Alibaba Cloud Developer
Alibaba Cloud Developer
Dec 27, 2020 · Backend Development

How SpringFu Slashes Spring Boot Startup Time and Enables AOT Compilation

This article explores SpringFu, a new Spring project that replaces annotation‑based bean definitions with functional beans, dramatically reduces startup time by up to 50%, supports GraalVM AOT compilation, and provides a DSL for building lightweight serverless applications, illustrated with detailed code comparisons and source‑code analysis.

AOTSpringBootfunctional-bean
0 likes · 18 min read
How SpringFu Slashes Spring Boot Startup Time and Enables AOT Compilation
Top Architect
Top Architect
Dec 27, 2020 · Backend Development

Comprehensive MyBatis‑Plus CRUD Guide for Spring Boot Applications

This article provides a comprehensive step‑by‑step guide on using MyBatis‑Plus in a Spring Boot application, covering table creation, Maven dependencies, configuration, entity and mapper definitions, CRUD testing, auto‑fill, optimistic and logical deletion, pagination, performance monitoring, query wrappers, and code generation.

CRUDJavaORM
0 likes · 14 min read
Comprehensive MyBatis‑Plus CRUD Guide for Spring Boot Applications
Java Captain
Java Captain
Dec 27, 2020 · Backend Development

Implementing a WebSSH Terminal with SpringBoot, WebSocket, JSch, and xterm.js

This article demonstrates how to build a WebSSH terminal from scratch using SpringBoot for the backend, WebSocket for real‑time communication, JSch for SSH connections, and xterm.js for the front‑end terminal UI, including dependency setup, server‑side logic, and client‑side integration.

FrontendJavaSSH
0 likes · 17 min read
Implementing a WebSSH Terminal with SpringBoot, WebSocket, JSch, and xterm.js
The Dominant Programmer
The Dominant Programmer
Dec 17, 2020 · Backend Development

Quickly Set Up RuoYi: A SpringBoot-Based Permission Management System

This guide walks through downloading the RuoYi source, importing its SQL schema into MySQL, configuring the datasource in IntelliJ IDEA, running the SpringBoot application, and accessing the permission‑management UI at http://localhost:8000/, with links to advanced versions.

IntelliJ IDEAMySQLPermission Management
0 likes · 3 min read
Quickly Set Up RuoYi: A SpringBoot-Based Permission Management System
Top Architect
Top Architect
Dec 16, 2020 · Backend Development

Integrating PageHelper with SpringBoot and MyBatis for Efficient Pagination

This article provides a comprehensive guide on integrating PageHelper with SpringBoot and MyBatis, covering development preparation, dependency configuration, basic and advanced usage patterns, code examples, and detailed explanations of pagination mechanisms, including PageParam design and MyBatis interceptor internals.

JavaMyBatisSpringBoot
0 likes · 19 min read
Integrating PageHelper with SpringBoot and MyBatis for Efficient Pagination
Top Architect
Top Architect
Dec 7, 2020 · Artificial Intelligence

Building a Simple Image Porn Detection Platform with UCloud UAI‑Censor (Java SpringBoot)

This guide walks through setting up a quick image porn detection platform using UCloud's UAI‑Censor service, covering account creation, obtaining API keys, testing the API, and integrating a simple Java SpringBoot client that evaluates images and returns pass, forbid, or manual‑review suggestions.

AI Content DetectionImage ModerationJava
0 likes · 6 min read
Building a Simple Image Porn Detection Platform with UCloud UAI‑Censor (Java SpringBoot)
Programmer DD
Programmer DD
Dec 5, 2020 · Backend Development

Mastering Spring Retry: Deep Dive into Retry and Back‑off Strategies

This article explains Spring Retry's architecture, how @EnableRetry, @Retryable, @Backoff and @Recover work together, details the available retry and back‑off policies, and walks through the core implementation using RetryTemplate and interceptors to provide flexible, AOP‑based retry handling in Java backend applications.

AOPBackoffJava
0 likes · 20 min read
Mastering Spring Retry: Deep Dive into Retry and Back‑off Strategies
The Dominant Programmer
The Dominant Programmer
Dec 3, 2020 · Mobile Development

Implementing Android App Update with SpringBoot Backend and Vue Frontend

The article walks through a complete Android app update workflow where an administrator uploads an APK via a Vue front‑end to a SpringBoot service, the backend stores version data, and the Android client periodically checks for newer versions, downloads the APK using a Service and OkHttp, and installs it automatically.

AndroidApp UpdateFileProvider
0 likes · 37 min read
Implementing Android App Update with SpringBoot Backend and Vue Frontend
Top Architect
Top Architect
Nov 22, 2020 · Backend Development

Spring vs Spring Boot: Core Differences, Configuration, and Deployment Guide

This article compares Spring and Spring Boot, explaining their fundamental concepts, Maven dependencies, MVC and security configurations, template engine setup, startup mechanisms, and packaging options, while providing practical code examples to help Java developers choose and migrate between the two frameworks.

JavaSpringSpringBoot
0 likes · 12 min read
Spring vs Spring Boot: Core Differences, Configuration, and Deployment Guide
FunTester
FunTester
Nov 17, 2020 · Backend Development

Building a Java WebSocket Chat Server and Client with SpringBoot

This guide walks through creating a Java WebSocket chat application, covering a SpringBoot server implementation, client setup using java‑websocket, configuration pitfalls, a bean‑based scheduler, and a test script that simulates multiple users joining, messaging, and leaving the chat room.

JavaServerSpringBoot
0 likes · 12 min read
Building a Java WebSocket Chat Server and Client with SpringBoot
转转QA
转转QA
Nov 12, 2020 · Backend Development

Building an Exception Testing Platform with ChaosBlade and SpringBoot

This article explains the purpose, tool selection, and implementation of an exception testing platform that uses ChaosBlade for fault injection and a SpringBoot wrapper to simplify backend integration and provide a front‑end UI for injecting various system anomalies.

Backend DevelopmentChaosBladeSpringBoot
0 likes · 5 min read
Building an Exception Testing Platform with ChaosBlade and SpringBoot
Selected Java Interview Questions
Selected Java Interview Questions
Nov 10, 2020 · Backend Development

Understanding the Priority and Interaction of SpringBootApplication, ComponentScan, and MapperScan Annotations

This article explains how SpringBootApplication, ComponentScan, and MapperScan annotations affect package scanning in Spring Boot, their precedence, differences, and the pitfalls of using them together, providing practical guidance for correctly configuring component and mapper scans in Java backend projects.

AnnotationSpringBootcomponent-scan
0 likes · 5 min read
Understanding the Priority and Interaction of SpringBootApplication, ComponentScan, and MapperScan Annotations
macrozheng
macrozheng
Nov 4, 2020 · Backend Development

Mastering Spring Boot: Build Clean, Validated, and Unified Backend APIs

Learn how to construct robust Spring Boot backend APIs by integrating essential dependencies, applying concise parameter validation with Validator and BindResult, handling exceptions globally, creating custom error types, and standardizing responses through a unified ResultVO, all while simplifying code and improving maintainability.

API ValidationSpringBootUnified Response
0 likes · 20 min read
Mastering Spring Boot: Build Clean, Validated, and Unified Backend APIs
Top Architect
Top Architect
Oct 31, 2020 · Big Data

Building a Zhihu User Data Crawler and Large‑Scale Analysis with SpringBoot, SeimiCrawler, RabbitMQ, ElasticSearch, and Kibana

This article describes how to build a Java‑based crawler to collect millions of Zhihu user profiles, handle anti‑crawling measures with rotating user‑agents and a proxy pool, deduplicate data using a Bloom filter, import the results into ElasticSearch, and analyze the dataset with Kibana and ECharts visualizations.

Big DataElasticsearchJava
0 likes · 15 min read
Building a Zhihu User Data Crawler and Large‑Scale Analysis with SpringBoot, SeimiCrawler, RabbitMQ, ElasticSearch, and Kibana
Programmer DD
Programmer DD
Oct 31, 2020 · Backend Development

How to Build a WeChat Mini‑Program Community Using Java SpringBoot & uni‑app

This article introduces the open‑source "netease‑cloud‑music‑community" project, outlines its key features such as login, posting, commenting, and likes, details the Java SpringBoot and uni‑app technology stacks, and provides step‑by‑step instructions for setting up both the backend and frontend environments.

JavaSpringBootWeChat Mini Program
0 likes · 3 min read
How to Build a WeChat Mini‑Program Community Using Java SpringBoot & uni‑app
Top Architect
Top Architect
Oct 28, 2020 · Backend Development

SpringBoot Project Optimization: Configuration File and JVM Tuning Guide

This article explains how to optimize a SpringBoot application by modifying the application.properties configuration file and tuning JVM parameters, providing practical code examples, IDE and script methods, and detailed explanations of each JVM option for better performance.

JVM TuningJavaPerformance
0 likes · 7 min read
SpringBoot Project Optimization: Configuration File and JVM Tuning Guide
Senior Brother's Insights
Senior Brother's Insights
Oct 21, 2020 · Backend Development

Why SpringBoot’s Default Druid Settings Fail and How to Fix Them

The article explains how default Druid connection‑pool settings in a SpringBoot project can leave the pool uninitialized, shows the hidden pitfalls, and provides the exact Maven dependencies and configuration properties needed to correctly enable and tune Druid, including enabling its monitoring console.

DatabaseConnectionPoolDruidJava
0 likes · 8 min read
Why SpringBoot’s Default Druid Settings Fail and How to Fix Them
Senior Brother's Insights
Senior Brother's Insights
Oct 17, 2020 · Backend Development

Why Your SpringBoot Components Aren’t Initialized and How to Fix It

This article explains why SpringBoot fails to initialize components after extracting common modules due to mismatched package names, demonstrates how to use @ComponentScan and custom @Enable annotations to specify scan paths, and outlines the basics of creating a custom starter for automated configuration.

ComponentScanCustomAnnotationJava
0 likes · 7 min read
Why Your SpringBoot Components Aren’t Initialized and How to Fix It