Tagged articles
1047 articles
Page 9 of 11
macrozheng
macrozheng
Dec 1, 2021 · Backend Development

Master Asynchronous Programming in Spring Boot: From Basics to Custom Thread Pools

This article explains why asynchronous execution is needed in Spring Boot, demonstrates how to enable @Async, shows step‑by‑step code for configuration, method annotation, and controller usage, and details how to create and manage custom thread pools for optimal performance and fault tolerance.

AsyncJavaSpringBoot
0 likes · 11 min read
Master Asynchronous Programming in Spring Boot: From Basics to Custom Thread Pools
Architect's Guide
Architect's Guide
Nov 15, 2021 · Backend Development

Java Backend Project for Community COVID‑19 Management System with RBAC and Service Layer Implementation

This article presents a complete Java backend project for community‑based COVID‑19 management, detailing its architecture, modules such as login, daily epidemic tracking, prevention management, system administration and user management, and provides extensive SpringBoot service‑layer code examples with RBAC permission control.

JavaRBACServiceLayer
0 likes · 23 min read
Java Backend Project for Community COVID‑19 Management System with RBAC and Service Layer Implementation
macrozheng
macrozheng
Nov 10, 2021 · Backend Development

Boost Your API Docs: How to Install and Use Torna with Swagger

Learn how to set up the enterprise‑grade Torna API documentation platform, integrate it with Swagger, and run it on Windows, Linux, or Docker, covering project structure, installation steps, configuration, and advanced features like permission control, mock data, and interface testing.

DockerSpringBootSwagger
0 likes · 13 min read
Boost Your API Docs: How to Install and Use Torna with Swagger
The Dominant Programmer
The Dominant Programmer
Nov 8, 2021 · Frontend Development

How to Build a Multi‑Camera Selection and Multi‑Window Preview with SpringBoot, Vue, and Hikvision (Plugin Edition)

This guide walks through integrating Hikvision cameras into a SpringBoot‑Vue application, covering SDK download, backend‑frontend code generation, Vue table multi‑selection limited to four cameras, IE‑mode detection, plugin installation, camera login, real‑time playback, and clean shutdown.

Camera PreviewHikvisionSpringBoot
0 likes · 13 min read
How to Build a Multi‑Camera Selection and Multi‑Window Preview with SpringBoot, Vue, and Hikvision (Plugin Edition)
macrozheng
macrozheng
Nov 8, 2021 · Backend Development

How APIJSON Lets You Build Full CRUD APIs with Just 3 Lines of Code

This article demonstrates how APIJSON dramatically reduces boilerplate for typical CRUD operations by using a single generic endpoint for all request types, showing concrete SpringBoot examples, request/response JSON structures, permission configuration, and advanced query capabilities, all with minimal code.

APIJSONBackend DevelopmentCRUD
0 likes · 10 min read
How APIJSON Lets You Build Full CRUD APIs with Just 3 Lines of Code
Java High-Performance Architecture
Java High-Performance Architecture
Nov 5, 2021 · Backend Development

How to Build a SpringBoot + MyBatis Multi‑Module Project in IntelliJ IDEA

This guide walks through creating a SpringBoot and MyBatis multi‑module project in IntelliJ IDEA, covering environment setup, parent and child module creation, dependency configuration, bean scanning, MyBatis integration, and troubleshooting common startup errors, culminating in a runnable demo endpoint.

IntelliJ IDEAMulti‑moduleMyBatis
0 likes · 13 min read
How to Build a SpringBoot + MyBatis Multi‑Module Project in IntelliJ IDEA
macrozheng
macrozheng
Nov 2, 2021 · Backend Development

Generate Zero‑Annotation API Docs with smart‑doc for SpringBoot

This tutorial shows how to replace Swagger with smart-doc, a zero‑annotation API documentation tool for SpringBoot that generates HTML docs and Postman collections, covering Maven plugin setup, configuration files, custom tags, error‑code mapping, request‑header definitions, and step‑by‑step usage examples.

JavaPostmanSpringBoot
0 likes · 10 min read
Generate Zero‑Annotation API Docs with smart‑doc for SpringBoot
Programmer DD
Programmer DD
Nov 1, 2021 · Backend Development

How APIJSON Cuts SpringBoot CRUD Boilerplate to Just 3 Lines

This article explains why traditional SpringBoot CRUD endpoints require dozens of lines of code and how APIJSON lets you perform all create, read, update, delete, and statistical operations on any table with only a few lines of configuration and a single generic interface.

APIJSONBackend DevelopmentCRUD
0 likes · 9 min read
How APIJSON Cuts SpringBoot CRUD Boilerplate to Just 3 Lines
Code Ape Tech Column
Code Ape Tech Column
Oct 29, 2021 · Information Security

Understanding OAuth2 Single Sign-On (SSO) and Its Spring Boot Implementation

This article explains the principles of Single Sign-On using OAuth2.0, illustrates the flow with a real‑world analogy, details HTTP redirection, compares grant types, and provides a complete Spring Boot implementation of an authorization server, client application, and role‑based access control for microservices.

