Tagged articles
3838 articles
Page 30 of 39
Programmer DD
Programmer DD
Sep 3, 2021 · Backend Development

How to Build a Java SMS Verification System with Spring Boot

This guide walks through the complete backend workflow for generating, sending, and validating SMS verification codes in a Spring Boot application, covering code generation, API integration, session handling, and utility classes with full Java examples.

Code ExampleHTTP requestSMS Verification
0 likes · 7 min read
How to Build a Java SMS Verification System with Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Sep 3, 2021 · Backend Development

Data Desensitization Techniques for Configuration Files, API Responses, and Log Files in Spring Boot

This article explains how to protect sensitive information in Spring Boot applications by encrypting configuration files with jasypt‑spring‑boot, masking API response fields using a custom Jackson annotation, and filtering log output with a custom Log4j2 PatternLayout, providing complete code examples for each method.

JacksonJasyptdata masking
0 likes · 16 min read
Data Desensitization Techniques for Configuration Files, API Responses, and Log Files in Spring Boot
Selected Java Interview Questions
Selected Java Interview Questions
Sep 2, 2021 · Backend Development

Implementing Distributed Transactions with RabbitMQ in a Spring Boot Application

This tutorial demonstrates how to set up a CentOS 7.5 environment, install RabbitMQ, and use Spring Boot to create a distributed transaction system that ensures data consistency across order and dispatch services by leveraging RabbitMQ's confirm and ACK mechanisms, complete with database schema, configuration, and code examples.

Message QueueMySQLRabbitMQ
0 likes · 12 min read
Implementing Distributed Transactions with RabbitMQ in a Spring Boot Application
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 1, 2021 · Backend Development

Boost Spring Boot Order Calls: Sync vs Async with ThreadPool & CompletableFuture

This article compares synchronous and various asynchronous approaches for invoking multiple third‑party services in a Spring Boot order‑creation workflow, demonstrating plain sequential calls, manual thread creation, thread‑pool execution, CompletionService handling, and CompletableFuture composition, and shows their performance impact through timing results.

CompletableFutureJava concurrencyThreadPool
0 likes · 8 min read
Boost Spring Boot Order Calls: Sync vs Async with ThreadPool & CompletableFuture
DevOps
DevOps
Aug 31, 2021 · Backend Development

Designing an Uber‑Like Microservice System with DDD, OpenTelemetry Observability, and Reinforced Chaos Engineering

This article describes how to model a complex Uber‑style ride‑hailing system using Domain‑Driven Design, implement it with Java Spring Boot microservices, instrument it with OpenTelemetry for full observability, and validate the observability pipeline through a gamified chaos‑engineering approach that reduces MTTR.

DDDMicroservicesObservability
0 likes · 13 min read
Designing an Uber‑Like Microservice System with DDD, OpenTelemetry Observability, and Reinforced Chaos Engineering
macrozheng
macrozheng
Aug 30, 2021 · Backend Development

Master Spring Boot Parameter Validation: Custom Rules, Group Checks, and Global Error Handling

This tutorial explains why parameter validation is essential in Spring Boot APIs, shows how to integrate the JSR‑303 Validator, demonstrates custom annotations, group validation, and simplifies error responses with a global exception handler, providing complete code examples for each step.

Custom AnnotationException HandlingGroup Validation
0 likes · 17 min read
Master Spring Boot Parameter Validation: Custom Rules, Group Checks, and Global Error Handling
Programmer DD
Programmer DD
Aug 28, 2021 · Backend Development

Master the Updated Spring Boot Swagger Starter with Pure Configuration

This article explains the history, recent updates, and step‑by‑step usage of the Spring Boot Swagger starter, including dependency setup, detailed configuration options, grouping, JSR‑303 validation support, custom response messages, UI tweaks, ignored parameter types, and authorization settings.

API documentationStarterSwagger
0 likes · 17 min read
Master the Updated Spring Boot Swagger Starter with Pure Configuration
Architecture Digest
Architecture Digest
Aug 27, 2021 · Backend Development

Four Ways to Implement a Generic AppKey Whitelist in Spring Boot

This article explains four approaches to adding a generic appkey whitelist check in a Spring Boot web framework—traditional AOP, HandlerInterceptor, custom HandlerMethodArgumentResolver, and Servlet Filter—providing implementation steps, code examples, and a discussion of their execution order and extensibility.

ArgumentResolverAuthenticationInterceptor
0 likes · 12 min read
Four Ways to Implement a Generic AppKey Whitelist in Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Aug 27, 2021 · Operations

