Tagged articles
3838 articles
Page 33 of 39
dbaplus Community
dbaplus Community
Feb 2, 2021 · Backend Development

How to Diagnose Disk‑Space Exhaustion During a Traffic Surge and Build a Dynamic Log‑Level Degradation Tool

During a high‑traffic promotion a service ran out of disk space because massive log files weren't cleaned, the investigation revealed a lingering SLS process holding deleted files, and the article walks through the root‑cause analysis, the kill‑process fix, and a Spring‑Boot starter that dynamically degrades log levels to prevent recurrence.

Log Managementdisk spacedynamic logging
0 likes · 20 min read
How to Diagnose Disk‑Space Exhaustion During a Traffic Surge and Build a Dynamic Log‑Level Degradation Tool
IT Xianyu
IT Xianyu
Feb 1, 2021 · Backend Development

Sharing HTTP Session Across a Cluster with Redis in Spring Boot

This article demonstrates how to reproduce the session loss problem in a load‑balanced Spring Boot application, explains its cause, and provides a step‑by‑step solution using Redis for shared session storage, including code, Nginx configuration, and deployment instructions.

BackendClusterSession
0 likes · 5 min read
Sharing HTTP Session Across a Cluster with Redis in Spring Boot
Java Captain
Java Captain
Jan 30, 2021 · Backend Development

Graceful Shutdown of Spring Boot Applications: Risks of kill -9 and Proper Termination Techniques

This article explains why using the forceful kill -9 command to stop Linux processes can cause data loss and inconsistent states, especially in distributed systems, and demonstrates several graceful shutdown methods for Spring Boot—including SIGTERM, ConfigurableApplicationContext.close(), Actuator shutdown endpoints, custom Tomcat connector handling, and @PreDestroy data‑backup hooks—complete with code examples and execution logs.

BackendGraceful ShutdownLinux
0 likes · 22 min read
Graceful Shutdown of Spring Boot Applications: Risks of kill -9 and Proper Termination Techniques
Java Captain
Java Captain
Jan 29, 2021 · Backend Development

Flash-Waimai: A Complete Food Delivery System Based on Spring Boot and Vue.js

Flash‑Waimai is an open‑source, full‑stack food delivery application featuring a mobile client, admin portal, and API, built with Spring Boot for the backend, Vue.js for the frontend, MySQL and MongoDB for data storage, and includes detailed setup instructions, code snippets, and deployment guides.

TutorialVue.jsfood delivery
0 likes · 4 min read
Flash-Waimai: A Complete Food Delivery System Based on Spring Boot and Vue.js
Top Architect
Top Architect
Jan 28, 2021 · Backend Development

Comprehensive Spring Boot Project Template and Best Practices for Backend Development

This article presents a comprehensive Spring Boot project template for backend development, detailing README guidelines, one‑click local build scripts, business‑oriented package structure, automated test classifications, logging, exception handling, distributed locks, code style, static analysis, health checks, API documentation, database migration, multi‑environment setup, CORS configuration, and recommended third‑party libraries.

DockerProject Templatebackend-development
0 likes · 24 min read
Comprehensive Spring Boot Project Template and Best Practices for Backend Development
Code Ape Tech Column
Code Ape Tech Column
Jan 26, 2021 · Backend Development

Step‑by‑Step Guide to Building SSO with JWT and Spring Security

This tutorial explains the concept of Single Sign‑On, demonstrates a simple ticket‑based analogy, introduces JWT structure and RSA signing, and walks through a complete Spring Boot implementation—including project layout, Maven dependencies, configuration files, utility classes, custom authentication and verification filters, security configuration, and Postman testing—so readers can build a secure SSO service from scratch.

AuthenticationAuthorizationJWT
0 likes · 25 min read
Step‑by‑Step Guide to Building SSO with JWT and Spring Security
Java Architecture Diary
Java Architecture Diary
Jan 22, 2021 · Backend Development

Mastering RSocket with Spring Boot: Build Request‑Response, Fire‑Forget, Stream & Channel

This tutorial introduces RSocket—a reactive, binary, multiplexed protocol—and demonstrates how to install the RSC client, create a Spring Boot RSocket server, and implement all four interaction models (request‑response, fire‑forget, stream, and channel) with complete code examples.

Network ProtocolReactive Streamsbackend-development
0 likes · 7 min read
Mastering RSocket with Spring Boot: Build Request‑Response, Fire‑Forget, Stream & Channel
Code Ape Tech Column
Code Ape Tech Column
Jan 22, 2021 · Databases

Implementing Database Read-Write Separation with Spring Boot and MySQL

This article explains how to achieve database read‑write separation in high‑concurrency scenarios using Spring Boot, Druid connection pool, and MySQL, covering master‑slave data source configuration, routing via AbstractRoutingDataSource, context holder management, custom annotations, AOP switching, and usage examples with code snippets.

DataSource RoutingMySQLRead-Write Splitting
0 likes · 11 min read
Implementing Database Read-Write Separation with Spring Boot and MySQL
Sohu Tech Products
Sohu Tech Products
Jan 20, 2021 · Information Security

Securing Frontend‑Integrated APIs with Token, Timestamp, and Signature Validation in Spring

