Tagged articles
3873 articles
Page 32 of 39
Programmer DD
Programmer DD
May 23, 2021 · Backend Development

Master Real-Time Push: Spring Boot WebSocket Integration Guide

This article walks through building a real‑time push system with Spring Boot by integrating WebSocket and MQTT, covering the protocol basics, Maven setup, configuration classes, server implementation, controller endpoints, front‑end testing page, common pitfalls, and deployment tips.

Backend DevelopmentMQTTSpring Boot
0 likes · 12 min read
Master Real-Time Push: Spring Boot WebSocket Integration Guide
Programmer DD
Programmer DD
May 22, 2021 · Backend Development

What’s New in Spring Boot 2.5.0? Key Features, Updates & Deprecations

Spring Boot 2.5.0 introduces Java 16, Gradle 7, Jetty 10 support, enhanced Docker image building, dark‑mode docs, numerous configuration improvements, updated dependency versions, and several deprecations, providing developers with a richer, more modern backend framework.

ActuatorBackend DevelopmentDocker
0 likes · 6 min read
What’s New in Spring Boot 2.5.0? Key Features, Updates & Deprecations
Wukong Talks Architecture
Wukong Talks Architecture
May 21, 2021 · Backend Development

Using Redisson for Distributed Locks in Spring Boot

This article explains how to integrate Redisson into a Spring Boot application to implement various Redis‑based distributed synchronization primitives—including re‑entrant locks, read‑write locks, and semaphores—while covering configuration, code examples, the watchdog mechanism, and practical testing procedures.

ConcurrencyRedisRedisson
0 likes · 12 min read
Using Redisson for Distributed Locks in Spring Boot
Java Architecture Diary
Java Architecture Diary
May 21, 2021 · Backend Development

What’s New in Spring Boot 2.5? Features, Dark Mode & Key Changes

Spring Boot 2.5.0 (alongside 2.4.6 and 2.3.11) introduces Java 16 support, Gradle 7 compatibility, enhanced Docker image building, a new datasource loading mechanism, dark‑mode documentation, and several important configuration and security changes for backend developers.

BackendSpring Bootconfiguration
0 likes · 3 min read
What’s New in Spring Boot 2.5? Features, Dark Mode & Key Changes
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 20, 2021 · Backend Development

Master Spring Boot: Core Concepts, Configuration, and Top Interview Questions

This article compiles essential Spring Boot interview questions, covering its definition, benefits, core configuration files, starter modules, auto‑configuration, embedded containers, actuator monitoring, security concerns, exception handling, differences from Spring MVC, and integration with tools like ELK and Docker.

Backend DevelopmentSpring Bootconfiguration
0 likes · 10 min read
Master Spring Boot: Core Concepts, Configuration, and Top Interview Questions
Top Architect
Top Architect
May 19, 2021 · Backend Development

Full‑Stack Food Delivery System (Spring Boot + Vue) – Setup Guide and Code

This article provides a complete tutorial for building a food‑delivery system with a mobile app, backend management, and API, detailing the technology stack, module structure, database setup, code snippets, and step‑by‑step instructions to launch both the admin and mobile front‑ends.

MongoDBMySQLSpring Boot
0 likes · 4 min read
Full‑Stack Food Delivery System (Spring Boot + Vue) – Setup Guide and Code
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 19, 2021 · Backend Development

Understanding ThreadLocal in Java: Concepts, Memory‑Leak Risks, Source‑Code Walkthrough, and Best Practices

This article explains what ThreadLocal is, demonstrates how it works with and without it, analyses its source code, discusses potential memory‑leak issues, and provides best‑practice guidelines and a Spring‑Boot example for safe usage in multithreaded Java applications.

Best PracticesConcurrencyMemory Leak
0 likes · 12 min read
Understanding ThreadLocal in Java: Concepts, Memory‑Leak Risks, Source‑Code Walkthrough, and Best Practices
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 18, 2021 · Backend Development

Troubleshooting Spring Boot OAuth2 Integration: Session Issues and Fixes

This guide walks through configuring Spring Boot 2.3.10 with OAuth2 client support, detailing required dependencies, application and security settings, common session‑related errors, step‑by‑step debugging of OAuth2LoginAuthenticationFilter and OAuth2AuthorizationRequestRedirectFilter, and the final solution of aligning hostnames to preserve cookies.

DebuggingOAuth2Security
0 likes · 9 min read
Troubleshooting Spring Boot OAuth2 Integration: Session Issues and Fixes
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 14, 2021 · Backend Development

How to Visualize Real-Time Workflow Progress with Spring Boot and Activiti