Monitoring Spring Boot Applications with Spring Actuator, Micrometer, Prometheus, and Grafana

This article demonstrates how to set up comprehensive monitoring for a Spring Boot application by integrating Spring Actuator, Micrometer, Prometheus, and Grafana, covering component introductions, sample code creation, Docker-based Prometheus and Grafana deployment, and dashboard configuration for real‑time metrics visualization.

ActuatorMicrometerspring-boot
0 likes · 9 min read
Monitoring Spring Boot Applications with Spring Actuator, Micrometer, Prometheus, and Grafana
Java Backend Technology
Java Backend Technology
Aug 24, 2021 · Backend Development

Is Lombok a Blessing or a Curse? Uncovering Hidden Pitfalls in Java Development

This article examines the advantages and hidden risks of using Lombok in Java projects, illustrating how its annotations can dramatically reduce boilerplate code while also introducing version compatibility issues, forced dependencies, reduced readability, increased coupling, and technical debt, and suggests alternative approaches for cleaner code.

Lombokbackend-developmentcode-generation
0 likes · 11 min read
Is Lombok a Blessing or a Curse? Uncovering Hidden Pitfalls in Java Development
Programmer DD
Programmer DD
Aug 22, 2021 · Backend Development

Mastering Distributed Locks with Redis: From Basics to Redisson

This article walks through the evolution of Redis‑based distributed locks, illustrating common pitfalls and step‑by‑step improvements—from simple set‑if‑absent locks to atomic UUID checks and Lua‑scripted releases, culminating in a robust Redisson solution.

distributed-lockjavaredis
0 likes · 8 min read
Mastering Distributed Locks with Redis: From Basics to Redisson
Code Ape Tech Column
Code Ape Tech Column
Aug 20, 2021 · Backend Development

Build Restful File Upload & Download APIs with Spring Boot 2.2.6

This step‑by‑step tutorial explains how to create Restful file upload and download APIs using Spring Boot 2.2.6, covering environment setup, project structure, interface and implementation details, size‑limit configuration, global exception handling, and testing the endpoints with Postman.

REST APIbackend-developmentfile upload
0 likes · 11 min read
Build Restful File Upload & Download APIs with Spring Boot 2.2.6
Top Architect
Top Architect
Aug 19, 2021 · Backend Development

Understanding Spring Boot Auto‑Configuration Mechanism

This article explains how Spring Boot's auto‑configuration works by loading configuration classes from spring.factories, using @EnableAutoConfiguration and conditional annotations to bind properties from application.properties or application.yml to beans such as ServerProperties, enabling rapid backend development without extensive manual setup.

ConfigurationPropertiesauto-configurationbackend-development
0 likes · 8 min read
Understanding Spring Boot Auto‑Configuration Mechanism
Programmer DD
Programmer DD
Aug 19, 2021 · Backend Development

Integrate WeChat OAuth2 with Spring Security for Secure Web Apps

This guide walks through setting up WeChat web authorization, customizing Spring Security's OAuth2 flow, handling token exchange, and retrieving user info, providing a complete backend solution for secure WeChat-enabled applications.

OAuth2WeChat OAuth2Web Security
0 likes · 16 min read
Integrate WeChat OAuth2 with Spring Security for Secure Web Apps
Programmer DD
Programmer DD
Aug 17, 2021 · Backend Development

Why Does Jasypt Decryption Fail in Spring Boot? Common Causes & Fixes

This article explains why a DecryptionException occurs when using Jasypt in Spring Boot, outlines the typical reasons such as mismatched passwords or missing Unlimited Strength JCE, and provides step‑by‑step instructions to resolve the issue.

DecryptionExceptionJasyptjava
0 likes · 7 min read
Why Does Jasypt Decryption Fail in Spring Boot? Common Causes & Fixes
Java Architecture Diary
Java Architecture Diary
Aug 16, 2021 · Backend Development

Boost Your IoT Apps with mica-mqtt: Low‑Latency, High‑Performance MQTT Framework

The article introduces mica-mqtt, an open‑source MQTT component built on t‑io that offers simple, low‑latency, high‑performance messaging, outlines its features, provides Spring Boot and plain Java integration steps, shows configuration examples, and explains monitoring and clustering capabilities for IoT applications.

graalvmjavaspring-boot
0 likes · 10 min read
Boost Your IoT Apps with mica-mqtt: Low‑Latency, High‑Performance MQTT Framework
HelloTech
HelloTech
Aug 13, 2021 · Backend Development

Understanding WebSocket Protocol and Its Application in Real‑Time Speech Recognition