This article explains how to protect API endpoints that interact with front‑end applications by using token‑based authentication, timestamp checks, and MD5 signatures, detailing the implementation of open and secured controllers, login logic, signature verification, replay‑attack mitigation, and a Spring interceptor.

API SecurityInterceptorReplay attack
0 likes · 9 min read
Securing Frontend‑Integrated APIs with Token, Timestamp, and Signature Validation in Spring
vivo Internet Technology
vivo Internet Technology
Jan 20, 2021 · Databases

Why HikariCP Is the Fastest Database Connection Pool: A Deep Dive

The article explains how HikariCP outperforms other JDBC pools by using bytecode‑generated proxies, a custom FastList, and a thread‑local ConcurrentBag, delivering superior speed, low resource use, and easy migration, making it the default high‑performance connection pool for Spring Boot 2.0.

Concurrent ProgrammingConcurrentBagDatabase Connection Pool
0 likes · 14 min read
Why HikariCP Is the Fastest Database Connection Pool: A Deep Dive
Programmer DD
Programmer DD
Jan 20, 2021 · Backend Development

Eliminate Spring Boot Configuration Warnings with Auto‑Generated Metadata

This guide shows how to use Spring Boot’s configuration metadata processor to automatically generate metadata for custom properties, eliminating IDE warnings and enabling intelligent code completion in your backend applications while keeping your project clean and maintainable.

Configuration MetadataIDE integrationbackend-development
0 likes · 4 min read
Eliminate Spring Boot Configuration Warnings with Auto‑Generated Metadata
Programmer DD
Programmer DD
Jan 19, 2021 · Backend Development

How to Implement Real-Time WebSocket Messaging in Spring Boot

This article explains how to integrate WebSocket into a Spring Boot application, covering the protocol basics, Maven dependencies, configuration classes, server endpoint implementation, controller and front‑end code, and troubleshooting tips for full‑duplex real‑time communication.

backend-developmentjavareal-time messaging
0 likes · 12 min read
How to Implement Real-Time WebSocket Messaging in Spring Boot
Java Architect Essentials
Java Architect Essentials
Jan 16, 2021 · Backend Development

Integrating Retrofit with Spring Boot Using retrofit‑spring‑boot‑starter

This article explains how to quickly integrate the Retrofit HTTP client into a Spring Boot project with the retrofit‑spring‑boot‑starter, covering dependency setup, configuration annotations, interface definition, custom annotation‑based interceptors, connection‑pool management, logging, exception formatting, call adapters, converters, and global interceptors, all illustrated with complete code examples.

HTTPInterceptorRetrofit
0 likes · 13 min read
Integrating Retrofit with Spring Boot Using retrofit‑spring‑boot‑starter
macrozheng
macrozheng
Jan 14, 2021 · Backend Development

Mastering CORS in Spring Boot: Simple Configurations to Eliminate Cross‑Origin Errors

This article explains the Same Origin Policy, introduces the CORS standard, details simple and preflight request handling, lists essential response headers, and provides three practical Spring Boot solutions—including global configuration, a servlet filter, and the @CrossOrigin annotation—to resolve cross‑origin issues.

BackendCORSCross-Origin
0 likes · 10 min read
Mastering CORS in Spring Boot: Simple Configurations to Eliminate Cross‑Origin Errors
Java Architecture Diary
Java Architecture Diary
Jan 14, 2021 · Backend Development

How to Migrate a Spring Boot JPA App to Quarkus for Faster Startup

This guide demonstrates step‑by‑step how to transform a Spring Boot application that uses JPA for CRUD operations into a Quarkus‑based microservice, covering Maven dependencies, configuration changes, main class adaptation, and optional extensions such as actuator health checks and Flyway migrations.

Quarkusjavajpa
0 likes · 7 min read
How to Migrate a Spring Boot JPA App to Quarkus for Faster Startup
Programmer DD
Programmer DD
Jan 12, 2021 · Databases

Master Database Version Control in Spring Boot with Flyway

This tutorial walks you through using Flyway in a Spring Boot application to manage MySQL schema versions, from initial table creation and CRUD implementation to incremental migrations like adding new columns, complete with Maven dependencies, SQL scripts, Java code, and automated tests.

FlywayMySQLVersion Control
0 likes · 13 min read
Master Database Version Control in Spring Boot with Flyway
Programmer DD
Programmer DD
Jan 9, 2021 · Backend Development

How to Write Unit Tests for File Upload APIs in Spring Boot

This guide shows backend developers how to write unit tests for file‑upload endpoints in Spring Boot using MockMvc, including a complete example with MockMultipartFile and emphasizing test‑driven design for better code quality.

MockMvcjavaspring-boot
0 likes · 4 min read
How to Write Unit Tests for File Upload APIs in Spring Boot
IT Xianyu
IT Xianyu
Jan 7, 2021 · Information Security

Understanding Same-Origin Policy and Solving CORS Issues in Spring Boot

This article explains the Same-Origin Policy, its security purpose and restrictions, introduces CORS as a solution for cross‑origin AJAX requests, and provides three practical ways—annotation, filter, and WebMvcConfigurerAdapter—to enable CORS in a Spring Boot application.

CORSCross-OriginSame-Origin Policy
0 likes · 6 min read
Understanding Same-Origin Policy and Solving CORS Issues in Spring Boot
Programmer DD
Programmer DD
Jan 7, 2021 · Backend Development