This tutorial demonstrates how to extend a Spring Boot application with Activiti to query historic process data, configure a diagram generator bean, compute highlighted flows, expose a REST endpoint for real-time process diagram rendering, and verify the workflow through a series of API calls and screenshots.

ActivitiSpring Bootprocess diagram
0 likes · 10 min read
How to Visualize Real-Time Workflow Progress with Spring Boot and Activiti
Baidu Geek Talk
Baidu Geek Talk
May 12, 2021 · Operations

BRCC: A Distributed Configuration Center Solution for Modern Applications

BRCC (Better Remote Config Center) is an open‑source, lightweight, Spring‑Boot‑based distributed configuration center that simplifies management of dynamic, multi‑environment settings across dozens of instances by offering easy SDK/API access, push notifications, traceability, fine‑grained security, high performance, and a user‑friendly UI.

BRCCBaidu open sourceConfiguration Center
0 likes · 12 min read
BRCC: A Distributed Configuration Center Solution for Modern Applications
IT Xianyu
IT Xianyu
May 11, 2021 · Backend Development

Integrating Dataway with Spring Boot for API Configuration

This article provides a step‑by‑step guide on integrating the open‑source Dataway tool with a Spring Boot application, covering dependency inclusion, configuration of Dataway and data sources, module setup, enabling Hasor, and creating and testing API endpoints without writing custom code.

API ConfigurationDataQLDataway
0 likes · 14 min read
Integrating Dataway with Spring Boot for API Configuration
FunTester
FunTester
May 11, 2021 · Backend Development

Design and Implementation of a Distributed Load‑Testing Framework Using HttpRequestBase in FunTester

This article outlines the planning, design, and Java implementation of a distributed load‑testing framework called FunTester, focusing on two test‑case schemes (case transmission and execution), an HttpRequestBase‑based demo, case creation, transmission, execution, and the complete FunRequest class code.

Distributed SystemsSpring Bootjava
0 likes · 17 min read
Design and Implementation of a Distributed Load‑Testing Framework Using HttpRequestBase in FunTester
Java Architect Essentials
Java Architect Essentials
May 9, 2021 · Backend Development

Full‑Stack Food Delivery System Based on Spring Boot and Vue.js

This article presents a complete food‑delivery system with mobile, admin, and API modules, detailing its Spring Boot and Vue.js technology stack, module structure, database setup, quick‑start commands, and how to run both the management console and mobile client for learning purposes.

MongoDBMySQLSpring Boot
0 likes · 4 min read
Full‑Stack Food Delivery System Based on Spring Boot and Vue.js
Java Backend Technology
Java Backend Technology
May 9, 2021 · Backend Development

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

This article explains the dangers of using the kill -9 command on Java services, illustrates how it can cause data loss, and presents several graceful shutdown techniques for Spring Boot—including SIGTERM, Actuator endpoints, custom Tomcat shutdown hooks, and @PreDestroy backups—complete with code examples and screenshots.

BackendGraceful ShutdownKill Command
0 likes · 19 min read
Why kill -9 Can Crash Your Spring Boot Service and How to Shut It Down Gracefully
Top Architect
Top Architect
May 8, 2021 · Backend Development

Implementing a Global Exception Handler in Spring Boot

This article explains how to replace repetitive try‑catch blocks in Spring Boot applications with a unified global exception handling solution by defining a standard AjaxResult response, a custom BusinessException, an error enumeration, and a @RestControllerAdvice handler, enabling clean, extensible error management.

Backend DevelopmentError HandlingREST
0 likes · 5 min read
Implementing a Global Exception Handler in Spring Boot
Java Architect Essentials
Java Architect Essentials
May 7, 2021 · Backend Development

Comprehensive Spring Boot Integration Guide: Swagger, Redis, MyBatis, Druid, Mail, CORS, AOP and More

This article provides a step‑by‑step tutorial on building a Spring Boot project, covering project generation, core starters, automatic Redis configuration, common annotations like @SpringBootApplication and @ControllerAdvice, web container and HTTPS settings, profile management, CORS, MVC interceptors, AOP, MyBatis‑Druid integration, mail sending, and Swagger API documentation.

Backend DevelopmentMailMyBatis
0 likes · 18 min read
Comprehensive Spring Boot Integration Guide: Swagger, Redis, MyBatis, Druid, Mail, CORS, AOP and More
macrozheng
macrozheng
May 7, 2021 · Backend Development

Customizing Spring Boot Error Handling for Non‑Controller Exceptions

This guide explains why Spring Boot’s default @ControllerAdvice cannot catch servlet‑level errors, introduces the ErrorPageFilter mechanism, and shows how to replace the BasicErrorController with a custom ExceptionController that rethrows errors for unified handling across the application.

