Tagged articles
3873 articles
Page 33 of 39
Java Captain
Java Captain
Mar 1, 2021 · Backend Development

Overview of eladmin: An Open‑Source Spring Boot + Vue Backend Management System

The article presents eladmin, a fully open‑source, front‑back separated admin platform built with Spring Boot, JPA, Spring Security, Redis and Vue, detailing its features, modular architecture, code‑generation capabilities, and highlights that make it a valuable learning resource for developers.

Backend ManagementRBACSpring Boot
0 likes · 6 min read
Overview of eladmin: An Open‑Source Spring Boot + Vue Backend Management System
Programmer DD
Programmer DD
Mar 1, 2021 · Backend Development

Top Open‑Source Spring Boot Admin Panels to Boost Your Backend Projects

This article curates a selection of high‑quality open‑source Spring Boot admin systems—including SmartAdmin, litemall, Timo, mall4j, web‑flash, and SPTools—detailing their key features, technology stacks, and repository links to help developers quickly adopt robust backend management solutions.

Open SourceSpring Bootadmin dashboard
0 likes · 5 min read
Top Open‑Source Spring Boot Admin Panels to Boost Your Backend Projects
Java Captain
Java Captain
Feb 27, 2021 · Backend Development

SOFABoot: Enhancing Spring Boot for Large‑Scale Microservice Development

SOFABoot, an Ant Financial open‑source framework built on Spring Boot, enhances microservice development by adding readiness checks, class and log space isolation, unified middleware integration, and modular development capabilities, addressing class conflicts and monitoring challenges in large‑scale deployments.

Class IsolationLoggingReadiness Check
0 likes · 4 min read
SOFABoot: Enhancing Spring Boot for Large‑Scale Microservice Development
Programmer DD
Programmer DD
Feb 27, 2021 · Backend Development

Build a WebSSH Terminal with Spring Boot, WebSocket and xterm.js

This article walks through creating a WebSSH solution from scratch using Spring Boot, WebSocket, JSch and the xterm.js front‑end library, covering dependency setup, backend WebSocket configuration, message handling, SSH session management, and a minimal HTML/JS client to display a browser‑based terminal.

Backend DevelopmentSpring BootWebSSH
0 likes · 17 min read
Build a WebSSH Terminal with Spring Boot, WebSocket and xterm.js
Programmer DD
Programmer DD
Feb 27, 2021 · Backend Development

How Netflix’s Open‑Source DGS Framework Simplifies Java GraphQL Development

Netflix’s Domain Graph Service (DGS) framework, now open‑sourced, provides a Spring Boot‑based, annotation‑driven solution for building both standalone and federated GraphQL services, offering schema‑first and code‑first development, code generation, testing tools, and seamless integration with Netflix’s tracing and security infrastructure.

Backend DevelopmentDGSGraphQL
0 likes · 10 min read
How Netflix’s Open‑Source DGS Framework Simplifies Java GraphQL Development
Open Source Linux
Open Source Linux
Feb 26, 2021 · Backend Development

Why kill -9 Can Crash Your Service and How to Shut Down Spring Boot Gracefully

This article explains the dangers of using the Linux kill -9 command for terminating processes, illustrates how abrupt termination can cause data inconsistency in transactional systems, and provides step‑by‑step methods—including Spring Boot actuator, custom Tomcat shutdown, and @PreDestroy hooks—to achieve graceful service shutdown.

Graceful ShutdownLinux killSpring Boot
0 likes · 19 min read
Why kill -9 Can Crash Your Service and How to Shut Down Spring Boot Gracefully
Programmer DD
Programmer DD
Feb 25, 2021 · Backend Development

Master Spring Boot Unit Testing with MockMvc: A Complete Guide

This article explains the fundamentals of unit testing in Spring Boot, covering the purpose of unit tests, how to add the spring-boot-starter-test dependency, the role of MockMvc for controller testing, step‑by‑step creation of Service and Controller test classes, key annotations, assertion techniques, and a brief comparison with Postman.

Backend DevelopmentJUnitMockMvc
0 likes · 13 min read
Master Spring Boot Unit Testing with MockMvc: A Complete Guide
Code Ape Tech Column
Code Ape Tech Column
Feb 24, 2021 · Backend Development

How to Build a High‑Performance Java RPC Framework with Netty, Zookeeper, and Custom Load Balancing