How to Implement File Upload in Spring Boot: Step-by-Step Guide

This tutorial explains how to add file‑upload functionality to a Spring Boot application, covering project setup, template engine configuration, HTML upload page creation, controller implementation, property settings, testing steps, and where to find the full source code.

backend-developmentjavaspring-boot
0 likes · 6 min read
How to Implement File Upload in Spring Boot: Step-by-Step Guide
Code Ape Tech Column
Code Ape Tech Column
Jan 7, 2021 · Backend Development

Master MyBatis-Plus with Spring Boot: From Setup to Advanced Features

This guide walks through setting up a MySQL database, configuring a Spring Boot project with MyBatis‑Plus, defining entities and mappers, and demonstrates CRUD operations, pagination, logical and physical deletes, optimistic locking, performance monitoring, and code generation, providing complete code snippets and configuration details.

CRUDLogical Deletecode-generation
0 likes · 17 min read
Master MyBatis-Plus with Spring Boot: From Setup to Advanced Features
macrozheng
macrozheng
Jan 6, 2021 · Backend Development

Essential Spring Boot Practices for Building Robust Microservices

This article outlines the golden rules for constructing Spring Boot microservices, covering monitoring with Spring Boot Admin and Grafana, exposing metrics via Actuator, centralized logging with ELK, clear API documentation using Swagger, YApi or smart‑doc, transparent build info, and keeping dependencies up‑to‑date.

API documentationMicroservicesdependency management
0 likes · 8 min read
Essential Spring Boot Practices for Building Robust Microservices
IT Xianyu
IT Xianyu
Jan 4, 2021 · Backend Development

Understanding Message Middleware Scenarios and Integrating RabbitMQ with Spring Boot

This article explains common message‑middleware use cases such as asynchronous processing, system decoupling, and traffic‑shaping, compares the performance of popular brokers, and provides a step‑by‑step guide with code examples for integrating RabbitMQ into a Spring Boot application.

Message QueueMicroservicesRabbitMQ
0 likes · 12 min read
Understanding Message Middleware Scenarios and Integrating RabbitMQ with Spring Boot
macrozheng
macrozheng
Jan 4, 2021 · Databases

Mastering Flyway: Automatic Database Migrations with Spring Boot, CLI, and Maven

This guide explains how Flyway automates database schema migrations using version‑controlled SQL scripts, covering its core concepts, naming conventions, command‑line usage, Maven integration, and seamless Spring Boot configuration to keep databases in sync with application releases.

CLIFlywaydatabase migration
0 likes · 16 min read
Mastering Flyway: Automatic Database Migrations with Spring Boot, CLI, and Maven
Java Architecture Diary
Java Architecture Diary
Jan 3, 2021 · Backend Development

Essential Spring Boot Practices for Building Robust Microservices

This guide outlines essential Spring Boot best practices for microservices, covering monitoring with Admin and Grafana, Actuator metrics, centralized logging via ELK, clear API docs using Swagger, YApi or smart-doc, build-info transparency, and keeping dependencies up-to-date.

API documentationActuatordependency management
0 likes · 8 min read
Essential Spring Boot Practices for Building Robust Microservices
Architect's Tech Stack
Architect's Tech Stack
Dec 29, 2020 · Databases

Implementing Database Read‑Write Separation with Spring Boot and MyBatis

This article explains how to implement database read‑write separation in a Spring Boot application using Druid connection pools, custom DataSource routing, a ThreadLocal context holder, and AOP‑based annotations, providing step‑by‑step configuration and usage examples with full Java code.

DataSource RoutingDatabase OptimizationRead-Write Separation
0 likes · 11 min read
Implementing Database Read‑Write Separation with Spring Boot and MyBatis
Programmer DD
Programmer DD
Dec 29, 2020 · Backend Development

Simplify WeChat Pay V3 Integration with Payment Spring Boot Starter

Payment Spring Boot is a lightweight Java library that implements WeChat Pay V3 for Spring Boot applications, offering easy configuration, multi‑merchant support, Alipay integration, and features such as basic payments, combined orders, vouchers, PayScore, and pre‑enjoy cards, with Maven coordinates and a changelog provided.

Payment IntegrationWeChat Payjava
0 likes · 3 min read
Simplify WeChat Pay V3 Integration with Payment Spring Boot Starter
JavaEdge
JavaEdge
Dec 27, 2020 · Cloud Native

Why Spring Cloud Struggles with Kubernetes and How to Bridge the Gap

The article explains how Spring Cloud's traditional microservice solutions conflict with Kubernetes' native mechanisms, outlines the official Spring Cloud‑Kubernetes integration project, and provides practical guidance on service discovery, configuration, and load balancing to help Java developers adopt a cloud‑native architecture.

Cloud NativeKubernetesSpring Cloud
0 likes · 8 min read
Why Spring Cloud Struggles with Kubernetes and How to Bridge the Gap
Tuhu Marketing Technology Team
Tuhu Marketing Technology Team
Dec 26, 2020 · Backend Development

Unveiling Spring Boot Auto‑Configuration: How It Works Under the Hood

This article walks through the inner workings of Spring Boot’s auto‑configuration mechanism, starting from a simple Hello World project, dissecting key annotations like @SpringBootApplication and @EnableAutoConfiguration, and tracing the source code of selectors, import groups, and the SpringApplication run process to reveal how beans are discovered, loaded, and registered at startup.