BackendCustom ErrorControllerError Handling
0 likes · 7 min read
Customizing Spring Boot Error Handling for Non‑Controller Exceptions
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 5, 2021 · Backend Development

How to Build a Spring OAuth2 Authorization Server with Redis Token Store

This tutorial walks through setting up a Spring Boot 2.2.11 OAuth2 authorization server that stores tokens in Redis, covering Maven dependencies, YAML configuration, JPA entities, DAO interfaces, core server configuration, custom client details, authentication provider, password encoder, and detailed testing of all OAuth2 grant types.

Authorization ServerOAuth2Security
0 likes · 16 min read
How to Build a Spring OAuth2 Authorization Server with Redis Token Store
Selected Java Interview Questions
Selected Java Interview Questions
May 4, 2021 · Backend Development

Building a Reusable Backend Base Project with Swagger, CodeGenerator, Pagination, Exception Handling, and Multi‑Environment Configuration

This article explains how to create a reusable backend foundation for new Spring Boot projects by assembling common utilities such as Swagger API documentation, MyBatis‑Plus code generation, unified response objects, pagination helpers, custom exception handling, multi‑environment Maven and Spring profiles, logback configuration, and a Jenkins pipeline.

BackendException HandlingMaven
0 likes · 15 min read
Building a Reusable Backend Base Project with Swagger, CodeGenerator, Pagination, Exception Handling, and Multi‑Environment Configuration
Ops Development Stories
Ops Development Stories
May 2, 2021 · Backend Development

Mastering Unit Testing with TestNG and PowerMock in Spring Boot

This article explains unit testing concepts, introduces TestNG and PowerMock frameworks for Spring Boot, details common annotations, provides Maven dependency snippets and comprehensive Java test examples, and demonstrates advanced mocking techniques, parameterized tests, and assertion strategies to improve code reliability and coverage.

MockingPowerMockSpring Boot
0 likes · 14 min read
Mastering Unit Testing with TestNG and PowerMock in Spring Boot
Top Architect
Top Architect
May 2, 2021 · Backend Development

Integrating Alipay's New Transfer Interface with Spring Boot (Java)

This tutorial explains how to upgrade to Alipay's new transfer API alipay.fund.trans.uni.transfer, update the SDK, configure certificates and properties, and implement Spring Boot components and utility classes for secure backend payment integration.

AlipayPayment IntegrationSDK
0 likes · 12 min read
Integrating Alipay's New Transfer Interface with Spring Boot (Java)
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 2, 2021 · Backend Development

Does Spring Boot’s connectionTimeout Limit Request Time? The Real Answer

This article investigates how Spring Boot’s connectionTimeout parameter behaves by conducting three experiments—controller‑side delay, HttpURLConnection requests, and raw socket connections—revealing that the timeout only applies after a client establishes a connection and remains idle, not to the overall request processing time.

BackendSpring BootTomcat
0 likes · 5 min read
Does Spring Boot’s connectionTimeout Limit Request Time? The Real Answer
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 30, 2021 · Backend Development

Master Spring Boot 2.3 with Elasticsearch 7: Full Integration Guide

This tutorial walks through configuring Spring Boot 2.3.10 with Elasticsearch 7.8, defining Maven dependencies, setting up application properties, creating a searchable Product model, implementing a repository with derived query methods and custom @Query annotations, and testing CRUD and advanced search operations using both repository and RestTemplate approaches.

Backend DevelopmentRepositorySpring Boot
0 likes · 7 min read
Master Spring Boot 2.3 with Elasticsearch 7: Full Integration Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 29, 2021 · Backend Development

Master Elasticsearch CRUD and Advanced Queries with Spring Boot 2.3

This tutorial demonstrates how to configure Spring Boot 2.3 with Elasticsearch 7.8, covering required Maven dependencies, creating a high‑level REST client, and providing complete Java examples for index management, document CRUD, bulk operations, and a variety of advanced search techniques including pagination, sorting, filtering, range, highlighting, aggregations, and grouping.

CRUDSearchSpring Boot
0 likes · 14 min read
Master Elasticsearch CRUD and Advanced Queries with Spring Boot 2.3
Architecture Digest
Architecture Digest
Apr 28, 2021 · Backend Development

Comprehensive Spring Boot Integration Guide: MyBatis, Druid, Redis, Swagger, Email, CORS, AOP and More

This article provides a step‑by‑step tutorial on building a Spring Boot project and configuring essential features such as starters, configuration properties, profiles, global exception handling, CORS, MVC interceptors, AOP, MyBatis‑Druid integration, Redis caching, email sending, and Swagger API documentation, complete with code examples and best‑practice tips.

