Tagged articles
3873 articles
Page 30 of 39
Top Architect
Top Architect
Sep 23, 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 in Java projects, covering environment setup, reading Excel files with less or more than 1000 rows, exporting data with and without model mapping, handling multiple sheets, and includes full code examples for each operation.

ExcelFile I/OSpring Boot
0 likes · 14 min read
Using Alibaba EasyExcel for Reading and Writing Excel Files in Java
Tech Musings
Tech Musings
Sep 21, 2021 · Backend Development

Migrating a Java Spring Microservice to Kotlin: Practical Steps and Pitfalls

This article shares a developer’s experience converting a Java Spring Boot microservice to Kotlin, covering why Kotlin is attractive, required Maven plugins and dependencies, code‑migration quirks such as open classes and @Jvm annotations, testing hurdles, and the final decision to revert to Java.

KotlinMavenSpring Boot
0 likes · 11 min read
Migrating a Java Spring Microservice to Kotlin: Practical Steps and Pitfalls
Code Ape Tech Column
Code Ape Tech Column
Sep 21, 2021 · Backend Development

Overview of Spring Web MVC, Bean, and Boot Annotations

This article provides a comprehensive guide to Spring MVC request‑mapping annotations, Spring Bean lifecycle and dependency‑injection annotations, as well as Spring Boot conditional and configuration annotations, illustrating each with code examples and usage notes for Java backend development.

Spring Bootannotationsjava
0 likes · 13 min read
Overview of Spring Web MVC, Bean, and Boot Annotations
The Dominant Programmer
The Dominant Programmer
Sep 20, 2021 · Backend Development

Convert DOC to HTML with Spring Boot and OpenOffice: A Step-by-Step Guide

This guide walks through installing OpenOffice on a Windows server, launching its headless service, adding jodconverter dependencies to a Spring Boot project, configuring conversion settings, writing a controller to transform DOC files into HTML, and invoking the endpoint from a Vue front‑end, with troubleshooting tips.

MavenSpring Bootdoc-to-html
0 likes · 7 min read
Convert DOC to HTML with Spring Boot and OpenOffice: A Step-by-Step Guide
Programmer DD
Programmer DD
Sep 18, 2021 · Backend Development

Isolating Spring @Async Thread Pools to Prevent Task Interference

This tutorial explains why the default shared thread pool for @Async tasks can cause unrelated services to block each other, and shows step‑by‑step how to configure separate thread pools for different async tasks in Spring Boot, complete with code examples and a unit test.

AsyncConcurrencySpring Boot
0 likes · 10 min read
Isolating Spring @Async Thread Pools to Prevent Task Interference
Programmer DD
Programmer DD
Sep 17, 2021 · Backend Development

Avoid Out‑of‑Memory Errors: Properly Configure Spring Boot Async Thread Pool

This article explains why using @Async in Spring Boot can cause memory overflow when many requests trigger parallel tasks, examines the default thread‑pool settings that lead to unbounded queues, and provides step‑by‑step configuration of a safe thread pool to prevent out‑of‑memory failures.

AsyncPerformanceSpring Boot
0 likes · 11 min read
Avoid Out‑of‑Memory Errors: Properly Configure Spring Boot Async Thread Pool
Python Crawling & Data Mining
Python Crawling & Data Mining
Sep 16, 2021 · Frontend Development

Boost Your Captcha Labeling Speed with a Vue‑Spring Annotation Tool

This article walks through building a web‑based, high‑efficiency image captcha labeling system using a Vue admin template for the frontend and Spring Boot for the backend, detailing functional modules, technology stack, deployment steps, and demo results to streamline data annotation before AI model training.

Spring BootVuedata labeling
0 likes · 6 min read
Boost Your Captcha Labeling Speed with a Vue‑Spring Annotation Tool
Code Ape Tech Column
Code Ape Tech Column
Sep 16, 2021 · Backend Development

Practical Guide to Micrometer: JVM Metrics Framework with Spring Boot, Prometheus, and Grafana

This article introduces the Micrometer metrics library for JVM applications, explains its core Meter types and registries, demonstrates how to instrument Spring Boot services with counters, timers, gauges, and other meters, and shows end‑to‑end integration with Prometheus and Grafana for monitoring.

MetricsMicrometerSpring Boot
0 likes · 29 min read
Practical Guide to Micrometer: JVM Metrics Framework with Spring Boot, Prometheus, and Grafana
Sohu Tech Products
Sohu Tech Products
Sep 15, 2021 · Backend Development

SpringOne Conference Summary: Spring Framework 6 and Spring Boot 3 Roadmap, JDK 17 Baseline, and Spring Native Updates