Spring Frameworkauto-configurationdependency-injection
0 likes · 27 min read
Unveiling Spring Boot Auto‑Configuration: How It Works Under the Hood
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Dec 24, 2020 · Backend Development

Resolving Duplicate Mapper Bean Warnings in Spring Boot 2.x with MyBatis‑Plus 3.4.1

This article explains why Spring Boot 2.x combined with MyBatis‑Plus 3.4.1 emits duplicate mapper bean warnings, analyzes the root cause in the MyBatis‑Spring integration, and provides a step‑by‑step fix by aligning dependency versions, especially upgrading the pagehelper‑spring‑boot‑starter to 1.3.0.

Duplicate BeanVersion Conflictdependency management
0 likes · 11 min read
Resolving Duplicate Mapper Bean Warnings in Spring Boot 2.x with MyBatis‑Plus 3.4.1
Programmer DD
Programmer DD
Dec 24, 2020 · Backend Development

Spring Cloud 2020.0 GA Released: What's New and How to Upgrade?

Spring Cloud 2020.0 GA launched on December 22, 2020, aligning with Spring Boot 2.4.1 and introducing numerous module updates, configuration changes, and dependency version upgrades, while deprecating outdated components and offering guidance for a smooth migration.

BackendMicroservicesSpring Cloud
0 likes · 5 min read
Spring Cloud 2020.0 GA Released: What's New and How to Upgrade?
Top Architect
Top Architect
Dec 22, 2020 · Backend Development

Building a WeChat Subscription Account Bot with Spring Boot and Image Moderation

This tutorial explains how to configure a WeChat public account, set up a Spring Boot backend with the wechat-spring-boot-starter, implement GET and POST endpoints for message verification and handling, and integrate an image‑moderation service to automatically reply to picture messages.

BackendBotImage Moderation
0 likes · 8 min read
Building a WeChat Subscription Account Bot with Spring Boot and Image Moderation
Java Captain
Java Captain
Dec 20, 2020 · Backend Development

Building a WeChat Subscription Account Bot with Spring Boot

This tutorial walks through configuring a WeChat public account, setting up a Spring Boot backend with the wechat‑spring‑boot‑starter, implementing verification and message‑receiving endpoints, handling image messages, and adding content‑moderation logic to create a functional subscription‑account robot.

BackendBotWeChat
0 likes · 6 min read
Building a WeChat Subscription Account Bot with Spring Boot
Programmer DD
Programmer DD
Dec 20, 2020 · Backend Development

Unlock Simple HTTP Calls in Spring Boot with retrofit-spring-boot-starter

This guide introduces retrofit-spring-boot-starter, a lightweight HTTP client for Spring Boot that simplifies request management, offers rich features such as custom OkHttp injection, annotation‑based interceptors, logging, retry, circuit‑breaker, and detailed configuration, with full code examples and usage patterns.

HTTP clientInterceptorMicroservices
0 likes · 24 min read
Unlock Simple HTTP Calls in Spring Boot with retrofit-spring-boot-starter
Programmer DD
Programmer DD
Dec 19, 2020 · Backend Development

Master Spring Boot 2.4 Multi‑Environment Config: From Profiles to Groups

This article explains how Spring Boot 2.4 changes multi‑environment configuration by replacing the old spring.profiles.include grouping with the new spring.profiles.group mechanism, showing before‑and‑after YAML examples, activation logs, and practical steps to migrate existing projects.

BackendMulti-EnvironmentProfiles
0 likes · 7 min read
Master Spring Boot 2.4 Multi‑Environment Config: From Profiles to Groups
Java Architecture Diary
Java Architecture Diary
Dec 19, 2020 · Backend Development

Boost Spring Boot Performance with GraalVM Native Images

This guide walks through installing GraalVM, adding the native‑image tool, creating a Spring Boot 2.4 project, configuring it for GraalVM, building a native executable, and comparing startup time and memory usage, showing how GraalVM can reduce startup from over a second to 0.2 seconds and memory from 480 MB to 25 MB.

Performance Optimizationgraalvmjava
0 likes · 8 min read
Boost Spring Boot Performance with GraalVM Native Images
Programmer DD
Programmer DD
Dec 17, 2020 · Backend Development

Spring Boot 2.4 Multi-Profile Configuration: From spring.profiles to spring.config.activate.on-profile

This article explains how Spring Boot 2.4 changes the way multi‑environment configurations are defined and activated, replacing the old spring.profiles property with spring.config.activate.on-profile and showing how to specify and launch profiles both in YAML files and via command‑line arguments.

ProfilesSpring 2.4backend-development
0 likes · 4 min read
Spring Boot 2.4 Multi-Profile Configuration: From spring.profiles to spring.config.activate.on-profile
Code Ape Tech Column
Code Ape Tech Column
Dec 16, 2020 · Backend Development

Understanding Idempotency and Implementing It in Spring Boot with Redis

This article explains the concept of idempotency, why it is needed for reliable API design, compares HTTP method idempotence, and presents four practical backend solutions—including unique primary keys, optimistic locking, anti‑repeat tokens, and downstream sequence numbers—accompanied by Spring Boot and Redis code examples.