The article explains why traditional polling methods fall short for real‑time data, introduces the WebSocket protocol’s full‑duplex handshake and heartbeat mechanisms, and demonstrates how a Java‑based WebSocket service efficiently streams audio to an ASR engine for low‑latency speech recognition.

javareal-time-communicationspeech recognition
0 likes · 12 min read
Understanding WebSocket Protocol and Its Application in Real‑Time Speech Recognition
Java Architect Essentials
Java Architect Essentials
Aug 12, 2021 · Cloud Native

Integrating Zipkin with Spring Cloud Sleuth for Distributed Tracing in Microservices

The article explains how to implement distributed tracing in a microservice architecture using Spring Cloud Sleuth and Zipkin, covering the concepts of spans and traces, configuration steps, code examples, deployment methods, sampling considerations, and persistence options such as MySQL and Elasticsearch.

Distributed TracingMicroservicesSpring Cloud Sleuth
0 likes · 25 min read
Integrating Zipkin with Spring Cloud Sleuth for Distributed Tracing in Microservices
Top Architect
Top Architect
Aug 12, 2021 · Databases

Comprehensive Guide to ShardingSphere-Jdbc, MySQL Master‑Slave Replication, and Sharding Strategies

This article provides a detailed walkthrough of ShardingSphere‑Jdbc read/write splitting, MySQL master‑slave replication setup with Docker, the differences between redo log and binlog, two‑phase commit, and practical sharding configurations using inline strategies and distributed primary keys in a Spring Boot project.

MySQL replicationShardingSphereread/write splitting
0 likes · 23 min read
Comprehensive Guide to ShardingSphere-Jdbc, MySQL Master‑Slave Replication, and Sharding Strategies
Java Backend Technology
Java Backend Technology
Aug 12, 2021 · Databases

Mastering Spring Data Redis: From Configuration to Advanced Queries

Learn how to integrate Spring Data Redis with Spring Boot, replace Jedis with Lettuce, define data models using @RedisHash and @Indexed, configure connection properties, implement CRUD and example queries, and understand the underlying key-value storage patterns illustrated with practical code and visual examples.

CRUDLettuceSpring Data Redis
0 likes · 13 min read
Mastering Spring Data Redis: From Configuration to Advanced Queries
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 12, 2021 · Backend Development

Master Kafka Streams in Spring Boot: Real‑Time Data Processing with Code Samples

This guide walks through setting up Kafka Streams with Spring Boot 2.3, covering environment configuration, core concepts, topology design, and multiple practical examples—including message sending, listening, transformations, aggregations, filtering, branching, and multi‑field grouping—complete with full code snippets and execution results.

Kafkajavakafka streams
0 likes · 13 min read
Master Kafka Streams in Spring Boot: Real‑Time Data Processing with Code Samples
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 10, 2021 · Backend Development

How Spring Cloud RefreshScope Works: From Annotation to Runtime Refresh

This article explains the inner workings of Spring Cloud's RefreshScope, covering its annotation definition, registration in the auto‑configuration, the refresh endpoint workflow, event handling, and how beans annotated with @ConfigurationProperties or @RefreshScope are dynamically refreshed at runtime.

@RefreshScopeConfiguration RefreshSpring Cloud
0 likes · 10 min read
How Spring Cloud RefreshScope Works: From Annotation to Runtime Refresh
Code Ape Tech Column
Code Ape Tech Column
Aug 10, 2021 · Backend Development

Understanding the Spring Boot Auto‑Configuration Mechanism

This article explains how Spring Boot’s auto‑configuration works, covering configuration files, key annotations like @EnableAutoConfiguration, conditionals, and the role of XxxxProperties and XxxxAutoConfiguration classes in binding properties and loading beans into the Spring container.

Backendannotationsauto-configuration
0 likes · 9 min read
Understanding the Spring Boot Auto‑Configuration Mechanism
Java Architecture Diary
Java Architecture Diary
Aug 9, 2021 · Backend Development

Boost Your IoT Apps with mica-mqtt: High‑Performance MQTT Server & Client Guide

The article introduces mica-mqtt, a lightweight, low‑latency, high‑performance MQTT component built on t‑io, detailing its features, configuration for Spring Boot and plain Java projects, custom interfaces, clustering, monitoring with Prometheus‑Grafana, and provides code examples for both server and client integration.

graalvmjavaspring-boot
0 likes · 10 min read
Boost Your IoT Apps with mica-mqtt: High‑Performance MQTT Server & Client Guide
Top Architect
Top Architect
Aug 8, 2021 · Backend Development

My First Java Web Project: From Planning to Deployment – A Full‑Stack Journey