AuthenticationAuthorizationSSO
0 likes · 12 min read
Understanding OAuth2 Single Sign-On (SSO) and Its Spring Boot Implementation
Architect's Tech Stack
Architect's Tech Stack
Oct 25, 2021 · Backend Development

SpringBoot Project Optimization and JVM Tuning Guide

This article provides a step‑by‑step guide on optimizing SpringBoot projects by modifying configuration files and tuning JVM parameters, covering both IDE‑based VM options and command‑line scripts, with detailed explanations of each setting and practical examples.

ConfigurationJavaSpringBoot
0 likes · 6 min read
SpringBoot Project Optimization and JVM Tuning Guide
Selected Java Interview Questions
Selected Java Interview Questions
Oct 21, 2021 · Backend Development

Deep Dive into SpringBoot Auto‑Configuration and Startup Process

This article provides a comprehensive walkthrough of SpringBoot’s auto‑configuration mechanism, covering common annotations, configuration property binding, import strategies, conditional beans, the application startup flow, and the role of META‑INF/spring.factories in loading auto‑configuration classes.

ConfigurationPropertiesJavaSpringBoot
0 likes · 16 min read
Deep Dive into SpringBoot Auto‑Configuration and Startup Process
Architect's Tech Stack
Architect's Tech Stack
Oct 21, 2021 · Backend Development

Using Alibaba EasyExcel for Reading and Writing Excel Files in Java

This article provides a comprehensive guide on integrating Alibaba's EasyExcel library into Java projects, covering environment setup, reading Excel files with and without sheet specifications for datasets smaller or larger than 1000 rows, exporting data with simple and model‑mapped approaches, handling multiple sheets, and includes full source code examples and a test suite.

ExcelFileIOJava
0 likes · 15 min read
Using Alibaba EasyExcel for Reading and Writing Excel Files in Java
Java High-Performance Architecture
Java High-Performance Architecture
Oct 14, 2021 · Operations

Build a Real‑Time Log Collection Pipeline with SpringBoot, Kafka, Filebeat, Logstash & Kibana

This guide walks through setting up a complete log‑collection and visualization pipeline—including SpringBoot log4j2 configuration, Kafka broker creation, Filebeat forwarding, Logstash processing, and Kibana dashboard setup—so you can capture, ship, and analyze application logs in real time.

ElasticsearchFilebeatKafka
0 likes · 17 min read
Build a Real‑Time Log Collection Pipeline with SpringBoot, Kafka, Filebeat, Logstash & Kibana
macrozheng
macrozheng
Oct 9, 2021 · Backend Development

Master Swagger Integration in SpringBoot: Step-by-Step Guide & Advanced Features

This article walks through integrating Swagger into a SpringBoot project, covering dependency setup, configuration, handling common issues like ResponseBodyAdvice conflicts, enhancing UI with Knife4j, and leveraging Swagger’s grouping feature for parameter validation, providing complete code snippets and troubleshooting tips for seamless API documentation.

API documentationJavaKnife4j
0 likes · 14 min read
Master Swagger Integration in SpringBoot: Step-by-Step Guide & Advanced Features
Java Tech Enthusiast
Java Tech Enthusiast
Oct 8, 2021 · Backend Development

How to Share Session Across Distributed SpringBoot Services with Redis and Spring Session

This article walks through the challenges of sharing HTTP session data between micro‑services in a distributed SpringBoot architecture, demonstrates a Redis‑based manual solution, introduces Spring Session for transparent session clustering, and resolves OpenFeign cookie loss with a request interceptor.

Distributed SystemsOpenFeignSession
0 likes · 12 min read
How to Share Session Across Distributed SpringBoot Services with Redis and Spring Session
macrozheng
macrozheng
Oct 7, 2021 · Backend Development

Essential Java Libraries Every Backend Developer Should Master

This article surveys the most commonly used Java libraries and tools—from Netty and SpringBoot to JUnit, JMH, OkHttp, HikariCP, Caffeine, Hazelcast, logging frameworks, Jackson, Jolokia, Hibernate Validator, and FreeMarker—highlighting their roles, advantages, and integration tips for modern enterprise development.

JavaSpringBootcaching
0 likes · 11 min read
Essential Java Libraries Every Backend Developer Should Master
Code Ape Tech Column
Code Ape Tech Column
Sep 29, 2021 · Backend Development

Integrating smart-doc with SpringBoot: A Comprehensive Guide

This article introduces smart-doc as a zero‑annotation alternative to Swagger, compares their features, and provides step‑by‑step instructions—including Maven setup, configuration files, debugging, response‑body advice, custom headers, parameter grouping, and IDE integration—to generate rich API documentation for SpringBoot projects.

JavaSpringBootsmart-doc
0 likes · 9 min read
Integrating smart-doc with SpringBoot: A Comprehensive Guide
Code Ape Tech Column
Code Ape Tech Column
Sep 28, 2021 · Backend Development