EmailMyBatisSpring Boot
0 likes · 20 min read
Comprehensive Spring Boot Integration Guide: MyBatis, Druid, Redis, Swagger, Email, CORS, AOP and More
Programmer DD
Programmer DD
Apr 28, 2021 · Backend Development

How to Gracefully Shut Down a Spring Boot Application: 5 Proven Methods

Learn five practical ways to gracefully shut down a Spring Boot application—including using Actuator’s shutdown endpoint, closing the application context, PID file handling, SpringApplication.exit, and a custom shutdown controller—so unfinished tasks finish, logs flush, and services stop safely without resorting to kill‑9.

ActuatorBackendGraceful Shutdown
0 likes · 9 min read
How to Gracefully Shut Down a Spring Boot Application: 5 Proven Methods
Java Interview Crash Guide
Java Interview Crash Guide
Apr 27, 2021 · Backend Development

Unveiling Spring Boot’s @SpringBootApplication: How It Powers Your App Startup

This article explains how the @SpringBootApplication annotation combines @Configuration, @EnableAutoConfiguration, and @ComponentScan, walks through the SpringApplication.run execution flow, and reveals the inner workings of Spring Boot’s auto‑configuration mechanism using SpringFactoriesLoader and META‑INF/spring.factories.

Backend DevelopmentSpring Bootannotations
0 likes · 16 min read
Unveiling Spring Boot’s @SpringBootApplication: How It Powers Your App Startup
Java Architecture Diary
Java Architecture Diary
Apr 25, 2021 · Backend Development

What’s New in Spring Boot 2.5? Key Features and Changes Explained

Spring Boot 2.5 introduces secure info endpoints, graceful shutdown via GET, shutdown logging, a new Quartz actuator endpoint, layered WAR support, Buildpack image building, environment variable prefixes, enhanced metrics, HTTP/2 over TCP (h2c), and several datasource improvements, all aimed at smoother microservice development.

ActuatorBackendDocker
0 likes · 7 min read
What’s New in Spring Boot 2.5? Key Features and Changes Explained
Code Ape Tech Column
Code Ape Tech Column
Apr 25, 2021 · Backend Development

Master MyBatis-Plus: From Basics to Advanced CRUD, Pagination, and Code Generation

This comprehensive guide walks you through MyBatis-Plus fundamentals, non‑intrusive features, quick project setup, CRUD operations, automatic field filling, optimistic and logical locking, powerful wrapper queries, pagination, and the built‑in code generator, all illustrated with runnable examples and code snippets.

CRUDLogical DeleteMybatis-Plus
0 likes · 25 min read
Master MyBatis-Plus: From Basics to Advanced CRUD, Pagination, and Code Generation
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 23, 2021 · Backend Development

Master RabbitMQ Dead-Letter Queues: When and How Messages Get Redirected

This guide explains RabbitMQ dead-letter queues, detailing the conditions that cause messages to become dead letters, how to configure exchanges and queues with x-dead-letter parameters, and demonstrates three testing methods—reject/nack, TTL expiration, and max-length overflow—using Spring Boot code examples.

Backend DevelopmentMessage QueuingRabbitMQ
0 likes · 7 min read
Master RabbitMQ Dead-Letter Queues: When and How Messages Get Redirected
Sohu Tech Products
Sohu Tech Products
Apr 21, 2021 · Backend Development

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

This article explains how to break down large Spring Boot fat JARs into a small business JAR and a shared lib directory, covering four optimization levels for single‑module and multi‑module microservice projects, and demonstrates Maven configurations that shrink deployment packages from hundreds of megabytes to a few hundred kilobytes.

Jar OptimizationMavenSpring Boot
0 likes · 26 min read
Optimizing Spring Boot Fat JARs: Splitting Dependencies and Reducing Deployment Size
Top Architect
Top Architect
Apr 20, 2021 · Information Security

Integrating JWT Authentication in Spring Boot

This article explains the fundamentals of JSON Web Tokens (JWT), their structure, main use cases, and provides a step‑by‑step guide for integrating JWT authentication into a Spring Boot application, including dependency setup, custom annotations, token generation, interceptor implementation, and configuration details.

AuthenticationJWTSecurity
0 likes · 16 min read
Integrating JWT Authentication in Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Apr 20, 2021 · Cloud Native

A Beginner's Guide to Designing, Implementing, and Deploying Microservices on Kubernetes

This article provides a comprehensive step‑by‑step tutorial on designing, implementing, and deploying a simple Java Spring Boot microservice system on Kubernetes, covering architecture design, registration center, monitoring with Prometheus and Grafana, logging, tracing, flow control, and verification using tools such as Zipkin and Sentinel.