This article recounts the author’s experience building a simple Java web application for a university anniversary, covering planning, environment setup, documentation, database design, coding challenges with Spring Boot, Redis, and session handling, deployment on Alibaba Cloud, and the lessons learned about architecture, logging, and monitoring.

DeploymentMySQLProject Management
0 likes · 10 min read
My First Java Web Project: From Planning to Deployment – A Full‑Stack Journey
Architecture Digest
Architecture Digest
Aug 8, 2021 · Backend Development

Implementing Rate Limiting in Spring Boot Using a Custom Annotation and Redis

This article demonstrates how to create a custom @AccessLimit annotation in Spring Boot, implement a rate‑limiting interceptor that checks request frequency via Redis, register the interceptor, and apply the annotation to controller methods to enforce request limits with optional login verification.

Custom AnnotationInterceptorjava
0 likes · 6 min read
Implementing Rate Limiting in Spring Boot Using a Custom Annotation and Redis
Programmer DD
Programmer DD
Aug 7, 2021 · Backend Development

Master Spring Validation: Advanced Techniques, Group & Nested Validation in Spring Boot

This comprehensive guide dives deep into Spring Validation, covering basic usage, dependency setup, requestBody and requestParam validation, group and nested validation, custom constraints, fail‑fast mode, and the underlying implementation in Spring MVC and AOP, all with practical code examples.

Hibernate ValidatorSpring Validationbackend-development
0 likes · 19 min read
Master Spring Validation: Advanced Techniques, Group & Nested Validation in Spring Boot
Java Tech Enthusiast
Java Tech Enthusiast
Aug 7, 2021 · Backend Development

Cache Optimization and Distributed Locking in High-Concurrency Systems

By illustrating how to replace simple HashMap caching with Redis‑based distributed caches and locks—using SETNX, Lua scripts, and Redisson—the article shows Spring Boot developers how to prevent cache breakdown, ensure data consistency, and dramatically improve throughput in high‑concurrency web applications.

Cache ConsistencyDistributed SystemsLoad Testing
0 likes · 16 min read
Cache Optimization and Distributed Locking in High-Concurrency Systems
Programmer DD
Programmer DD
Aug 7, 2021 · Information Security

How to Seamlessly Integrate Keycloak with Spring Security in Spring Boot

This tutorial explains step‑by‑step how to add Keycloak authentication to a Spring Boot application using the Spring Security adapter, covering Maven dependencies, configuration files, custom resolvers, role mapping, session strategies, and the typical authorization code flow.

AuthenticationKeycloakOAuth2
0 likes · 10 min read
How to Seamlessly Integrate Keycloak with Spring Security in Spring Boot
Top Architect
Top Architect
Aug 6, 2021 · Backend Development

Implementing Rate Limiting in Spring Boot Using a Custom Annotation and Redis

This article demonstrates how to create a custom @AccessLimit annotation, implement a Spring Boot interceptor that checks Redis for request counts, register the interceptor, and apply the annotation to a controller method to enforce rate‑limiting with optional login verification.

Interceptorannotationjava
0 likes · 4 min read
Implementing Rate Limiting in Spring Boot Using a Custom Annotation and Redis
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 5, 2021 · Backend Development

Master Spring Security: Step‑by‑Step Authentication Flow in Spring Boot

This article walks through the Spring Security authentication flow in a Spring Boot 2.2.11 application, detailing filter execution, token creation, provider selection, custom DaoAuthenticationProvider configuration, and session management, complemented by code snippets and diagrams for each step.

AuthenticationSession Managementbackend-development
0 likes · 8 min read
Master Spring Security: Step‑by‑Step Authentication Flow in Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Aug 5, 2021 · Backend Development

Integrating WebSocket with Spring Boot: A Step‑by‑Step Guide

This article introduces WebSocket, explains why it is preferred over HTTP for real‑time communication, and provides a complete Spring Boot integration tutorial with Maven dependencies, configuration, server endpoint code, controller, and a simple HTML client, all illustrated with runnable examples.

Backendjavareal-time-communication
0 likes · 12 min read
Integrating WebSocket with Spring Boot: A Step‑by‑Step Guide
Yang Money Pot Technology Team
Yang Money Pot Technology Team
Aug 4, 2021 · Backend Development

Design and Implementation of ylock: A Distributed ReentrantReadWriteLock Framework

This article explains the challenges of distributed locking, compares existing lock services, and details the design, implementation, and monitoring features of the ylock framework, which provides reentrant read‑write locks over Redis and Zookeeper with unified APIs and Spring Boot integration.