Using EasyExcel for Excel Import and Export in Java

This article introduces the EasyExcel library for Java, demonstrating how to quickly set up Excel import and export with Maven dependencies, entity annotations, custom converters, listeners for validation, and controller code for both reading and writing data, along with common API usage and examples.

DataValidationExcelImportExport
0 likes · 9 min read
Using EasyExcel for Excel Import and Export in Java
Code Ape Tech Column
Code Ape Tech Column
Sep 24, 2021 · Backend Development

Implementing Message Confirmation in Spring Boot with RabbitMQ: Configuration, Callbacks, and Common Pitfalls

This article explains how to set up Spring Boot and RabbitMQ message confirmation, covering environment preparation, publisher and consumer callback implementations, acknowledgment methods, testing procedures, and practical pitfalls such as missed acknowledgments, infinite redelivery loops, and duplicate consumption.

JavaMessageConfirmationMessaging
0 likes · 13 min read
Implementing Message Confirmation in Spring Boot with RabbitMQ: Configuration, Callbacks, and Common Pitfalls
macrozheng
macrozheng
Sep 22, 2021 · Backend Development

Build a Real-Time Log Pipeline with SpringBoot, Kafka, Filebeat, Logstash and Kibana

This guide walks through setting up a complete log‑collection and visualization pipeline—preparing servers, configuring a SpringBoot project with Log4j2, deploying Kafka, installing Filebeat, creating Logstash pipelines, and visualizing logs in Elasticsearch and Kibana—so you can monitor application logs in real time.

ElasticsearchFilebeatKafka
0 likes · 17 min read
Build a Real-Time Log Pipeline with SpringBoot, Kafka, Filebeat, Logstash and Kibana
Programmer DD
Programmer DD
Sep 22, 2021 · Information Security

Why Sa-Token Is the Simplest Java Permission Framework for SpringBoot

This article introduces Sa-Token, a lightweight Java permission authentication framework, showcases its simple API with code examples, lists its extensive features such as login, SSO, OAuth2.0 and distributed sessions, and provides Maven dependency, configuration, and quick‑start demo for SpringBoot projects.

AuthenticationJavaSa-Token
0 likes · 11 min read
Why Sa-Token Is the Simplest Java Permission Framework for SpringBoot
Top Architect
Top Architect
Sep 16, 2021 · Backend Development

Building a Log Collection and Visualization Pipeline with SpringBoot, Log4j2, Kafka, Filebeat, Logstash, Elasticsearch, and Kibana

This tutorial walks through the end‑to‑end setup of a logging pipeline that starts with a SpringBoot application using Log4j2, forwards logs to Kafka, collects them with Filebeat, processes them via Logstash, and finally visualizes them in Elasticsearch and Kibana, covering server preparation, configuration files, and essential code snippets.

ElasticsearchFilebeatKafka
0 likes · 17 min read
Building a Log Collection and Visualization Pipeline with SpringBoot, Log4j2, Kafka, Filebeat, Logstash, Elasticsearch, and Kibana
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.

DockerGracefulShutdownMicroservices
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.

JavaSpringBootannotations
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.

JavaSeckillSpringBoot
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.

SpringBootVuefull-stack
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.

AuthenticationAuthorizationJava
0 likes · 13 min read
Mastering Sa-Token: Simplify SpringBoot Authentication and Authorization
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.

DockerMinioSpringBoot
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.

GlobalExceptionHandlingJavaSpringBoot
0 likes · 14 min read
SpringBoot Global Exception Handling Tutorial with Custom Error Responses
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 24, 2021 · Backend Development

Enable Placeholder Expressions in Custom SpringBoot Annotations

Learn how to create a custom SpringBoot annotation that supports ${…} placeholder expressions by adding AspectJ dependencies, defining the annotation, implementing an AOP aspect that resolves placeholders via EnvironmentAware, storing the result in a ThreadLocal, and using it in a service and controller.

Custom AnnotationEnvironmentJava
0 likes · 4 min read
Enable Placeholder Expressions in Custom SpringBoot Annotations
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.

AuthenticationAuthorizationMicroservices
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.

BackendSpringBootembedded server
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.

AutomationDevOpsJenkins
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.

@RefreshScopeConfigurationSpringBoot
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.

BackendCacheEhcache
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.

CacheCaffeineJava
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.

CacheCustom AnnotationSpringBoot
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.

BackendConfigurationJava
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 DevelopmentJavaQuantitative Trading
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.

SpringBootaoppropagation
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.

BackendGitHubJava
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.

JavaNacosSQL
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.

SpringBootflash saleoptimistic lock
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.

LogisticsSpringBootWeb Development
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.

BackendCORSCross-Origin
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.

JavaSpringBootaop
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.

GlobalExceptionHandlingJavaSpringBoot
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.

BackendInterceptorMyBatis
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.

DockerGradleJava
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.

BackendComponentScanJava
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