The SpringOne conference announced that Spring Framework 6 and Spring Boot 3 will reach production‑ready GA status in Q4 2022, outlined their milestone and release‑candidate schedule, required JDK 17 and Jakarta EE 9 compatibility, detailed Spring Native's native‑image support, and previewed upcoming Spring Boot 2.6 and 2.7 releases.

JDK 17Spring BootSpring Framework
0 likes · 4 min read
SpringOne Conference Summary: Spring Framework 6 and Spring Boot 3 Roadmap, JDK 17 Baseline, and Spring Native Updates
Top Architect
Top Architect
Sep 14, 2021 · Backend Development

Implementing Delayed Message Delivery with RabbitMQ and Spring Boot

This article explains how to implement delayed message delivery in RabbitMQ using the official delayed‑queue plugin and Spring Boot, compares traditional approaches such as Redis expiration and database polling, and provides complete configuration and code examples for producers and consumers.

Message queueRabbitMQSpring Boot
0 likes · 8 min read
Implementing Delayed Message Delivery with RabbitMQ and Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Sep 14, 2021 · Backend Development

Large File Upload with Chunking, Resume, and RandomAccessFile in Java

This article explains how to handle multi‑gigabyte video uploads by splitting files into chunks, using MD5 for identification, implementing resumable and instant uploads with Spring Boot and Redis, and leveraging Java's RandomAccessFile and memory‑mapped I/O for efficient merging.

ChunkingRandomAccessFileRedis
0 likes · 15 min read
Large File Upload with Chunking, Resume, and RandomAccessFile in Java
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 14, 2021 · Backend Development

How to Efficiently Batch Insert Data with Spring Boot and Elasticsearch

This guide demonstrates how to set up Spring Boot 2.3.12 with Elasticsearch 7.8, configure separate JPA and Elasticsearch repositories, and implement two batch insertion methods—using ElasticsearchRestTemplate and repository saveAll—while measuring performance, showing comparable execution times for inserting 10,000 records.

Backend DevelopmentBatch InsertElasticsearch
0 likes · 4 min read
How to Efficiently Batch Insert Data with Spring Boot and Elasticsearch
Programmer DD
Programmer DD
Sep 14, 2021 · Backend Development

Boost Spring Boot Performance: Mastering Synchronous vs Asynchronous Calls

This article explains the difference between synchronous and asynchronous method calls in Spring Boot, shows how to convert blocking tasks into @Async methods, demonstrates unit‑test setups with CompletableFuture for proper coordination, and provides complete code examples to reduce overall execution time.

AsyncConcurrencySpring Boot
0 likes · 10 min read
Boost Spring Boot Performance: Mastering Synchronous vs Asynchronous Calls
Top Architect
Top Architect
Sep 13, 2021 · Backend Development

Encrypting Spring Boot Configuration Properties with Jasypt

This article demonstrates how to use the Jasypt library to encrypt sensitive Spring Boot configuration properties such as database credentials, showing Maven dependency setup, encryption password configuration, test code for generating encrypted values, and how to replace plaintext with ENC() placeholders in application.yml, including deployment salt handling.

JasyptSpring Bootencryption
0 likes · 5 min read
Encrypting Spring Boot Configuration Properties with Jasypt
Top Architect
Top Architect
Sep 12, 2021 · Backend Development

Implementing Distributed Transactions with RabbitMQ and Spring Boot

This article explains how to use RabbitMQ as a message middleware in a Spring Boot application to achieve distributed transactions between order and dispatch services, detailing environment setup, configuration, code implementation, testing, and verification of data consistency across systems.

Message queueMySQLRabbitMQ
0 likes · 11 min read
Implementing Distributed Transactions with RabbitMQ and Spring Boot
macrozheng
macrozheng
Sep 11, 2021 · Backend Development

What’s Coming in Spring Framework 6.0? Roadmap, Features, and Release Timeline

The SpringOne conference highlighted the upcoming Spring Framework 6.0, detailing its Java 17 and Jakarta EE 9 foundation, roadmap milestones, key migration points, Spring Boot 3 integration, and the imminent Java 17 release, offering developers a clear view of the next decade of Spring development.

Backend DevelopmentSpring BootSpring Framework
0 likes · 5 min read
What’s Coming in Spring Framework 6.0? Roadmap, Features, and Release Timeline
Architect's Guide
Architect's Guide
Sep 10, 2021 · Backend Development

Implementing Database Read‑Write Separation with Spring Boot