ZooKeeperdistributed-lockspring-boot
0 likes · 24 min read
Design and Implementation of ylock: A Distributed ReentrantReadWriteLock Framework
macrozheng
macrozheng
Aug 4, 2021 · Backend Development

Master Global Exception Handling in Spring Boot with @ControllerAdvice

This article explains how to use Spring Boot's @ControllerAdvice and @ExceptionHandler annotations to implement clean, global exception handling, covering basic usage, controller‑specific handlers, and ordered advice for multiple handlers, with practical code examples and diagrams.

ControllerAdviceException Handlingbackend-development
0 likes · 7 min read
Master Global Exception Handling in Spring Boot with @ControllerAdvice
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 4, 2021 · Backend Development

Mastering Seata Global Transactions in Spring Boot 2.2: A Step-by-Step Guide

This article walks through configuring Spring Boot 2.2.11 with Seata 1.3.0, detailing environment setup, dependency configuration, global transaction activation, proxy bean creation, data source proxying, transaction interceptor mechanisms, XID propagation via RestTemplate and Feign, and the complete commit‑and‑rollback workflow.

Distributed TransactionsMicroservicesSeata
0 likes · 31 min read
Mastering Seata Global Transactions in Spring Boot 2.2: A Step-by-Step Guide
Top Architect
Top Architect
Aug 3, 2021 · Backend Development

Graceful Shutdown and Startup 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 listeners, Docker stop signals, and external container scripts, providing code examples and best‑practice recommendations for both built‑in and external containers.

Graceful ShutdownMicroservicesjava
0 likes · 9 min read
Graceful Shutdown and Startup for Microservices with Spring Boot and Docker
Top Architect
Top Architect
Aug 1, 2021 · Backend Development

Introducing Magic-API: A Java Rapid Development Framework for HTTP APIs

Magic-API is a Java-based rapid development framework that enables developers to create HTTP API interfaces without writing traditional controller, service, DAO, or XML code, offering extensive features, quick-start Maven integration, configurable properties, and a visual UI for managing endpoints.

APIFrameworkjava
0 likes · 4 min read
Introducing Magic-API: A Java Rapid Development Framework for HTTP APIs
Programmer DD
Programmer DD
Jul 31, 2021 · Backend Development

Build a Spring Boot Web Crawler with WebMagic, MyBatis, and MySQL

This tutorial demonstrates how to combine Spring Boot, WebMagic, and MyBatis to crawl Zhihu pages, configure Maven dependencies, set up MySQL data sources, define entity and mapper classes, and schedule the crawler to run periodically, providing a complete Java web‑crawling scaffold.

SchedulerWeb CrawlingWebMagic
0 likes · 14 min read
Build a Spring Boot Web Crawler with WebMagic, MyBatis, and MySQL
Top Architect
Top Architect
Jul 30, 2021 · Backend Development

Integrating Alipay’s New Transfer API with Spring Boot (Java)

This guide explains how to replace the old Alipay transfer interface with the new certificate‑based alipay.fund.trans.uni.transfer API, upgrade the SDK, configure certificates, add Maven dependencies, and implement Spring‑Boot beans and utility classes for secure payment and transfer operations.

APIPayment Integrationbackend-development
0 likes · 10 min read
Integrating Alipay’s New Transfer API with Spring Boot (Java)
Java Interview Crash Guide
Java Interview Crash Guide
Jul 29, 2021 · Backend Development

Spring Boot Auth Whitelist: AOP, Interceptor, Resolver, and Filter

This article compares four Spring Boot techniques—traditional AOP, HandlerInterceptor, custom HandlerMethodArgumentResolver, and Servlet Filter—for implementing a generic appkey whitelist validation, explains their implementation steps with code examples, and clarifies their execution order within the request processing pipeline.

Authenticationaopjava
0 likes · 11 min read
Spring Boot Auth Whitelist: AOP, Interceptor, Resolver, and Filter
Selected Java Interview Questions
Selected Java Interview Questions
Jul 28, 2021 · Backend Development

Four Ways to Implement a Generic Auth Whitelist in Spring Boot: AOP, Interceptor, ArgumentResolver, and Filter

This article explains four Spring‑Boot techniques—traditional AOP, HandlerInterceptor, HandlerMethodArgumentResolver, and Servlet Filter—to implement a reusable appkey whitelist validation, provides complete code examples for each, and clarifies their execution order within the request processing pipeline.

ArgumentResolverInterceptoraop
0 likes · 10 min read
Four Ways to Implement a Generic Auth Whitelist in Spring Boot: AOP, Interceptor, ArgumentResolver, and Filter
Programmer DD
Programmer DD
Jul 26, 2021 · Backend Development