KubernetesSpring Bootcloud-native
0 likes · 18 min read
A Beginner's Guide to Designing, Implementing, and Deploying Microservices on Kubernetes
Top Architect
Top Architect
Apr 18, 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 fat JAR, details its internal structure, the purpose of the JarLauncher class, and the custom class loading mechanisms used to launch the application, including code examples and manifest analysis.

JarLauncherMavenSpring Boot
0 likes · 12 min read
Understanding Spring Boot Executable JAR Packaging and the Role of JarLauncher
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Apr 18, 2021 · Backend Development

How to Integrate Dataway with Spring Boot for Zero‑Code API Configuration

This article walks through step‑by‑step how to add Dataway—a DataQL‑based API configuration tool—to a Spring Boot application, covering Maven dependencies, property settings, datasource integration, Hasor module setup, enabling Hasor, and using the UI to create and publish SQL or DataQL endpoints without writing custom code.

API ConfigurationDataQLDataway
0 likes · 15 min read
How to Integrate Dataway with Spring Boot for Zero‑Code API Configuration
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Apr 14, 2021 · Backend Development

How to Build a Scalable Like System with Spring Cloud, Redis, and Quartz

This tutorial walks through building a scalable like feature using Spring Cloud, Redis caching, MySQL persistence, and Quartz scheduling, covering Redis installation, Spring Boot integration, data modeling, service implementation, and periodic synchronization of high‑frequency like operations to the database.

Like SystemMySQLQuartz
0 likes · 17 min read
How to Build a Scalable Like System with Spring Cloud, Redis, and Quartz
Top Architect
Top Architect
Apr 14, 2021 · Backend Development

Graceful Shutdown of Spring Boot Applications and the Risks of Using kill -9

This article explains how the Linux kill -9 command can cause data loss and service instability, demonstrates safer alternatives such as kill -15 and Spring Boot's built‑in shutdown mechanisms, and provides code examples for implementing graceful termination, custom shutdown hooks, and pre‑destroy data backup in Java backend services.

Graceful ShutdownKill CommandLinux
0 likes · 19 min read
Graceful Shutdown of Spring Boot Applications and the Risks of Using kill -9
Intelligent Backend & Architecture
Intelligent Backend & Architecture
Apr 13, 2021 · Backend Development

Why Spring Boot Revolutionizes Backend Development: A Complete Guide

This article explains how Spring Boot, a Pivotal‑backed extension of the Spring framework, simplifies Java backend development by providing auto‑configuration, starter dependencies, embedded servers, and seamless integration with micro‑service architectures, while also covering core annotations, configuration files, security, and deployment options.

Backend DevelopmentSpring BootStarter Dependencies
0 likes · 35 min read
Why Spring Boot Revolutionizes Backend Development: A Complete Guide
Intelligent Backend & Architecture
Intelligent Backend & Architecture
Apr 12, 2021 · Backend Development

Master Spring Boot: From Basics to Advanced Annotations and Best Practices

This comprehensive guide explains what Spring Boot is, why it was created for micro‑service development, how it simplifies configuration with starters and auto‑configuration, and provides detailed coverage of core annotations, configuration files, security, CORS, transaction management, and deployment options for Java backend developers.

Backend DevelopmentSpring Bootannotations
0 likes · 38 min read
Master Spring Boot: From Basics to Advanced Annotations and Best Practices
Top Architect
Top Architect
Apr 11, 2021 · Backend Development

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

This article provides a comprehensive, step‑by‑step tutorial on how to integrate Dataway—a DataQL‑based API configuration tool—into a Spring Boot application using Hasor, covering dependency setup, configuration, datasource integration, module loading, enabling Hasor, launching the app, and creating and testing APIs through the built‑in UI.

API ConfigurationDataQLDataway
0 likes · 14 min read
Integrating Dataway with Spring Boot: A Step‑by‑Step Guide
Wukong Talks Architecture
Wukong Talks Architecture
Apr 8, 2021 · Backend Development

Integrating Elasticsearch with Spring Boot for Full‑Text Search in a Microservice Architecture

This tutorial demonstrates how to integrate Elasticsearch into a Spring Boot microservice, covering component selection, Maven configuration, client setup, index creation, data insertion, complex query execution, synchronization of question data, and front‑end search handling, all illustrated with complete Java code examples.

ElasticsearchFull-Text SearchSpring Boot
0 likes · 21 min read
Integrating Elasticsearch with Spring Boot for Full‑Text Search in a Microservice Architecture
Top Architect
Top Architect
Apr 6, 2021 · Backend Development

MyBatis‑Plus Tutorial: Creating Databases, Defining Tables, CRUD Operations, Optimistic Locking, Logical Deletion, Performance Analysis, and Code Generation in Spring Boot