REST APITokenjava
0 likes · 20 min read
Understanding Idempotency and Implementing It in Spring Boot with Redis
Laravel Tech Community
Laravel Tech Community
Dec 15, 2020 · Backend Development

lock4j-spring-boot-starter 2.1.0 Release Overview

lock4j-spring-boot-starter is a Spring Boot distributed lock library that provides simple yet powerful locking capabilities with support for Redisson, RedisTemplate, and Zookeeper, and the 2.1.0 release adds global configuration, executor enhancements, default priority ordering, and both declarative and programmatic usage options.

BackendZooKeeperdistributed-lock
0 likes · 2 min read
lock4j-spring-boot-starter 2.1.0 Release Overview
Java Architect Essentials
Java Architect Essentials
Dec 14, 2020 · Backend Development

How to Set Up Alibaba Sentinel for Rate Limiting in a Spring Boot Microservice

This guide walks you through installing Alibaba Sentinel’s dashboard, configuring a Spring Boot client, defining flow rules, and verifying that request throttling works, providing all necessary commands, Maven snippets, YAML settings, and UI screenshots for a complete end‑to‑end rate‑limiting solution.

Microservicescircuit breakerjava
0 likes · 10 min read
How to Set Up Alibaba Sentinel for Rate Limiting in a Spring Boot Microservice
Programmer DD
Programmer DD
Dec 13, 2020 · Backend Development

Mastering Bean Validation with Hibernate Validator: A Complete Guide for Spring Boot

This article explains how to use JSR‑380 Bean Validation 2.0 and Hibernate Validator in Spring Boot applications, covering built‑in constraints, custom annotations, group validation, method and container element validation, fast‑fail mode, and integration with @Valid and @Validated for clean, reusable data checks.

Bean ValidationHibernate ValidatorJSR-380
0 likes · 19 min read
Mastering Bean Validation with Hibernate Validator: A Complete Guide for Spring Boot
Programmer DD
Programmer DD
Dec 13, 2020 · Backend Development

What’s New in Spring Boot 2.4.1? Key Bug Fixes You Should Know

Spring Boot 2.4.1, the final release of the year, focuses on fixing numerous configuration‑related bugs across the 2.4.x line, providing developers with a more stable upgrade path and addressing issues from property binding to Actuator endpoints.

Bug FixesRelease Notesbackend-development
0 likes · 4 min read
What’s New in Spring Boot 2.4.1? Key Bug Fixes You Should Know
Java Captain
Java Captain
Dec 12, 2020 · Backend Development

Diagnosing and Resolving a 100 ms Latency Issue in a Spring Boot Channel System Using Arthas

This article details the step‑by‑step investigation of an unexpected ~100 ms response delay in a Spring Boot‑based channel system, showing how network checks, curl measurements, and deep tracing with the Arthas Java diagnostic tool pinpointed a Tomcat‑embed bug caused by Swagger‑UI resources and how upgrading Tomcat resolved the problem.

ArthasPerformance debuggingTomcat
0 likes · 30 min read
Diagnosing and Resolving a 100 ms Latency Issue in a Spring Boot Channel System Using Arthas
Java Architecture Diary
Java Architecture Diary
Dec 12, 2020 · Backend Development

What’s New in Spring Boot 2.4.1? Key Bug Fixes and Dependency Upgrades

Spring Boot’s final 2020 release introduces version 2.4.1 along with 2.3.7 and 2.2.12, delivering 59 bug fixes—including configuration file handling, actuator endpoint issues, and logging system NPEs—and a comprehensive set of dependency upgrades across libraries such as Caffeine, Hibernate, Kotlin, and Tomcat, with detailed release notes linked.

javaspring-boot
0 likes · 6 min read
What’s New in Spring Boot 2.4.1? Key Bug Fixes and Dependency Upgrades
Code Ape Tech Column
Code Ape Tech Column
Dec 11, 2020 · Databases

ShardingSphere Overview, Core Concepts, and Horizontal Sharding Example with Spring Boot

This article introduces Apache ShardingSphere's architecture—including ShardingSphere‑JDBC, ShardingSphere‑Proxy, and the upcoming Sidecar—explains data sharding principles, read/write splitting, and provides a complete Spring Boot example with Maven dependencies, Java source code, and configuration files for horizontal database partitioning.

JDBCShardingSpheredistributed databases
0 likes · 19 min read
ShardingSphere Overview, Core Concepts, and Horizontal Sharding Example with Spring Boot
Architects Research Society
Architects Research Society
Dec 8, 2020 · Backend Development

Using Apache Kafka with Spring Boot: Error Handling, Deserialization, Multi‑Listener, and Transactions

This article explains how to integrate Apache Kafka with Spring Boot, covering error recovery with SeekToCurrentErrorHandler, deserialization handling, domain‑object conversion, multiple listener routing, and transaction support, while providing complete code examples for each feature.

Apache KafkaError HandlingMessage Conversion
0 likes · 10 min read
Using Apache Kafka with Spring Boot: Error Handling, Deserialization, Multi‑Listener, and Transactions
Programmer DD
Programmer DD
Dec 8, 2020 · Backend Development

Is Spring MVC Still Relevant in the Age of Reactive WebFlux?

The article argues that Spring MVC remains a mainstream Java web framework but explores how the rise of reactive programming and Spring WebFlux reshapes its relevance, highlighting the shift toward front‑back separation, @RestController usage, and the broader Reactive Revolution in web development.