How to Upgrade to Nacos‑Spring‑Boot 0.2.10 and Unlock 10× Performance with gRPC

This guide explains how to upgrade Spring Boot projects to Nacos‑Spring‑Boot 0.2.10, covering new features such as full Nacos 2.0 compatibility, automatic config‑type detection, SpEL support, and high‑concurrency fixes, and provides step‑by‑step client and server deployment instructions with verification.

Configuration ManagementMicroservicesNacos
0 likes · 10 min read
How to Upgrade to Nacos‑Spring‑Boot 0.2.10 and Unlock 10× Performance with gRPC
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 26, 2021 · Information Security

Mastering JWT: Secure API Authentication with Spring Boot

This guide explains the fundamentals of JSON Web Tokens, their structure and claim types, typical use cases such as authorization and secure data exchange, and provides a step‑by‑step Spring Boot implementation including dependency setup, token generation, interceptor validation, and protected endpoint testing.

API SecurityAuthenticationJWT
0 likes · 7 min read
Mastering JWT: Secure API Authentication with Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Jul 26, 2021 · Backend Development

Integrating Alibaba Sentinel with Spring Boot for API Flow Control

This step‑by‑step guide shows how to set up the Sentinel dashboard, add the Sentinel client to a Spring Boot project, define protected resources programmatically or with annotations, start the dashboard, and configure flow‑control and degradation rules to limit API traffic.

API Flow ControlBackendMicroservices
0 likes · 9 min read
Integrating Alibaba Sentinel with Spring Boot for API Flow Control
Selected Java Interview Questions
Selected Java Interview Questions
Jul 24, 2021 · Backend Development

Understanding AOP in Spring Boot: Concepts, Code Examples, and Annotation Guide

This article explains Aspect‑Oriented Programming (AOP) in Spring Boot, covering its core concepts, why it simplifies cross‑cutting concerns like logging and permission checks, provides step‑by‑step code examples of simple and advanced AOP implementations, and details the most commonly used AOP annotations.

Aspect Oriented ProgrammingBackendannotations
0 likes · 18 min read
Understanding AOP in Spring Boot: Concepts, Code Examples, and Annotation Guide
Programmer DD
Programmer DD
Jul 22, 2021 · Backend Development

Boost Spring Boot Scheduled Tasks with Elastic Job Sharding

This tutorial explains how to use Elastic Job's sharding configuration in Spring Boot to accelerate scheduled task execution, improve resource utilization, and achieve high‑availability by distributing work across multiple job instances.

Elastic-JobScheduled Tasksbackend-development
0 likes · 8 min read
Boost Spring Boot Scheduled Tasks with Elastic Job Sharding
Programmer DD
Programmer DD
Jul 21, 2021 · Backend Development

Master Distributed Scheduling in Spring Boot with ElasticJob Lite

This guide explains how to replace @Scheduled with the Apache ElasticJob Lite framework in a Spring Boot application, covering project setup, dependency configuration, job implementation, ZooKeeper registration, sharding settings, and testing in a clustered environment to achieve reliable distributed task execution.

Distributed Schedulingjavaspring-boot
0 likes · 10 min read
Master Distributed Scheduling in Spring Boot with ElasticJob Lite
Java Backend Technology
Java Backend Technology
Jul 17, 2021 · Backend Development

Unlock Powerful API Docs with Knife4j: A Complete Guide for Java Backend Developers

Knife4j is a lightweight, feature‑rich enhancement for Swagger that integrates seamlessly with Java MVC frameworks, offering customizable UI, advanced functionalities like interface sorting and export options, and easy Maven integration for both monolithic Spring Boot and Spring Cloud microservice architectures.

API documentationKnife4jSwagger
0 likes · 7 min read
Unlock Powerful API Docs with Knife4j: A Complete Guide for Java Backend Developers
Top Architect
Top Architect
Jul 16, 2021 · Backend Development

Flash-Waimai: A Complete Spring Boot + Vue Food Delivery System Tutorial

This article introduces the Flash-Waimai project—a full‑stack food delivery system built with Spring Boot, Vue.js, MySQL and MongoDB—detailing its architecture, module breakdown, database setup, quick‑start commands, and step‑by‑step instructions for launching the backend, admin portal, and mobile client.

MongoDBMySQLVue.js
0 likes · 5 min read
Flash-Waimai: A Complete Spring Boot + Vue Food Delivery System Tutorial
Programmer DD
Programmer DD
Jul 16, 2021 · Information Security