This article provides a step‑by‑step guide for using MyBatis‑Plus with Spring Boot, covering database and table creation, entity and mapper definitions, CRUD examples, automatic field filling, optimistic and logical deletion, performance plugins, query wrappers, and a code generator for rapid development.

CRUDDatabaseMybatis-Plus
0 likes · 15 min read
MyBatis‑Plus Tutorial: Creating Databases, Defining Tables, CRUD Operations, Optimistic Locking, Logical Deletion, Performance Analysis, and Code Generation in Spring Boot
Java Interview Crash Guide
Java Interview Crash Guide
Apr 6, 2021 · Backend Development

Mastering Redis: From Basics to High Availability in Java Backend

This article walks through what Redis is, its data types, caching usage with Spring Boot, performance advantages, eviction policies, persistence mechanisms, master‑slave replication, Sentinel high‑availability, and practical interview‑style Q&A, providing a comprehensive guide for backend developers.

DatabaseRedisSpring Boot
0 likes · 33 min read
Mastering Redis: From Basics to High Availability in Java Backend
Top Architect
Top Architect
Apr 5, 2021 · Backend Development

Integrating Swagger (Springfox) 3.0.0 with Spring Boot for Automatic API Documentation

This article explains how to integrate Swagger using Springfox 3.0.0 into a Spring Boot project, covering required dependencies, configuration files, annotations, new features, compatibility requirements, and provides a complete example with code snippets for generating interactive OpenAPI documentation.

API documentationBackend DevelopmentOpenAPI
0 likes · 11 min read
Integrating Swagger (Springfox) 3.0.0 with Spring Boot for Automatic API Documentation
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 4, 2021 · Information Security

Mastering CSRF Protection in Spring Boot: From Theory to Code

This guide explains what CSRF attacks are, outlines common defense strategies such as captchas, referer checks, and token validation, and provides a complete Spring Boot implementation—including custom annotations, token storage with Guava or Redis, an interceptor, configuration, and a token‑generation endpoint—complete with testing steps.

CSRFInterceptorSecurity
0 likes · 8 min read
Mastering CSRF Protection in Spring Boot: From Theory to Code
macrozheng
macrozheng
Apr 2, 2021 · Backend Development

Build a Full‑Featured Backend Admin System in Minutes with Erupt

This article walks you through setting up the Erupt Java annotation‑based framework, configuring Maven dependencies and datasource, launching a ready‑made admin UI, customizing pages with @Erupt annotations, and extending functionality via data proxies, all without writing front‑end code.

Backend AdminEruptLow‑code
0 likes · 13 min read
Build a Full‑Featured Backend Admin System in Minutes with Erupt
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 2, 2021 · Backend Development

Implementing Max‑Effort Notification with Spring Boot & RabbitMQ

This article explains the concept of max‑effort notification, contrasts it with reliable messaging, and provides a complete Spring Boot 2.4.9 and RabbitMQ 3.7.4 implementation—including project structure, configuration, entity models, repositories, services, controllers, and message listeners—plus testing steps and results.

Backend DevelopmentMax Effort NotificationMessage Retry
0 likes · 11 min read
Implementing Max‑Effort Notification with Spring Boot & RabbitMQ
Top Architect
Top Architect
Mar 30, 2021 · Backend Development

Understanding Idempotency and Its Implementation in RESTful APIs

This article explains the concept of idempotency, why it is essential for HTTP interfaces, the impact on system design, and presents several practical implementation strategies—including unique primary keys, optimistic locking, anti‑repeat tokens, and downstream sequence numbers—accompanied by a complete Spring Boot example with Redis integration and test code.

DatabaseIdempotencyREST API
0 likes · 21 min read
Understanding Idempotency and Its Implementation in RESTful APIs
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 30, 2021 · Backend Development

Master RocketMQ: Core Concepts and Spring Boot Integration Guide

This tutorial explains RocketMQ's architecture—including producers, brokers, consumers, topics, tags, and consumption models—then walks through installing the service, configuring the environment, and integrating it with Spring Boot using Maven dependencies, YAML settings, and sample producer and consumer code.

Message queueSpring Boot
0 likes · 8 min read
Master RocketMQ: Core Concepts and Spring Boot Integration Guide
Senior Brother's Insights
Senior Brother's Insights
Mar 23, 2021 · Backend Development

How to Implement a Global Exception Handler in Spring Boot

This guide explains why a unified exception handling mechanism is essential in Spring Boot applications and provides step‑by‑step code examples for creating a standard response class, custom exception types, an error enumeration, and a @RestControllerAdvice‑based global handler, complete with test screenshots.