This article walks through the design and implementation of a Java RPC framework, detailing added serialization options, multiple load‑balancing strategies, client‑side service caching, TCP long‑connection handling with Netty, performance testing, and provides the full source code for replication.

NettyRPCSpring Boot
0 likes · 17 min read
How to Build a High‑Performance Java RPC Framework with Netty, Zookeeper, and Custom Load Balancing
Java Architecture Diary
Java Architecture Diary
Feb 22, 2021 · Backend Development

Build a GraphQL API with Netflix DGS and Spring Boot

Learn how to quickly set up a GraphQL API using Netflix's open‑source DGS framework in a Spring Boot project, covering Maven dependencies, schema definition, data fetcher implementation, UI debugging with GraphiQL, and example curl and Java test calls.

APIGraphQLNetflix DGS
0 likes · 5 min read
Build a GraphQL API with Netflix DGS and Spring Boot
Java Captain
Java Captain
Feb 21, 2021 · Backend Development

Step-by-Step Guide to Building a Spring Boot Application with MyBatis and MySQL

This tutorial walks through creating a Spring Boot project, configuring Maven dependencies, setting up MySQL with MyBatis, defining entity, mapper, service, and controller layers, and building simple Thymeleaf login and registration pages, culminating in a runnable dynamic authentication demo.

BackendMyBatisMySQL
0 likes · 16 min read
Step-by-Step Guide to Building a Spring Boot Application with MyBatis and MySQL
Architect's Tech Stack
Architect's Tech Stack
Feb 20, 2021 · Backend Development

Root Cause Analysis of High Native Memory Usage in a Spring Boot Application

After migrating a project to the MDP framework based on Spring Boot, the system repeatedly reported excessive swap usage; the investigation revealed that native memory allocated by the Spring Boot classloader’s Reflections scanning and InflaterInputStream caused 700 MB–800 MB of off‑heap memory to remain unreleased, which was eventually resolved by limiting the scan path and updating Spring Boot.

Memory LeakNative MemoryPerformance debugging
0 likes · 12 min read
Root Cause Analysis of High Native Memory Usage in a Spring Boot Application
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Feb 20, 2021 · Backend Development

Understanding Spring Boot Auto‑Configuration and Common Annotations

This article explains how Spring Boot’s auto‑configuration works, introduces the most frequently used annotations such as @Value, @ConfigurationProperties, @Import and @Conditional, and provides practical code examples to illustrate the underlying mechanisms and startup process of a Spring Boot application.

Backend DevelopmentSpring Bootannotations
0 likes · 22 min read
Understanding Spring Boot Auto‑Configuration and Common Annotations
Programmer DD
Programmer DD
Feb 20, 2021 · Backend Development

What’s New in Spring Boot 2.4.3? 29 Bug Fixes, Docs Updates, and 31 Dependency Upgrades

Spring Boot 2.4.3, released on the first workday of the new year, brings 29 bug fixes, 15 documentation improvements, and 31 dependency upgrades—including critical fixes for DataSourceBuilder, Amazon Redshift driver detection, JPA lazy repositories, and Spring Data Solr—while the full changelog is available on GitHub.

Backend DevelopmentRelease NotesSpring Boot
0 likes · 11 min read
What’s New in Spring Boot 2.4.3? 29 Bug Fixes, Docs Updates, and 31 Dependency Upgrades
Java Captain
Java Captain
Feb 19, 2021 · Backend Development

Understanding Spring Boot Executable JAR Packaging and the Role of JarLauncher

This article explains how Spring Boot's spring-boot-maven-plugin creates an executable JAR, describes the internal JAR structure, the function of the JarLauncher class, and details the custom class loader mechanisms that enable Spring Boot applications to run directly with java -jar.

JarLauncherMaven PluginSpring Boot
0 likes · 15 min read
Understanding Spring Boot Executable JAR Packaging and the Role of JarLauncher
Java Architecture Diary
Java Architecture Diary
Feb 19, 2021 · Backend Development

What’s New in Spring Boot 2.4.3? 75 Bug Fixes and Key Improvements

Spring Boot 2.4.3, the third patch of the 2.4 line, introduces 75 bug fixes, enhancements, documentation updates, and dependency upgrades, including UTF‑8 logging defaults, Neo4j/MongoDB startup fixes, Redshift driver recognition, and numerous improvements to testing, security, and monitoring components.