This article explains how to achieve database read‑write separation in high‑concurrency scenarios using Spring Boot, covering the concepts of master‑slave architecture, configuration of multiple data sources, routing logic with AbstractRoutingDataSource, context management, custom annotations, AOP handling, and practical usage examples with code snippets.

AOPDataSource RoutingSpring Boot
0 likes · 11 min read
Implementing Database Read‑Write Separation with Spring Boot
Top Architect
Top Architect
Sep 10, 2021 · Backend Development

retrofit-spring-boot-starter: A Lightweight HTTP Client Framework for Spring Boot

The article introduces retrofit-spring-boot-starter, a Spring Boot‑compatible lightweight HTTP client library that integrates Retrofit with extensive features such as custom OkHttpClient injection, annotation‑driven interceptors, logging, retry, error decoding, circuit‑breaker support, connection‑pool management, call adapters and data converters, providing a concise way to perform HTTP calls in Java backend projects.

Circuit BreakerHTTP clientInterceptor
0 likes · 21 min read
retrofit-spring-boot-starter: A Lightweight HTTP Client Framework for Spring Boot
Top Architect
Top Architect
Sep 9, 2021 · Big Data

Building a Site Search Engine with Elasticsearch, Spring Boot, and IK Analyzer

This article demonstrates how to construct a full‑text site search solution by selecting Elasticsearch as the search engine, Spring Boot for the backend service, and the IK analyzer for Chinese tokenization, covering environment setup, project architecture, key code implementations, UI pages, and a concise conclusion on the effectiveness of the approach.

Backend DevelopmentElasticsearchFull-Text Search
0 likes · 18 min read
Building a Site Search Engine with Elasticsearch, Spring Boot, and IK Analyzer
Code Ape Tech Column
Code Ape Tech Column
Sep 9, 2021 · Databases

Sharding-JDBC Introduction and Practical Guide to Database Sharding with ShardingSphere

This article introduces Sharding-JDBC (now ShardingSphere), explains core sharding concepts such as shards, data nodes, logical and physical tables, sharding keys, algorithms and strategies, shows how it extends JDBC, and provides a step‑by‑step Spring Boot + MyBatis‑Plus example for building a sharded database application.

Mybatis-PlusSharding-JDBCShardingSphere
0 likes · 30 min read
Sharding-JDBC Introduction and Practical Guide to Database Sharding with ShardingSphere
IT Architects Alliance
IT Architects Alliance
Sep 8, 2021 · Backend Development

Why Scaffolding Frameworks Like Spring Boot Are Essential for Modern Microservices

The article explains the concept of software scaffolding, why it is needed for microservice development, outlines key design principles, shares a real‑world case of replacing a custom persistence layer with Spring Data, and reviews popular scaffolding tools such as Vue CLI, Maven, Netty, Java EE, Dropwizard and Spring Boot.

Backend DevelopmentSoftware ArchitectureSpring Boot
0 likes · 11 min read
Why Scaffolding Frameworks Like Spring Boot Are Essential for Modern Microservices
Programmer DD
Programmer DD
Sep 6, 2021 · Fundamentals

Master JUnit5: Why Upgrade from JUnit4 and How to Use Its Powerful Features

This article explains why developers should switch from JUnit4 to JUnit5, outlines the JUnit5 architecture, shows how to add the proper Maven dependency, and provides practical examples of common annotations, assertions, repeated, parameterized, and nested tests for Spring Boot projects.

JUnit5Spring Bootassertions
0 likes · 7 min read
Master JUnit5: Why Upgrade from JUnit4 and How to Use Its Powerful Features
Top Architect
Top Architect
Sep 4, 2021 · Backend Development

Understanding Spring Boot Default Logging Configuration and Customization

This article explains Spring Boot's default logging setup using SLF4J and Logback, demonstrates how to view log levels in a test class, shows how to modify log levels via application properties, and details the underlying XML configuration files and how to customize them for different environments.

Backend DevelopmentLoggingSpring Boot
0 likes · 13 min read
Understanding Spring Boot Default Logging Configuration and Customization
Programmer DD
Programmer DD
Sep 4, 2021 · Backend Development

What’s Coming in Spring Framework 6.0? Roadmap, Features, and Release Timeline

The SpringOne conference went online and revealed the upcoming Spring Framework 6.0 built on Java 17 and Jakarta EE 9, outlining its development milestones, key changes from 5.3, cloud‑native enhancements, Spring Boot 3 integration, and the imminent release of Java 17 that will usher in a new era for Java developers.

Backend DevelopmentSpring BootSpring Framework
0 likes · 5 min read
What’s Coming in Spring Framework 6.0? Roadmap, Features, and Release Timeline
Code Ape Tech Column
Code Ape Tech Column
Sep 4, 2021 · Backend Development