Secure Your Spring Boot App with Keycloak: Step‑by‑Step OIDC Integration

This guide walks you through creating a Keycloak realm, registering a client, defining roles and mappings, obtaining and refreshing JWT tokens, and configuring a Spring Boot application with the Keycloak Spring Boot starter to protect endpoints via OIDC authentication.

AuthenticationAuthorizationKeycloak
0 likes · 8 min read
Secure Your Spring Boot App with Keycloak: Step‑by‑Step OIDC Integration
Programmer DD
Programmer DD
Jul 15, 2021 · Backend Development

Mastering Spring Boot Scheduled Tasks: From Basics to Distributed Locks

This tutorial explains how to create and configure scheduled tasks in Spring Boot, demonstrates code examples for simple 5‑second intervals, details the @Scheduled annotation parameters, and discusses the pitfalls of clustering without distributed locks.

Scheduled Tasksbackend-developmentjava
0 likes · 7 min read
Mastering Spring Boot Scheduled Tasks: From Basics to Distributed Locks
Top Architect
Top Architect
Jul 14, 2021 · Backend Development

Resolving CORS Issues in Spring Boot: Three Configuration Approaches

This article explains the Same Origin Policy, introduces CORS as its solution, and provides three practical Spring Boot configurations—including a global WebMvcConfigurer, a servlet filter, and the @CrossOrigin annotation—to enable cross‑origin requests safely and efficiently.

CORSjavaspring-boot
0 likes · 9 min read
Resolving CORS Issues in Spring Boot: Three Configuration Approaches
Java Architecture Diary
Java Architecture Diary
Jul 12, 2021 · Backend Development

Master IntelliJ IDEA 2021: Profiler, Microservice Graphs, Docker & JSONPath Debugging

This guide walks you through IntelliJ IDEA 2021’s revamped Profiler, the new microservice call‑graph analysis for Spring Boot, Micronaut and Quarkus, the Docker‑based run configurations, and the built‑in JSONPath expression debugger, showing how to leverage each feature to improve development efficiency.

DockerIntelliJ IDEAJsonPath
0 likes · 3 min read
Master IntelliJ IDEA 2021: Profiler, Microservice Graphs, Docker & JSONPath Debugging
Su San Talks Tech
Su San Talks Tech
Jul 12, 2021 · Backend Development

Master Redisson: Simplify Distributed Locks in Spring Boot

This tutorial explains how to integrate Redisson into a Spring Boot application to implement robust distributed locks, covering Redisson's architecture, configuration, code examples, lock types, watchdog mechanism, and practical testing procedures for reentrant, read‑write, and semaphore locks.

redisredissonspring-boot
0 likes · 13 min read
Master Redisson: Simplify Distributed Locks in Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 10, 2021 · Backend Development

Mastering Programmatic Transaction Management in Spring Boot 2.3.9

This guide explains Spring Boot's two programmatic transaction approaches—TransactionTemplate/TransactionalOperator and direct TransactionManager—provides detailed code examples for using TransactionTemplate with return values, rollbacks, property configuration, demonstrates PlatformTransactionManager usage, and shows how to listen to transaction events with @TransactionalEventListener.

Programmatic Transactionsbackend-developmentjava
0 likes · 8 min read
Mastering Programmatic Transaction Management in Spring Boot 2.3.9
Programmer DD
Programmer DD
Jul 10, 2021 · Backend Development

Why Lombok Fails After an IDEA Upgrade and How to Fix It

After upgrading IntelliJ IDEA, Lombok annotations may stop working and cause compilation errors, but updating Lombok to version 1.18.14 or later and adjusting IDE settings can restore functionality for Java and Spring Boot projects.

Annotation ProcessingIntelliJ IDEAjava
0 likes · 3 min read
Why Lombok Fails After an IDEA Upgrade and How to Fix It
Top Architect
Top Architect
Jul 8, 2021 · Backend Development

Implementing Dynamic Add/Delete/Start/Stop Scheduled Tasks in Spring Boot

This article explains how to overcome Spring Boot's static @Scheduled limitation by customizing the task scheduler, creating wrapper classes and a registrar to dynamically add, remove, start, and stop cron‑based jobs, with full code examples and a database‑driven design.

Dynamic SchedulingScheduled Tasksbackend-development
0 likes · 11 min read
Implementing Dynamic Add/Delete/Start/Stop Scheduled Tasks in Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 8, 2021 · Backend Development

Mastering Servlet Registration in Spring Boot 2.3.9: From Annotations to Dynamic Registration