Backend DevelopmentBug FixesRelease Notes
0 likes · 4 min read
What’s New in Spring Boot 2.4.3? 75 Bug Fixes and Key Improvements
Java Architect Essentials
Java Architect Essentials
Feb 18, 2021 · Information Security

How Behavior‑Based Captchas Boost Security and User Experience

This article introduces a behavior‑based captcha solution that replaces traditional text captchas with slide‑puzzle and click‑word challenges, explains its terminology, interaction flow, project directory layout, and provides online demo links for both web and mobile implementations.

BackendFrontendSecurity
0 likes · 5 min read
How Behavior‑Based Captchas Boost Security and User Experience
Java Architecture Diary
Java Architecture Diary
Feb 17, 2021 · Information Security

Build a Spring Authorization Server with OAuth2: Step‑by‑Step Guide

This tutorial walks through setting up Spring Authorization Server on Spring Boot 2.4.2, covering Maven dependencies, custom bean configuration, token generation, testing with curl commands, and token customization options, providing a complete example for OAuth2 authorization implementation.

Authorization ServerSecuritySpring Boot
0 likes · 6 min read
Build a Spring Authorization Server with OAuth2: Step‑by‑Step Guide
Architect's Tech Stack
Architect's Tech Stack
Feb 15, 2021 · Backend Development

Enhancing a Java RPC Framework: Protobuf/Kryo Serialization, Load‑Balancing Strategies, Connection Pooling and Performance Gains

This article describes a series of improvements to a Spring‑Boot based Java RPC framework—including support for Protobuf and Kryo serialization, multiple load‑balancing algorithms, client‑side service caching, TCP long‑connection reuse via Netty, and a performance test that reduces request latency by more than tenfold.

NettyPerformanceRPC
0 likes · 15 min read
Enhancing a Java RPC Framework: Protobuf/Kryo Serialization, Load‑Balancing Strategies, Connection Pooling and Performance Gains
Senior Brother's Insights
Senior Brother's Insights
Feb 15, 2021 · Backend Development

Understanding Asynchronous Programming vs Multithreading in Java

This article explains the fundamentals of asynchronous programming and multithreading, compares their models with clear examples, discusses callbacks, highlights performance trade‑offs, and offers guidance on choosing the right approach for I/O‑heavy Java applications.

Spring Bootasynchronous programmingcallback
0 likes · 8 min read
Understanding Asynchronous Programming vs Multithreading in Java
Top Architect
Top Architect
Feb 13, 2021 · Backend Development

Integrating Dataway with Spring Boot for Zero‑Code API Configuration

This tutorial explains how to embed Dataway—a UI‑driven API configuration tool based on Hasor—into a Spring Boot application, covering dependency inclusion, Dataway property setup, datasource configuration, Hasor module wiring, enabling annotations, launching the service, and creating and publishing APIs without writing any Java code.

API ConfigurationBackendDataway
0 likes · 15 min read
Integrating Dataway with Spring Boot for Zero‑Code API Configuration
Architecture Digest
Architecture Digest
Feb 9, 2021 · Backend Development

Implementing Database Read‑Write Splitting with Spring Boot

This article explains how to achieve database read‑write separation in high‑concurrency Java applications by configuring master‑slave data sources, implementing a routing data source, managing context with ThreadLocal, defining a custom @DataSourceSwitcher annotation, and applying AOP to dynamically switch between read and write databases.

AOPDataSource RoutingDatabase
0 likes · 10 min read
Implementing Database Read‑Write Splitting with Spring Boot
Top Architect
Top Architect
Feb 8, 2021 · Databases

Implementing Database Read‑Write Splitting with Spring Boot

This article explains how to achieve read‑write separation in high‑concurrency Java applications by configuring master‑slave data sources, routing with AbstractRoutingDataSource, managing context via ThreadLocal, defining a custom @DataSourceSwitcher annotation, and applying AOP to switch databases at runtime.

AOPSpring Bootjava
0 likes · 11 min read
Implementing Database Read‑Write Splitting with Spring Boot
Top Architect
Top Architect
Feb 7, 2021 · Backend Development

Introducing Netflix’s Open‑Source Domain Graph Service (DGS) Framework for Spring Boot

The article presents Netflix’s open‑source Domain Graph Service (DGS) framework, detailing its purpose, core features, schema‑first development approach, practical usage examples, integration with the GraphQL ecosystem, support for federation, modular architecture, distributed tracing, and how developers can get started with the project.