BackendGlobal HandlerREST
0 likes · 5 min read
How to Implement a Global Exception Handler in Spring Boot
Programmer DD
Programmer DD
Mar 21, 2021 · Backend Development

What’s New in Spring Boot 2.4.4 and Spring Cloud 2020.0.2? A Complete Overview

This article provides a detailed overview of the latest Spring Boot 2.4.4 and Spring Cloud 2020.0.2 releases, highlighting key module upgrades, bug fixes, documentation improvements, and dependency updates, helping developers understand the enhancements and how to integrate them into their Java applications.

Backend DevelopmentRelease NotesSpring Boot
0 likes · 10 min read
What’s New in Spring Boot 2.4.4 and Spring Cloud 2020.0.2? A Complete Overview
Java Backend Technology
Java Backend Technology
Mar 20, 2021 · Backend Development

Master Global Exception Handling in Spring Boot: Unified Error Responses

This article explains how to replace repetitive try‑catch blocks in Spring Boot with a unified global exception handler, introducing a standard AjaxResult wrapper, custom BusinessException, an error enumeration, and a @RestControllerAdvice that returns consistent JSON error responses across the application.

Error HandlingSpring Bootglobal exception handling
0 likes · 6 min read
Master Global Exception Handling in Spring Boot: Unified Error Responses
Top Architect
Top Architect
Mar 19, 2021 · Backend Development

Implementing Database Read‑Write Splitting with Spring Boot

This article explains how to implement database read‑write splitting in a Spring Boot application by configuring master and slave data sources, creating a dynamic routing datasource, using a ThreadLocal context holder, defining a custom annotation with AOP for automatic switching, and demonstrates usage with sample code.

AOPDataSource RoutingSpring Boot
0 likes · 11 min read
Implementing Database Read‑Write Splitting with Spring Boot
Architect's Tech Stack
Architect's Tech Stack
Mar 19, 2021 · Backend Development

Introducing SOFABoot: An Enhanced Spring Boot Framework with Readiness Check, Class Isolation, and Log Isolation

This article introduces SOFABoot, an open‑source framework built on Spring Boot that adds readiness checks, classloader isolation, log space isolation, seamless SOFA middleware integration, modular development support, and provides a starter‑based programming model for large‑scale microservice architectures.

Backend DevelopmentClass IsolationLog Isolation
0 likes · 5 min read
Introducing SOFABoot: An Enhanced Spring Boot Framework with Readiness Check, Class Isolation, and Log Isolation
Java Architecture Diary
Java Architecture Diary
Mar 19, 2021 · Backend Development

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

Spring Boot 2.4.4 has been released, offering 60 bug fixes, enhancements, documentation updates, and dependency upgrades, including fixes for jOOQ NPE, schema path errors, @ConfigurationProperties injection, EmbeddedDatabaseConnection issues, RSocket server initialization, and various Actuator and devtools problems.

BackendBug FixesRelease Notes
0 likes · 3 min read
What’s New in Spring Boot 2.4.4? Key Bug Fixes and Improvements
Alibaba Cloud Native
Alibaba Cloud Native
Mar 18, 2021 · Backend Development

5 Ways to Integrate Apache RocketMQ into the Spring Ecosystem

This article outlines five Spring-based approaches for using Apache RocketMQ—including Spring Messaging, Spring Cloud Stream, Spring Cloud Bus, Spring Cloud Data Flow, and Spring Cloud Function—detailing each project's features, typical use cases, and how they fit into modern Java microservice architectures.

MessagingSpring Bootjava
0 likes · 11 min read
5 Ways to Integrate Apache RocketMQ into the Spring Ecosystem
Alibaba Cloud Developer
Alibaba Cloud Developer
Mar 17, 2021 · Backend Development

5 Ways to Harness RocketMQ in the Spring Ecosystem

This article explores five integration approaches for using Apache RocketMQ within the Spring ecosystem, detailing each project's features, typical use cases, and how they complement Spring Boot, Spring Messaging, and Spring Cloud Stream for building robust, scalable microservices.

MessagingSpring Bootjava
0 likes · 12 min read
5 Ways to Harness RocketMQ in the Spring Ecosystem
Top Architect
Top Architect
Mar 16, 2021 · Backend Development

Implementing Delayed Message Queues with RabbitMQ and Spring Boot

This article explains how to implement delayed message delivery in RabbitMQ using the delayed‑message‑exchange plugin and Spring Boot, covering the shortcomings of traditional approaches, configuration of exchanges and queues, sending messages with delay headers, and a test demonstrating a 6‑second delayed receipt.

Backend DevelopmentMessage queueRabbitMQ
0 likes · 8 min read
Implementing Delayed Message Queues with RabbitMQ and Spring Boot
Architect's Tech Stack
Architect's Tech Stack
Mar 16, 2021 · Backend Development