Spring MVCbackend-developmentjava
0 likes · 6 min read
Is Spring MVC Still Relevant in the Age of Reactive WebFlux?
Java Captain
Java Captain
Dec 7, 2020 · Backend Development

Spring Boot QQ Email Registration and Login Tutorial with Postman Testing

This tutorial explains how to create a Spring Boot project that implements QQ email‑based user registration and login, covering POP3/SMTP setup, Maven dependencies, MySQL schema, core Java classes, configuration files, and step‑by‑step Postman testing procedures.

Email VerificationMySQLPostman
0 likes · 11 min read
Spring Boot QQ Email Registration and Login Tutorial with Postman Testing
Programmer DD
Programmer DD
Dec 6, 2020 · Backend Development

Mastering WeChat Pay V3: Build Coupon APIs with Spring Boot Starter

This article walks through the complete process of integrating WeChat Pay V3 coupon and voucher features into a Spring Boot application, covering account setup, API workflow, model design, a reusable Spring Boot starter, configuration details, and sample code for creating and querying coupon batches.

CouponV3 APIWeChat Pay
0 likes · 8 min read
Mastering WeChat Pay V3: Build Coupon APIs with Spring Boot Starter
Java Backend Technology
Java Backend Technology
Dec 5, 2020 · Backend Development

What’s New in Spring Boot 2.4.0? Key Features and Migration Guide

Spring Boot 2.4.0 introduces a brand‑new configuration file handling system, updates core dependencies, deprecates legacy APIs, and changes default servlet registration, while still supporting Java 8‑15 and offering migration paths for older versions, making it essential reading for Java backend developers.

configurationjavamigration
0 likes · 20 min read
What’s New in Spring Boot 2.4.0? Key Features and Migration Guide
Programmer DD
Programmer DD
Dec 3, 2020 · Backend Development

How Kotlin Simplifies Spring Boot Backend Development: A Step‑by‑Step Guide

This article introduces Kotlin’s growing role in backend development, explains its interoperability with Java, and walks through creating a Spring Boot microservice using Kotlin, including project setup with Spring Initializr, Maven configuration, and sample code for a simple web endpoint, illustrating the benefits of concise Kotlin syntax.

KotlinKotlin TutorialMicroservices
0 likes · 12 min read
How Kotlin Simplifies Spring Boot Backend Development: A Step‑by‑Step Guide
Programmer DD
Programmer DD
Dec 2, 2020 · Backend Development

Build a Kotlin Spring Boot Web Service in Minutes

This article introduces Kotlin for backend development, explains why Kotlin works well with Spring Boot, and provides a step‑by‑step tutorial—including Maven setup, essential dependencies, and sample Kotlin code—to create a simple Spring Boot web application.

KotlinMicroservicesTutorial
0 likes · 10 min read
Build a Kotlin Spring Boot Web Service in Minutes
Architect's Tech Stack
Architect's Tech Stack
Nov 29, 2020 · Backend Development

Graceful Shutdown in Spring Boot 2.3.4: Configuration, Code Examples, and Shutdown Mechanisms

This article explains how Spring Boot 2.3.4 implements graceful shutdown for Jetty, Reactor Netty, Tomcat and Undertow, shows the simple YAML configuration, demonstrates code examples using DisposableBean and @PreDestroy, and describes the actuator shutdown endpoint and its relevance to Kubernetes liveness and readiness probes.

Graceful ShutdownKubernetesMicroservices
0 likes · 8 min read
Graceful Shutdown in Spring Boot 2.3.4: Configuration, Code Examples, and Shutdown Mechanisms
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 28, 2020 · Databases

Setting Up MySQL Master‑Slave Replication and Read/Write Splitting with Spring Boot

This guide explains how to install MySQL 8.0.16 on two CentOS7 servers, configure master‑slave replication with binlog, set up read/write splitting, and integrate the setup into a Spring Boot application using dynamic‑datasource, covering all necessary commands, configuration files, and code examples.

MySQLRead/Write Splittingmaster-slave replication
0 likes · 14 min read
Setting Up MySQL Master‑Slave Replication and Read/Write Splitting with Spring Boot
Top Architect
Top Architect
Nov 25, 2020 · Backend Development

Implementing a Two‑Level Cache System with Guava and Redis in Java

This article explains how to build a two‑level caching solution in Java by defining a generic cache interface, implementing a local Guava‑based cache and a distributed Redis cache, configuring Spring Boot integration, handling versioned keys for timely expiration, and providing sample code and unit tests.

Guavajavaspring-boot
0 likes · 26 min read
Implementing a Two‑Level Cache System with Guava and Redis in Java
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 25, 2020 · Backend Development

Implementing Login Authentication with Custom Annotations and Interceptors in Spring Boot

This guide demonstrates how to enforce login authentication in a Spring Boot application by defining a @LoginUser annotation, creating a corresponding interceptor, registering it in the MVC configuration, and testing the functionality with sample controller endpoints, illustrating session handling and thread‑local user storage.

Custom AnnotationLogin InterceptorSession Management
0 likes · 8 min read
Implementing Login Authentication with Custom Annotations and Interceptors in Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Nov 20, 2020 · Backend Development