Knife4j: A Lightweight Swagger UI Enhancement for Java MVC Frameworks

Knife4j is a lightweight, feature‑rich solution that enhances Swagger UI for Java MVC frameworks, offering customizable configurations, offline document export, and seamless integration with Spring Boot and Spring Cloud micro‑service architectures, while providing open‑source repositories and clear usage instructions.

API documentationKnife4jOpen Source
0 likes · 5 min read
Knife4j: A Lightweight Swagger UI Enhancement for Java MVC Frameworks
Architect's Guide
Architect's Guide
Sep 3, 2021 · Backend Development

Integrating Alipay’s New Transfer Interface (alipay.fund.trans.uni.transfer) with Spring Boot

This guide explains how to replace the deprecated Alipay transfer API with the new alipay.fund.trans.uni.transfer interface by upgrading the SDK, configuring certificates, adding Maven dependencies, and implementing Spring‑Boot beans, configuration classes, and utility methods for secure fund transfers.

AlipayPayment IntegrationSDK
0 likes · 11 min read
Integrating Alipay’s New Transfer Interface (alipay.fund.trans.uni.transfer) with Spring Boot
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.

JacksonJasyptSpring Boot
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 concurrencySpring Boot
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.

DDDObservabilityOpenTelemetry
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 documentationBackend DevelopmentSpring Boot
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.

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

Backend DevelopmentLombokSpring Boot
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.

RedisRedissonSpring Boot
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.

Backend DevelopmentREST APISpring Boot
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.

Backend DevelopmentConfigurationPropertiesSpring Boot
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.

OAuth2Spring BootSpring 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.

DecryptionExceptionJasyptSpring Boot
0 likes · 7 min read
Why Does Jasypt Decryption Fail in Spring Boot? Common Causes & Fixes
Java Interview Crash Guide
Java Interview Crash Guide
Aug 17, 2021 · Backend Development

Master Spring Boot Actuator: Real‑Time Monitoring, Metrics, and Dynamic Log Management

This article walks through setting up Spring Boot Actuator for microservice monitoring, explains the most important endpoints such as /health, /metrics, /loggers, shows how to expose and secure them, and demonstrates dynamic log level changes, custom health indicators, and integration with Spring Security.

ActuatorMetricsSpring Boot
0 likes · 16 min read
Master Spring Boot Actuator: Real‑Time Monitoring, Metrics, and Dynamic Log Management
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.

Spring Bootgraalvmjava
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.

Speech RecognitionSpring Bootjava
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.

Spring BootSpring Cloud Sleuthdistributed tracing
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 replicationShardingSphereSpring Boot
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.

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

KafkaSpring BootStream Processing
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.

@RefreshScopeBackend DevelopmentConfiguration Refresh
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.

BackendSpring Bootannotations
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.

Spring Bootgraalvmjava
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.

Backend DevelopmentMySQLRedis
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 AnnotationInterceptorRedis
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.

Backend DevelopmentHibernate ValidatorSpring Boot
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 ConsistencyCachingDistributed Systems
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.

InterceptorRedisSpring Boot
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.

AuthenticationBackend DevelopmentSession Management
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.

BackendSpring Bootjava
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.

Spring BootZookeeperdistributed-lock
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.

Backend DevelopmentControllerAdviceException Handling
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.

Spring Bootdistributed transactionsjava
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 ShutdownSpring Bootjava
0 likes · 9 min read
Graceful Shutdown and Startup for Microservices with Spring Boot and Docker
Top Architect
Top Architect
Aug 2, 2021 · Backend Development

Understanding Spring Boot @SpringBootApplication and Its Auto‑Configuration Mechanism

This article explains how Spring Boot’s @SpringBootApplication annotation combines several meta‑annotations, how auto‑configuration classes are loaded from META‑INF/spring.factories, and demonstrates building a custom starter that configures a Tomcat web server, with full code examples and Maven setup.

Spring BootStarterauto-configuration
0 likes · 14 min read
Understanding Spring Boot @SpringBootApplication and Its Auto‑Configuration Mechanism
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.

APIFrameworkSpring Boot
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.

MyBatisSchedulerSpring Boot
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.

APIBackend DevelopmentPayment Integration
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.

AOPAuthenticationSpring Boot
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.

AOPArgumentResolverBackend Development
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 ManagementNacosSpring Boot
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 ControlBackendSpring Boot
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.

AOPAspect Oriented ProgrammingBackend
0 likes · 18 min read
Understanding AOP in Spring Boot: Concepts, Code Examples, and Annotation Guide