Implementing RabbitMQ Delayed Queues with the Delayed Message Plugin in Spring Boot

This article explains why traditional approaches like Redis expiration, database polling, or JVM DelayQueue are inefficient for delayed messaging, and demonstrates how to use RabbitMQ's delayed‑message‑exchange plugin with Spring Boot to create, configure, send, and consume delayed messages, including full code examples and a test showing a 6‑second delay.

Message queueRabbitMQSpring Boot
0 likes · 8 min read
Implementing RabbitMQ Delayed Queues with the Delayed Message Plugin in Spring Boot
macrozheng
macrozheng
Mar 12, 2021 · Backend Development

How Forest Simplifies Complex HTTP API Integration in Spring Boot

This article introduces the Forest HTTP client framework, showing how it abstracts diverse third‑party API differences through configuration and annotations, provides easy Spring Boot integration, and offers powerful features like template expressions, HTTPS support, and extensive request customization.

API integrationForestHTTP
0 likes · 11 min read
How Forest Simplifies Complex HTTP API Integration in Spring Boot
The Dominant Programmer
The Dominant Programmer
Mar 11, 2021 · Cloud Native

Integrating WebSocket in Spring Cloud (Ruoyi Microservice Edition) for Front‑End/Back‑End Message Push

This guide walks through adding the WebSocket starter to a Spring Boot service, configuring a WebSocketConfig class, implementing client and service components, adjusting Nacos gateway rules, testing with a WebSocket client tool, and exposing a REST endpoint to push messages to Vue front‑ends.

Spring BootVuemicroservices
0 likes · 8 min read
Integrating WebSocket in Spring Cloud (Ruoyi Microservice Edition) for Front‑End/Back‑End Message Push
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Mar 8, 2021 · Information Security

How to Encrypt MySQL Passwords in Spring Boot Using Alibaba Druid

This article explains why database passwords should be encrypted, introduces Alibaba's Druid as a simple solution for Java Spring Boot projects, and provides step‑by‑step instructions—including generating ciphertext with ConfigTools, configuring application.yml, and securely handling public keys—to protect MySQL credentials.

ConfigToolsDruidMySQL
0 likes · 10 min read
How to Encrypt MySQL Passwords in Spring Boot Using Alibaba Druid
Top Architect
Top Architect
Mar 8, 2021 · Backend Development

Integrating Swagger‑Bootstrap‑UI (Knife4j) into a Spring Boot Project

This tutorial explains how to replace the default Swagger UI with Swagger‑Bootstrap‑UI (now called Knife4j) in a Spring Boot application, covering Maven dependencies, configuration classes, common annotations, a sample controller, launch steps, and troubleshooting tips.

API documentationBackend DevelopmentKnife4j
0 likes · 6 min read
Integrating Swagger‑Bootstrap‑UI (Knife4j) into a Spring Boot Project
Top Architect
Top Architect
Mar 6, 2021 · Operations

Spring Boot Monitoring with Prometheus and Grafana: A Step‑by‑Step Guide

This article provides a comprehensive tutorial on setting up Spring Boot application monitoring using Prometheus and Grafana, covering project creation, dependency configuration, security setup, Prometheus server installation, Grafana dashboard creation, email alerting configuration, and testing the end‑to‑end alert workflow.

BackendSpring Bootalerting
0 likes · 10 min read
Spring Boot Monitoring with Prometheus and Grafana: A Step‑by‑Step Guide
Programmer DD
Programmer DD
Mar 4, 2021 · Backend Development

How to Seamlessly Integrate MongoDB with Spring Boot: A Step‑by‑Step Guide

This tutorial walks you through upgrading Spring Boot, introduces MongoDB basics, and provides a hands‑by‑step guide to adding the spring‑boot‑starter‑data‑mongodb dependency, defining entity and repository classes, writing unit tests, and configuring connection properties for robust backend data management.

Backend DevelopmentMongoDBSpring Boot
0 likes · 8 min read
How to Seamlessly Integrate MongoDB with Spring Boot: A Step‑by‑Step Guide
Top Architect
Top Architect
Mar 2, 2021 · Backend Development

Spring Boot Parameter Validation with javax.validation Annotations

This article explains how to use the javax.validation (JSR‑303) annotation‑based validation framework in Spring Boot to replace verbose manual checks, covering built‑in constraints, Maven dependencies, DTO annotations, custom validators, validation groups, global exception handling, and practical RESTful examples.

Parameter ValidationSpring Bootjava
0 likes · 16 min read
Spring Boot Parameter Validation with javax.validation Annotations