How Spring Boot Auto‑Configuration Works: Inside @SpringBootApplication and @EnableAutoConfiguration

This article dissects Spring Boot's auto‑configuration mechanism by examining the source code of @SpringBootApplication, @EnableAutoConfiguration, @AutoConfigurationPackage, and the ImportSelector, explaining how starter packages, component scanning, and spring.factories drive the framework's zero‑configuration experience.

annotationsauto-configurationbackend-development
0 likes · 7 min read
How Spring Boot Auto‑Configuration Works: Inside @SpringBootApplication and @EnableAutoConfiguration
Top Architect
Top Architect
Nov 19, 2020 · Backend Development

Step-by-Step Guide to Building a Spring Cloud Eureka Server and Client with High Availability

This tutorial walks through creating a Spring Cloud microservice ecosystem by configuring a Eureka registration server, building a service provider and consumer with Spring Boot, demonstrating REST‑template and Ribbon integration, and setting up high‑availability Eureka clusters using multiple instances and load‑balancing strategies.

Spring Cloudeurekahigh availability
0 likes · 16 min read
Step-by-Step Guide to Building a Spring Cloud Eureka Server and Client with High Availability
Architecture Digest
Architecture Digest
Nov 19, 2020 · Cloud Native

Step-by-Step Guide to Building Spring Cloud Microservices with Eureka, Ribbon, and Feign

This tutorial walks through setting up Spring Cloud microservices using Spring Boot, configuring Eureka for service registration, implementing Ribbon and Feign for client-side load balancing, and configuring high‑availability Eureka clusters, complete with Maven pom.xml, application.yml, and Java code examples.

MicroservicesRibbonSpring Cloud
0 likes · 15 min read
Step-by-Step Guide to Building Spring Cloud Microservices with Eureka, Ribbon, and Feign
Code Ape Tech Column
Code Ape Tech Column
Nov 19, 2020 · Backend Development

Demystifying Spring Boot Startup: A Deep Dive into SpringApplication.run()

This article provides a step‑by‑step technical analysis of Spring Boot's startup process, breaking down the creation of SpringApplication, the configuration of application type, initializers, listeners, and the eight phases executed by the run() method, complete with code snippets and diagrams.

SpringApplicationapplication startupbackend-development
0 likes · 16 min read
Demystifying Spring Boot Startup: A Deep Dive into SpringApplication.run()
Architect's Tech Stack
Architect's Tech Stack
Nov 18, 2020 · Backend Development

Introducing MyBatis-Plus: Features, Architecture, and Quick Start Guide

MyBatis-Plus (MP) is a non‑intrusive MyBatis enhancement tool that offers a rich set of CRUD features, multi‑database support, code generation, and plugins, and this article explains its key capabilities, architecture diagram, and provides a step‑by‑step quick‑start example with Maven dependencies and sample query code.

CRUDORMbackend-development
0 likes · 5 min read
Introducing MyBatis-Plus: Features, Architecture, and Quick Start Guide
Java Architecture Diary
Java Architecture Diary
Nov 18, 2020 · Backend Development

How Spring Boot 2.4 Automatically Trims Empty Starter JARs

Spring Boot 2.4 introduces automatic removal of empty starter dependencies when building executable JARs, reducing size by eliminating unnecessary starter JARs; this guide demonstrates the effect, explains what empty starters are, and shows how to customize JARs for automatic slimming using manifest entries.

Empty StarterJar Slimmingbackend-development
0 likes · 5 min read
How Spring Boot 2.4 Automatically Trims Empty Starter JARs
Java Backend Technology
Java Backend Technology
Nov 17, 2020 · Operations

Automate Spring Boot Deployment with Jenkins: A Step‑by‑Step Guide

This article walks you through setting up Jenkins to clone a Spring Boot project from Gitee, configure JDK, Git, and Maven tools, create a freestyle job with parameterized builds, write shell scripts for stopping and starting the application, and troubleshoot common issues for a fully automated CI/CD pipeline.

CI/CDGitJenkins
0 likes · 7 min read
Automate Spring Boot Deployment with Jenkins: A Step‑by‑Step Guide
Architect's Tech Stack
Architect's Tech Stack
Nov 16, 2020 · Backend Development

Integrating Dataway with Spring Boot: A Step‑by‑Step Tutorial

This tutorial walks through adding Dataway to a Spring Boot project by importing Hasor and Dataway dependencies, configuring Maven, setting Dataway and datasource properties, creating a Hasor module to inject the Spring DataSource, enabling Hasor annotations, launching the application, and finally using the Dataway UI to define and publish SQL or DataQL‑based APIs.

API ConfigurationDataQLDataway
0 likes · 12 min read
Integrating Dataway with Spring Boot: A Step‑by‑Step Tutorial
Programmer DD
Programmer DD
Nov 14, 2020 · Backend Development

What’s New in Spring Boot 2.4.0? Top 12 Features You Must Know

Spring Boot 2.4.0 GA, released on November 12, 2020, introduces twelve major updates—including version naming changes, improved configuration handling, new Kubernetes import support, enhanced startup diagnostics, Docker/Buildpack integration, Java 15 compatibility, upgraded dependencies, refined embedded‑DB detection, Logback property revisions, HTTP trace tweaks, Undertow forwarding behavior, and Elasticsearch client adjustments—providing developers with clearer migration paths and richer functionality.