BackendDGSGraphQL
0 likes · 10 min read
Introducing Netflix’s Open‑Source Domain Graph Service (DGS) Framework for Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Feb 5, 2021 · Backend Development

Diagnosing and Solving a 100 ms Delay in Spring Boot Embedded Tomcat Using Arthas

This article walks through the step‑by‑step investigation of an unexpected ~100 ms latency in a Spring Boot channel service, using network checks, curl timing, Arthas trace and watch commands to pinpoint a Tomcat‑embed bug caused by Swagger‑UI JAR loading, and then shows how upgrading Tomcat resolves the issue.

ArthasPerformance debuggingSpring Boot
0 likes · 30 min read
Diagnosing and Solving a 100 ms Delay in Spring Boot Embedded Tomcat Using Arthas
Alibaba Cloud Native
Alibaba Cloud Native
Feb 4, 2021 · Backend Development

Why Spring Boot’s War‑to‑Jar Deployment Slows Down Feign Calls and How to Fix It

After upgrading an internal framework, a company’s UAT environment saw throughput drop from 53.9/s to 6.4/s due to abnormal Feign latency, prompting a deep dive with Arthas profiling, code tracing, and class‑loader analysis that uncovered costly JodaModule loading and class‑loader overhead, leading to targeted fixes that restored and even improved performance.

ArthasPerformance tuningSpring Boot
0 likes · 16 min read
Why Spring Boot’s War‑to‑Jar Deployment Slows Down Feign Calls and How to Fix It
Architect's Tech Stack
Architect's Tech Stack
Feb 3, 2021 · Backend Development

Comparison of Java Microservice Frameworks: Spring Cloud, Vert.x, SparkJava, Micronaut, Javalin, and Quarkus

This article compares several Java microservice frameworks—including Spring Cloud, Vert.x, SparkJava, Micronaut, Javalin, and Quarkus—by describing their features, required infrastructure, and performance results from 30‑second stress tests, while also noting resource consumption and startup times.

PerformanceSpring BootVert.x
0 likes · 9 min read
Comparison of Java Microservice Frameworks: Spring Cloud, Vert.x, SparkJava, Micronaut, Javalin, and Quarkus
Programmer DD
Programmer DD
Feb 3, 2021 · Backend Development

Mastering Distributed Transactions in Spring Boot with JTA and Atomikos

This guide explains how to achieve transactional consistency across multiple databases in a Spring Boot application by integrating JTA with Atomikos, covering configuration, code implementation, testing, and verification of distributed transactions using multi‑data‑source setups.

AtomikosJTAMulti-DataSource
0 likes · 13 min read
Mastering Distributed Transactions in Spring Boot with JTA and Atomikos
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 ManagementSpring Bootdisk space
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.

Spring BootTutorialVue.js
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.

Backend DevelopmentBest PracticesDocker
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.

Backend DevelopmentNetwork ProtocolReactive Streams
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.

AOPDataSource RoutingMySQL
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.

Backend DevelopmentConfiguration MetadataIDE integration
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 DevelopmentSpring Bootjava
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.

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

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

MockMvcSpring Bootjava
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 DevelopmentSpring Bootjava
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 DeleteMybatis-Plus
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 documentationLoggingSpring Boot
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.

Backend DevelopmentMessage queueRabbitMQ
0 likes · 12 min read
Understanding Message Middleware Scenarios and Integrating RabbitMQ with Spring Boot
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 documentationActuatorLogging
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 OptimizationMyBatis
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.

MavenPayment IntegrationSpring Boot
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.

KubernetesSpring Bootcloud-native
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 BootSpring Frameworkauto-configuration
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 BeanMybatis-PlusSpring Boot
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.

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

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

Circuit BreakerHTTP clientInterceptor
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 OptimizationSpring Bootgraalvm
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.

Backend DevelopmentProfilesSpring 2.4
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 APISpring BootToken
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.

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

Circuit BreakerRate LimitingSpring Boot
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.

Backend DevelopmentBug FixesRelease Notes
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 debuggingSpring Boot
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.

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

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

Backend DevelopmentSpring Bootjava
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.

CouponSpring BootV3 API
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.

MigrationSpring Bootconfiguration
0 likes · 20 min read
What’s New in Spring Boot 2.4.0? Key Features and Migration Guide