This guide explains three ways to register Servlets in Spring Boot 2.3.9—including @ServletComponentScan with @WebServlet, ServletRegistrationBean, and dynamic registration via ServletContextInitializer—while detailing the underlying scanning mechanism, BeanFactory post‑processor workflow, and how Tomcat ultimately registers the servlet.

Dynamic RegistrationServletWeb Development
0 likes · 11 min read
Mastering Servlet Registration in Spring Boot 2.3.9: From Annotations to Dynamic Registration
Top Architect
Top Architect
Jul 7, 2021 · Backend Development

Optimizing Spring Boot Fat JARs: Splitting Dependencies and Reducing Deployment Size

This article explains how to shrink large Spring Boot fat JAR files by separating dependencies into a lib directory and creating small business JARs, covering three optimization levels—including standard dependency separation, merging modules into a shared lib, and handling system‑scope third‑party SDKs—complete with Maven configurations and code examples.

Jar OptimizationMicroservicesdependency management
0 likes · 21 min read
Optimizing Spring Boot Fat JARs: Splitting Dependencies and Reducing Deployment Size
Java Architecture Diary
Java Architecture Diary
Jul 7, 2021 · Backend Development

What’s New in Spring GraphQL 1.0? A Deep Dive into Features and Roadmap

Spring GraphQL 1.0 introduces seamless integration of GraphQL Java with Spring, offering HTTP and WebSocket handlers, security annotations, exception resolvers, testing utilities, metrics, Querydsl support, and a schema‑first approach, while outlining the roadmap and resources for developers.

GraphQLSpring GraphQLbackend-development
0 likes · 10 min read
What’s New in Spring GraphQL 1.0? A Deep Dive into Features and Roadmap
Java High-Performance Architecture
Java High-Performance Architecture
Jul 6, 2021 · Backend Development

How to Implement Fine‑Grained Operation Logging in Spring Boot with BizLog SDK

This article explains how the BizLog component records who performed which action at what time in Spring Boot applications, covering Maven setup, annotation usage, custom operators, detail fields, category segregation, SpEL expressions, custom parse functions, and extension points for persistence and operator retrieval.

BizLogannotationaop
0 likes · 16 min read
How to Implement Fine‑Grained Operation Logging in Spring Boot with BizLog SDK
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jul 5, 2021 · Databases

Integrating Alibaba Druid Connection Pool with Spring Boot: Configuration and Monitoring Guide

This article provides a comprehensive guide on integrating the Alibaba Druid JDBC connection pool into a Spring Boot application, covering its components, powerful monitoring features, password encryption, SQL parsing, Maven and YAML configuration, filter setup, and how to access the Druid monitoring console.

Database Connection PoolDruidconfiguration
0 likes · 11 min read
Integrating Alibaba Druid Connection Pool with Spring Boot: Configuration and Monitoring Guide
macrozheng
macrozheng
Jul 5, 2021 · Backend Development

Master Spring Cache: Simplify Caching Across Redis, Ehcache, and More

This article introduces Spring Cache as a unified caching solution that abstracts away the specifics of Redis, Ehcache, and other providers, explains its core concepts, annotations, configuration, and demonstrates practical usage with code examples to eliminate manual cache handling.

EhcacheSpring Cachecaching
0 likes · 16 min read
Master Spring Cache: Simplify Caching Across Redis, Ehcache, and More
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 3, 2021 · Backend Development

How to Configure Master‑Slave Data Sources in Spring Boot with JPA & MyBatis

This guide walks through setting up a Spring Boot 2.1.4 application with JDK 1.8, Oracle, and HikariCP to use separate master and slave data sources, covering Maven dependencies, YAML configuration, custom property classes, JPA EntityManager factories, MyBatis SqlSession factories, mapper scanning, and sample entity definitions.

HikariCPMultiple Data SourcesOracle
0 likes · 19 min read
How to Configure Master‑Slave Data Sources in Spring Boot with JPA & MyBatis
Top Architect
Top Architect
Jul 2, 2021 · Backend Development

Step‑by‑Step Guide to Building a Spring Cloud Microservices Architecture with Eureka, Ribbon, and Feign

This article provides a comprehensive tutorial on the fundamentals of microservices, explains how to set up a Spring Cloud project with Maven and IntelliJ IDEA, configures Eureka registration and discovery, demonstrates service provider and consumer implementations using Spring Boot, and shows how to achieve high‑availability Eureka clusters with load‑balanced calls via Ribbon and Feign.

MicroservicesRibbonSpring Cloud
0 likes · 19 min read
Step‑by‑Step Guide to Building a Spring Cloud Microservices Architecture with Eureka, Ribbon, and Feign