BackendRelease NotesSpring Framework
0 likes · 6 min read
What’s New in Spring Boot 2.4.0? Top 12 Features You Must Know
Java Architect Essentials
Java Architect Essentials
Nov 13, 2020 · Backend Development

Deploying a Spring Boot Application with Docker Using IntelliJ IDEA

This tutorial walks through preparing the environment, configuring Docker remote access, creating a Spring Boot project in IntelliJ IDEA, setting up Maven and Docker files, building the image, and running the container, demonstrating a complete end‑to‑end Java microservice deployment with Docker.

ContainerizationDockerIntelliJ IDEA
0 likes · 9 min read
Deploying a Spring Boot Application with Docker Using IntelliJ IDEA
Code Ape Tech Column
Code Ape Tech Column
Nov 12, 2020 · Backend Development

Configuring Multiple Environments in Spring Boot and Maven

This article explains how to set up separate configuration files for development, testing, and production environments in Spring Boot, how to activate the desired profile via properties or command line, and how to use Maven profiles and resource filtering to package the application accordingly.

Multi-EnvironmentProfilesconfiguration
0 likes · 8 min read
Configuring Multiple Environments in Spring Boot and Maven
Programmer DD
Programmer DD
Nov 9, 2020 · Backend Development

How to Implement a Non‑Intrusive Unified JSON Response in Spring Boot

This tutorial explains why a unified JSON format is needed in a Spring Boot project, defines a standard {code, message, data} schema, shows how to create a Result enum and generic wrapper class, and demonstrates global handling with @ResponseResultBody, ResponseBodyAdvice, and @ExceptionHandler for clean, consistent API responses.

BackendException HandlingJSON response
0 likes · 14 min read
How to Implement a Non‑Intrusive Unified JSON Response in Spring Boot
Top Architect
Top Architect
Nov 7, 2020 · Backend Development

Integrating Swagger with Spring Boot Using Springfox 3.0.0

This article provides a comprehensive guide on using Swagger for REST API documentation in Spring Boot projects, covering Swagger fundamentals, Springfox introduction, the features of Springfox 3.0.0, compatibility requirements, Maven integration, configuration classes, common annotations, and a complete example with code snippets.

API documentationOpenAPISpringfox
0 likes · 11 min read
Integrating Swagger with Spring Boot Using Springfox 3.0.0
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 7, 2020 · Cloud Native

Overview of Spring Boot, Spring Cloud, Spring Cloud Alibaba, and Nacos

This article introduces Spring Boot as a lightweight Java framework, explains Spring Cloud's microservice components such as Eureka, Zuul, Ribbon, Feign, Hystrix, and Turbine, outlines Spring Cloud Alibaba's features, and describes Nacos as a combined service registry and configuration center for cloud‑native applications.

Configuration ManagementNacosSpring Cloud
0 likes · 7 min read
Overview of Spring Boot, Spring Cloud, Spring Cloud Alibaba, and Nacos
Top Architect
Top Architect
Nov 6, 2020 · Backend Development

Configuring Logback Logging in Spring Boot: XML, Properties, and Code Examples

This article provides a comprehensive guide to configuring Logback in Spring Boot, covering Maven dependencies, SLF4J usage, step‑by‑step XML setup, application.yml integration, controller logging code, Lombok shortcuts, appender types, logger definitions, log levels, rolling policies, filters, and best practices for backend development.

configurationjavalogback
0 likes · 20 min read
Configuring Logback Logging in Spring Boot: XML, Properties, and Code Examples
Java Captain
Java Captain
Nov 5, 2020 · Cloud Native

Step-by-Step Guide to Building a Spring Cloud Microservices System with Eureka, Ribbon, and Feign

This tutorial walks through creating a Spring Cloud microservices architecture using Spring Boot, Eureka service registry, Ribbon load balancing, and Feign clients, covering project initialization in IntelliJ IDEA, Maven configuration, YAML setup, service implementation, high‑availability Eureka server clustering, and testing the end‑to‑end workflow.

RibbonSpring Cloudeureka
0 likes · 17 min read
Step-by-Step Guide to Building a Spring Cloud Microservices System with Eureka, Ribbon, and Feign
Code Ape Tech Column
Code Ape Tech Column
Nov 5, 2020 · Backend Development

Master Swagger 3.0 Integration with Spring Boot: Step‑by‑Step Guide

This article walks through the complete process of integrating Swagger 3.0 into a Spring Boot 2.3.5 application, covering dependency setup, the role of springfox‑boot‑starter, custom OpenAPI configuration, API grouping, security schemes, and global request parameters with concrete code examples.

API documentationOpenAPISwagger
0 likes · 11 min read
Master Swagger 3.0 Integration with Spring Boot: Step‑by‑Step Guide
macrozheng
macrozheng
Nov 5, 2020 · Backend Development

Build Your Own Spring Boot Starter for SMS Integration – Step‑by‑Step Guide

This article walks you through creating a custom Spring Boot starter for SMS services, covering naming conventions, Maven dependencies, configuration properties, auto‑configuration, sender implementations, activation methods, packaging, and usage with practical code examples and diagrams.

BackendSMSStarter
0 likes · 12 min read
Build Your Own Spring Boot Starter for SMS Integration – Step‑by‑Step Guide