Tagged articles
3838 articles
Page 20 of 39
Top Architect
Top Architect
Aug 30, 2023 · Backend Development

Integrating WebSocket in Spring Boot: Javax, WebMVC, WebFlux and Third‑Party Libraries

This article provides a comprehensive guide on implementing WebSocket in Spring Boot, covering the Javax API, Spring WebMVC and WebFlux configurations, client and server setups, message handling, handshake interceptors, and a brief overview of popular third‑party libraries such as Java‑WebSocket, SocketIO and Netty.

javaspring-bootwebsocket
0 likes · 20 min read
Integrating WebSocket in Spring Boot: Javax, WebMVC, WebFlux and Third‑Party Libraries
Java High-Performance Architecture
Java High-Performance Architecture
Aug 30, 2023 · Backend Development

How to Unify Controller Parameters, Responses, Validation, and Exceptions in Spring Boot

This article explains how to standardize Spring Boot controller handling by receiving parameters, defining unified status codes, applying global validation, wrapping responses consistently, and managing exceptions with custom advice, using annotations, enums, and AOP techniques to improve code readability and front‑end integration.

ControllerException HandlingResponse wrapper
0 likes · 20 min read
How to Unify Controller Parameters, Responses, Validation, and Exceptions in Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 30, 2023 · Backend Development

Implementing Max‑Effort Notification with RabbitMQ in Spring Boot

This guide explains how to design a max‑effort notification mechanism for a recharge scenario using Spring Boot 2.4.12 and RabbitMQ 3.7.4, detailing the interaction flow, repeat‑notification strategy, message verification, and provides complete code for both pay‑manager and users‑manager modules, including configuration, entities, services, listeners, and controllers.

Max Effort NotificationMessage ReliabilityRabbitMQ
0 likes · 11 min read
Implementing Max‑Effort Notification with RabbitMQ in Spring Boot
Wukong Talks Architecture
Wukong Talks Architecture
Aug 29, 2023 · Backend Development

Using Swagger with Spring Boot: Setup, Configuration, and Common Issues

This tutorial explains what Swagger is, why it is useful for RESTful API documentation, and provides step‑by‑step instructions for integrating Swagger 3.0 into a Spring Boot 2.7.6 project, including Maven dependencies, configuration classes, handling startup errors, customizing the UI, security settings, and annotation usage.

API documentationSpringfoxSwagger
0 likes · 16 min read
Using Swagger with Spring Boot: Setup, Configuration, and Common Issues
Top Architect
Top Architect
Aug 29, 2023 · Backend Development

Implementing Resumable Multipart File Upload with MinIO and Spring Boot

This article explains how to design and implement a resumable multipart file upload system using MD5 file identification, MinIO/S3 pre‑signed URLs, and Spring Boot controllers and services, covering database schema, task initialization, part uploading, merging, and cleanup of incomplete uploads.

MinioMultipart Uploadjava
0 likes · 11 min read
Implementing Resumable Multipart File Upload with MinIO and Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 28, 2023 · Information Security

How to Secure API Transmission with Spring Boot, Vue, and AES/DES Encryption

This guide explains how to protect API data exchange by implementing HTTPS, JWT, rate limiting, MAC, and symmetric encryption (AES/DES) in a Spring Boot backend, while using Vue and Axios on the frontend, including custom annotations, request/response advice, and crypto‑js utilities for end‑to‑end encryption.

AESAPI SecurityJWT
0 likes · 15 min read
How to Secure API Transmission with Spring Boot, Vue, and AES/DES Encryption
Architecture Digest
Architecture Digest
Aug 25, 2023 · Backend Development

Using JetCache for Multi‑Level Caching in Spring Boot Applications

This article introduces Alibaba's JetCache Java caching framework, explains how to combine local and Redis remote caches for multi‑level caching, provides Maven dependencies, configuration examples, three usage patterns (AOP, API, advanced API), testing steps, and common troubleshooting tips for Spring Boot projects.

BackendCacheJetCache
0 likes · 10 min read
Using JetCache for Multi‑Level Caching in Spring Boot Applications
Java Architecture Diary
Java Architecture Diary
Aug 25, 2023 · Backend Development

Spring Boot 2.7.15 Released: 45 Bug Fixes and Major Dependency Updates

Spring Boot 2.7.15, released on Maven Central, brings 45 bug fixes, documentation improvements, and numerous dependency upgrades, while the PIG microservice platform has been updated to this version; note that Spring Boot 2.x will cease maintenance in November 2023, urging migration to 3.x.

Bug FixesRelease Notesdependency-upgrade
0 likes · 4 min read
Spring Boot 2.7.15 Released: 45 Bug Fixes and Major Dependency Updates
MaGe Linux Operations
MaGe Linux Operations
Aug 24, 2023 · Backend Development

Designing a Scalable Short URL Service with Spring Boot

This article explains the principles, system design, key generation, encoding strategies, HTTP redirection techniques, and step‑by‑step Spring Boot project setup needed to build a reliable short‑link service for marketing and internal applications.

HTTP redirectbackend-developmentkey generation
0 likes · 8 min read
Designing a Scalable Short URL Service with Spring Boot
Java Architecture Diary
Java Architecture Diary
Aug 21, 2023 · Backend Development

How to Fix Spring Boot 3 Trailing Slash URL Mismatch After Upgrade

This article explains why URL mappings that worked in Spring Boot 2.x break after upgrading to Spring Boot 3, demonstrates the issue with trailing slashes, and provides three practical solutions—including a filter, Nginx rule, and Spring Cloud Gateway optimization—to restore correct routing.

NGINXSpring Cloud GatewaySpring MVC
0 likes · 5 min read
How to Fix Spring Boot 3 Trailing Slash URL Mismatch After Upgrade
Java Architect Essentials
Java Architect Essentials
Aug 20, 2023 · Backend Development

Bean Searcher: A High‑Performance Java Search Engine for Complex List Queries

Bean Searcher is an open‑source Java library that delivers a condition‑retrieval engine up to 100 times faster than MyBatis, natively supports multi‑table joins, pagination, sorting and aggregation, and enables developers to implement sophisticated list‑search APIs with a single line of code, dramatically reducing backend development effort.

Bean SearcherORMbackend-development
0 likes · 8 min read
Bean Searcher: A High‑Performance Java Search Engine for Complex List Queries
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 20, 2023 · Backend Development

How Spring Boot Registers Custom Error Pages with Tomcat

This article explains how Spring Boot 2.4.12 configures error handling, from default HTML/JSON responses based on the Accept header to the internal auto‑configuration that registers custom error pages in the embedded Tomcat container using BeanPostProcessors and the BasicErrorController.

Error HandlingException ManagementTomcat
0 likes · 10 min read
How Spring Boot Registers Custom Error Pages with Tomcat
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 19, 2023 · Backend Development

Master Spring Boot Transaction Management with TransactionTemplate and PlatformTransactionManager

This guide explains Spring Boot's programmatic transaction management using TransactionTemplate, TransactionCallback, and PlatformTransactionManager, covering configuration, rollback handling, event listeners, and when to prefer programmatic versus declarative approaches, complete with code examples.

PlatformTransactionManagerbackend-developmentjava
0 likes · 8 min read
Master Spring Boot Transaction Management with TransactionTemplate and PlatformTransactionManager
Top Architect
Top Architect
Aug 18, 2023 · Backend Development

Spring Boot Best Practices for Developers

This article presents a comprehensive collection of Spring Boot best practices—including proper package structure, design pattern usage, starter dependencies, Lombok integration, constructor injection, SLF4J logging, controller and service design, null‑pointer avoidance, collection handling, pagination, caching, custom exception handling, response objects, code cleanup, meaningful naming, casing conventions, simplicity, consistent formatting, and SonarLint usage—to help developers build efficient, maintainable, and high‑performance backend applications.

Performancejavaspring-boot
0 likes · 11 min read
Spring Boot Best Practices for Developers
Code Ape Tech Column
Code Ape Tech Column
Aug 18, 2023 · Backend Development

Using JetCache for Multi‑Level Caching in Spring Boot Applications

This article introduces Alibaba's JetCache framework, explains how to configure and combine local and remote (Redis) caches in a Spring Boot project, and demonstrates three usage patterns—AOP annotations, API mode, and advanced CacheManager API—along with troubleshooting tips and test procedures.

JetCacheMulti-level Cachejava
0 likes · 11 min read
Using JetCache for Multi‑Level Caching in Spring Boot Applications
Programmer DD
Programmer DD
Aug 18, 2023 · Information Security

Why Gmail Rejects Your Emails and How to Fix SPF/DKIM Issues

This guide explains why Gmail bounces verification emails from a Spring Boot backend, analyzes the required SPF, DKIM, ARC, and DMARC configurations, and provides step‑by‑step instructions with example TXT records to ensure successful delivery.

DKIMDMARCDNS
0 likes · 6 min read
Why Gmail Rejects Your Emails and How to Fix SPF/DKIM Issues
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 17, 2023 · Backend Development

Master Spring Boot Request Mapping: Content Types, Params, Headers, URI Patterns

This guide explains how Spring Boot 2.6.12 uses @GetMapping with consumes and produces attributes to restrict request and response content types, demonstrates matching based on request parameters and headers, details the internal request mapping lookup process, compares PathPattern and AntPathMatcher URI patterns, and shows dynamic registration of request handlers.

REST APIRequest Mappingbackend-development
0 likes · 9 min read
Master Spring Boot Request Mapping: Content Types, Params, Headers, URI Patterns
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 17, 2023 · Backend Development

Understanding Jackson vs Fastjson Serialization of Circular References and Global Exception Handling in Spring Boot

The article examines how Spring Boot handles circular reference serialization with Jackson and Fastjson, demonstrates the role of @ControllerAdvice for global exception capture, explains why Jackson may emit both 200 and 500 responses, and provides practical solutions using annotations and configuration.

BackendJacksoncircular reference
0 likes · 18 min read
Understanding Jackson vs Fastjson Serialization of Circular References and Global Exception Handling in Spring Boot
Su San Talks Tech
Su San Talks Tech
Aug 16, 2023 · Backend Development

Implement QR Code Login with WebSocket in Spring Boot: Step-by-Step Guide

Learn how to build a QR‑code login system using Spring Boot and WebSocket, covering database design, role analysis, API creation, front‑end integration, and full Java code examples for generating QR images, handling socket communication, and validating tokens with expiration logic.

QR Code Loginjavaspring-boot
0 likes · 13 min read
Implement QR Code Login with WebSocket in Spring Boot: Step-by-Step Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 16, 2023 · Backend Development

Mastering Spring Boot Logging: Formats, Levels, and Custom Configurations

This guide explains Spring Boot 2.4.12 logging fundamentals, covering default console output, customizable patterns, colored logs, file rotation, log levels, logger groups, and advanced Logback extensions, with practical YAML and XML examples for fine‑tuning your application's logging behavior.

Console outputCustom Propertiesfile rotation
0 likes · 19 min read
Mastering Spring Boot Logging: Formats, Levels, and Custom Configurations
Architecture Digest
Architecture Digest
Aug 15, 2023 · Backend Development

Spring Boot Best Practices for Building Efficient Backend Applications

This article presents a comprehensive collection of Spring Boot best practices, covering package organization, design patterns, starter usage, dependency management, Lombok integration, constructor injection, logging with SLF4J, controller responsibilities, service layer design, null‑safety, collection handling, pagination, caching, exception handling, response objects, code cleanup, naming conventions, formatting, and tooling such as SonarLint.

Lombokbackend-developmentbest practices
0 likes · 11 min read
Spring Boot Best Practices for Building Efficient Backend Applications
macrozheng
macrozheng
Aug 15, 2023 · Backend Development

Mastering Web Message Push: From Short Polling to SSE and WebSocket

This article explains various web message‑push techniques—including short polling, long polling, iframe streaming, Server‑Sent Events, MQTT, and WebSocket—detailing their principles, advantages, and step‑by‑step Spring Boot and JavaScript implementations with complete code examples.

SSEjavaspring-boot
0 likes · 18 min read
Mastering Web Message Push: From Short Polling to SSE and WebSocket
Su San Talks Tech
Su San Talks Tech
Aug 15, 2023 · Information Security

Master Spring Security & JWT: Build Secure Authentication in Spring Boot

This tutorial explains how to integrate Spring Security with JWT in a Spring Boot application, covering authentication and authorization concepts, filter chain principles, project setup, dependency configuration, security configuration classes, custom token filters, and the complete request‑authentication flow.

AuthenticationAuthorizationJWT
0 likes · 15 min read
Master Spring Security & JWT: Build Secure Authentication in Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 15, 2023 · Backend Development

Secure Spring Boot Configs: Encrypt Sensitive Properties with EnvironmentPostProcessor

This tutorial explains how to protect sensitive Spring Boot configuration values by encrypting them and automatically decrypting them at runtime using Spring Cloud Context's DecryptEnvironmentPostProcessor, complete with dependency setup, code examples, and JCE installation guidance.

EnvironmentPostProcessorconfigurationencryption
0 likes · 7 min read
Secure Spring Boot Configs: Encrypt Sensitive Properties with EnvironmentPostProcessor
Top Architect
Top Architect
Aug 13, 2023 · Backend Development

Implementing Idempotency in Spring Boot with Custom Annotations and Redis

This article explains the concept of idempotency, identifies naturally idempotent HTTP methods, discusses why idempotency is essential for retries, async callbacks, and message queues, and provides a complete Spring Boot implementation using a custom @Idempotent annotation, AOP, and Redis for token storage.

BackendIdempotencyannotation
0 likes · 12 min read
Implementing Idempotency in Spring Boot with Custom Annotations and Redis
Su San Talks Tech
Su San Talks Tech
Aug 13, 2023 · Backend Development

Master Spring Boot Configuration: From Environment to @Value and Beyond

This article explains multiple ways to read configuration properties in Spring Boot—including Environment, @Value, @ConfigurationProperties, @PropertySources, and custom YAML loading—detailing their underlying mechanisms, common pitfalls, and code examples so developers can choose the most suitable approach for their projects.

@ValueConfigurationPropertiesEnvironment
0 likes · 17 min read
Master Spring Boot Configuration: From Environment to @Value and Beyond
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 11, 2023 · Backend Development

How Spring Cloud Gateway Initializes Predicates and Routes Internally

This article explores how Spring Cloud Gateway (Hoxton.SR11) initializes predicate factories, binds configuration values, creates Route objects, and uses CachingRouteLocator and RouteDefinitionRouteLocator to locate and match routes at startup, detailing the underlying code flow and key classes involved.

Backend RoutingSpring Cloud Gatewayjava
0 likes · 11 min read
How Spring Cloud Gateway Initializes Predicates and Routes Internally
Java Interview Crash Guide
Java Interview Crash Guide
Aug 9, 2023 · Backend Development

Boost Java Backend Productivity with MyBatis‑Plus Generator UI

This article introduces the MyBatis‑Plus Generator UI, a web‑based code generation framework that supports multiple databases, offers highly customizable templates, and integrates seamlessly with Spring Boot to accelerate backend development through automated creation of entities, mappers, services, controllers, and SQL‑based code.

MyBatis-Pluscode-generationgenerator UI
0 likes · 13 min read
Boost Java Backend Productivity with MyBatis‑Plus Generator UI
Code Ape Tech Column
Code Ape Tech Column
Aug 9, 2023 · Operations

One‑Click Automated Deployment of Spring Boot with Jenkins and Docker

This tutorial walks through a complete, step‑by‑step setup of a one‑click CI/CD pipeline that installs Docker and Jenkins on CentOS, configures Maven, creates a Jenkins job, builds a Spring Boot JAR, packages it into a Docker image, and runs the container, providing all commands and screenshots for a seamless deployment experience.

CI/CDCentOSJenkins
0 likes · 6 min read
One‑Click Automated Deployment of Spring Boot with Jenkins and Docker
Java Architecture Diary
Java Architecture Diary
Aug 9, 2023 · Backend Development

What’s New in MyBatis‑Plus 3.5.13? Top Features and Performance Boosts

MyBatis‑Plus 3.5.13 introduces dynamic SQL smart optimization, a richer code generator, significant heap‑memory reduction, Spring Boot 3 and JDK 17 native support, new database adapters, enhanced optimistic locking, multi‑parameter filling, and comprehensive SQL‑injection safeguards, all aimed at faster, more productive backend development.

ORMSQL optimizationbackend-development
0 likes · 9 min read
What’s New in MyBatis‑Plus 3.5.13? Top Features and Performance Boosts
Top Architect
Top Architect
Aug 8, 2023 · Backend Development

Spring Cloud Gateway: Concepts, Configuration, Routing, Filters, and CORS Handling

This article introduces Spring Cloud Gateway as a unified entry point for microservices, explains its core functions, compares it with Zuul, provides Maven and YAML configuration examples, details route definitions, filter types and ordering, shows how to implement custom filters, and demonstrates CORS solutions using both YAML and Java code.

CORSCustom FilterSpring Cloud Gateway
0 likes · 16 min read
Spring Cloud Gateway: Concepts, Configuration, Routing, Filters, and CORS Handling
JD Tech
JD Tech
Aug 8, 2023 · Backend Development

Creating a Custom Maven Archetype Scaffold for Spring Boot Projects

This guide walks through building a reusable Maven archetype scaffold from a Spring Boot template, covering template preparation, Maven configuration, archetype generation, publishing to a repository, and using the scaffold to quickly create new backend projects.

Archetypebackend-developmentmaven
0 likes · 9 min read
Creating a Custom Maven Archetype Scaffold for Spring Boot Projects
Java Architect Essentials
Java Architect Essentials
Aug 7, 2023 · Backend Development

Choosing Between @Autowired, @Resource, and @Qualifier for Service Injection in Spring

This article explains three ways to inject a specific service implementation in Spring—using @Qualifier with @Autowired, using @Resource with type or name attributes, and naming @Service beans—detailing their semantics, bean‑matching rules, and providing complete code examples for each approach.

annotationsbackend-developmentdependency-injection
0 likes · 5 min read
Choosing Between @Autowired, @Resource, and @Qualifier for Service Injection in Spring
Top Architect
Top Architect
Aug 3, 2023 · Backend Development

Introduction to MyBatis-Flex: Features, Comparison, and Quick‑Start Guide

This article introduces MyBatis‑Flex, a lightweight yet high‑performance MyBatis enhancement framework, outlines its key features, compares it with similar tools, lists supported databases, and provides a step‑by‑step Spring Boot quick‑start tutorial with complete code examples.

MyBatis-FlexORMdatabase
0 likes · 11 min read
Introduction to MyBatis-Flex: Features, Comparison, and Quick‑Start Guide
Architecture Digest
Architecture Digest
Aug 3, 2023 · Backend Development

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

This tutorial explains how to integrate Dataway—a UI‑driven API configuration tool based on DataQL—into a Spring Boot application by adding the required Hasor dependencies, configuring Dataway properties and database tables, setting up the data source, enabling Hasor, and finally creating and publishing APIs using both SQL and DataQL modes.

DataQLDatawayHasor
0 likes · 13 min read
Integrating Dataway with Spring Boot: A Step‑by‑Step Tutorial
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 3, 2023 · Backend Development

Master Spring Boot Caching with JSR‑107 and Ehcache: Step‑by‑Step Guide

Learn how to enable and configure transparent caching in Spring Boot 2.3 using JSR‑107 annotations and Ehcache, covering annotation usage, custom key generators, service and controller implementation, Maven dependencies, YAML and XML settings, and practical testing of cache put, get, and removal operations.

EhcacheJSR-107backend-development
0 likes · 8 min read
Master Spring Boot Caching with JSR‑107 and Ehcache: Step‑by‑Step Guide
Zhuanzhuan Tech
Zhuanzhuan Tech
Aug 2, 2023 · Backend Development

Introduction and Quick‑Start Guide to the Flowable Workflow Engine

This article introduces the Flowable workflow engine, compares it with other BPM solutions, explains its core concepts, APIs, system tables, BPMN 2.0 modeling, and provides a step‑by‑step quick‑start example with code snippets for building and executing an approval process in a Spring Boot environment.

BPMNFlowableWorkflow Engine
0 likes · 17 min read
Introduction and Quick‑Start Guide to the Flowable Workflow Engine
Architect
Architect
Aug 1, 2023 · Backend Development

How to Master Rate Limiting in Microservices: From Dubbo to Redis and Sentinel

This article walks through the importance of rate limiting in microservice architectures, compares Dubbo, Spring Cloud, and gateway approaches, explains token‑bucket, leaky‑bucket and sliding‑window algorithms, and provides step‑by‑step AOP implementations using Guava, Sentinel, and Redis with full code samples.

Dubbojavamicroservices
0 likes · 32 min read
How to Master Rate Limiting in Microservices: From Dubbo to Redis and Sentinel
Architecture Digest
Architecture Digest
Aug 1, 2023 · Backend Development

Comprehensive Guide to Integrating MyBatis-Plus with Spring Boot

This article provides a step‑by‑step tutorial on integrating MyBatis‑Plus into a Spring Boot project, covering dependency setup, configuration of data sources, entity annotations, CRUD operations, pagination, logical deletion, enum handling, automatic field filling, and multi‑datasource usage with complete code examples.

CRUDORMjava
0 likes · 15 min read
Comprehensive Guide to Integrating MyBatis-Plus with Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 1, 2023 · Backend Development

Boost Spring Boot Throughput: Programmatic Transaction Management vs @Transactional

This article demonstrates how using Spring Boot's TransactionTemplate to programmatically control transactions can prevent long‑running non‑transactional operations from blocking database connections, thereby increasing system throughput compared to the traditional @Transactional annotation, with detailed code examples and performance observations.

Performancejavajpa
0 likes · 6 min read
Boost Spring Boot Throughput: Programmatic Transaction Management vs @Transactional
Java Architect Essentials
Java Architect Essentials
Jul 31, 2023 · Backend Development

Mastering Retry Logic in Java: Spring‑Retry vs Guava‑Retry

This article explains how to implement reliable retry mechanisms in Java applications using Spring‑Retry and Guava‑Retry, covering Maven dependencies, template‑based and annotation‑based configurations, policy and back‑off options, code examples, test results, and a practical comparison of both frameworks.

Guava RetryRetry FrameworkRetry Policy
0 likes · 17 min read
Mastering Retry Logic in Java: Spring‑Retry vs Guava‑Retry
Architect
Architect
Jul 30, 2023 · Backend Development

Spring Boot Integration with Spring Batch: A Comprehensive Tutorial

This article provides a step‑by‑step guide on integrating Spring Batch with Spring Boot, covering configuration, job and step setup, ItemReader/Processor/Writer implementations, database interactions, handling CSV and database sources, and troubleshooting common issues such as connection‑pool compatibility.

BackendBatch ProcessingSpring Batch
0 likes · 22 min read
Spring Boot Integration with Spring Batch: A Comprehensive Tutorial
Top Architect
Top Architect
Jul 28, 2023 · Backend Development

An Introduction to MyBatis-Flex: Features, Comparison, and Quick‑Start Guide

This article introduces MyBatis‑Flex, a lightweight yet powerful MyBatis enhancement framework, outlines its key features and advantages, compares it with similar tools, presents performance benchmarks, lists supported databases, and provides a step‑by‑step quick‑start tutorial with code examples for Spring Boot integration.

MyBatis-FlexORMPerformance
0 likes · 9 min read
An Introduction to MyBatis-Flex: Features, Comparison, and Quick‑Start Guide
Selected Java Interview Questions
Selected Java Interview Questions
Jul 28, 2023 · Backend Development

Introduction to Spring Cloud Gateway and Its Core Concepts

This article explains the purpose of an API gateway, introduces Spring Cloud Gateway as a modern, WebFlux‑based solution, outlines its features, core concepts such as routes, predicates and filters, shows configuration examples, dynamic routing, and how to create custom predicates and filters for microservice architectures.

Spring Cloud Gatewayapi-gatewayjava
0 likes · 10 min read
Introduction to Spring Cloud Gateway and Its Core Concepts
Top Architect
Top Architect
Jul 27, 2023 · Backend Development

Step‑by‑Step Integration of Dataway with Spring Boot Using Hasor

This article provides a comprehensive tutorial on integrating Dataway—a zero‑code API configuration tool based on DataQL—into a Spring Boot project via the Hasor framework, covering dependency setup, Dataway configuration, datasource binding, enabling Hasor, launching the application, and creating and testing API endpoints.

API ConfigurationDatawayHasor
0 likes · 15 min read
Step‑by‑Step Integration of Dataway with Spring Boot Using Hasor
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 27, 2023 · Backend Development

How to Set Up and Secure Spring Boot Admin Server & Client with Dynamic Logging

This guide walks through setting up a Spring Boot Admin server and client, adding security, configuring logging, displaying client IPs, and dynamically adjusting log levels via the SBA UI, providing complete Maven dependencies, Java configuration classes, and YAML settings for a secure, observable Spring Boot ecosystem.

Monitoringjavalogging
0 likes · 9 min read
How to Set Up and Secure Spring Boot Admin Server & Client with Dynamic Logging
macrozheng
macrozheng
Jul 25, 2023 · Backend Development

Dynamic SQL with MyBatis Interceptors in Spring Boot

This tutorial explains how to use MyBatis interceptor mechanisms to dynamically modify SQL statements at runtime in a Spring Boot application, covering interceptor types, implementation steps, configuration, core code, testing, and common use cases such as SQL monitoring, pagination, and data permission filtering.

Dynamic SQLInterceptorjava
0 likes · 11 min read
Dynamic SQL with MyBatis Interceptors in Spring Boot
Java Architecture Diary
Java Architecture Diary
Jul 25, 2023 · Backend Development

Fixing Spring Boot Startup Errors After CVE‑2023‑34035 Upgrade

When upgrading Spring Boot to patch CVE‑2023‑34034 and CVE‑2023‑34035, applications using Spring Security may encounter a startup error indicating ambiguous pattern detection, which can be resolved by upgrading to patched versions and adjusting requestMatchers to use MvcRequestMatcher or AntPathRequestMatcher as appropriate.

AuthorizationCVEjava
0 likes · 4 min read
Fixing Spring Boot Startup Errors After CVE‑2023‑34035 Upgrade
Code Ape Tech Column
Code Ape Tech Column
Jul 24, 2023 · Cloud Native

Graceful Service Deployment with Nacos Registry in Spring Boot

This article explains how to achieve graceful service publishing using Nacos as a registration center in a Spring Boot microservice architecture, covering environment setup, provider startup and shutdown, client-side load‑balancing with Ribbon, and configuration tweaks for both online and offline scenarios.

Graceful DeploymentNacosRibbon
0 likes · 16 min read
Graceful Service Deployment with Nacos Registry in Spring Boot
Programmer DD
Programmer DD
Jul 24, 2023 · Backend Development

Boost Your Spring Boot Startup Speed with Spring Startup Analyzer

Spring Startup Analyzer is an open-source tool that captures Spring Boot startup data, generates interactive reports, and offers async bean initialization to speed up launches, with detailed statistics, bean timelines, method call metrics, unused JAR detection, and flame-graph visualizations, plus step-by-step usage instructions.

backend-developmentjavaperformance analysis
0 likes · 9 min read
Boost Your Spring Boot Startup Speed with Spring Startup Analyzer
Top Architect
Top Architect
Jul 20, 2023 · Backend Development

Designing Microservice Permission Architecture with Shiro and Redis

This article explains how to design and implement a microservice permission system using Apache Shiro, Spring Boot, Dubbo, and Redis, covering challenges of integrating Shiro with gateways, shared session management, custom Cache and SessionDAO implementations, and provides complete code examples and configuration details.

AuthorizationShirojava
0 likes · 26 min read
Designing Microservice Permission Architecture with Shiro and Redis
Architecture Digest
Architecture Digest
Jul 20, 2023 · Backend Development

Comprehensive Guide to Using Caffeine Cache in Java and Spring Boot

This article provides an in‑depth overview of the Caffeine local cache library for Java, covering its concepts, configuration options, loading strategies, eviction policies, asynchronous usage, statistics collection, and step‑by‑step integration with Spring Boot including annotations and practical code examples.

BackendCacheCaffeine
0 likes · 15 min read
Comprehensive Guide to Using Caffeine Cache in Java and Spring Boot
Java Architect Essentials
Java Architect Essentials
Jul 18, 2023 · Backend Development

Build QR‑Code Login with WebSocket in Spring Boot

This guide walks through designing a User_Token table, defining roles and APIs, implementing QR‑code generation and validation endpoints, and wiring a Spring Boot WebSocket server with front‑end AJAX to achieve secure, real‑time QR‑code login for Android, web and PC clients.

AuthenticationQR Code Loginbackend-development
0 likes · 14 min read
Build QR‑Code Login with WebSocket in Spring Boot
Su San Talks Tech
Su San Talks Tech
Jul 14, 2023 · Backend Development

How to Use MyBatis Interceptor for Dynamic SQL in Spring Boot 3

This article demonstrates how to leverage MyBatis interceptor mechanism in a Spring Boot 3 application to dynamically modify SQL statements, showing step‑by‑step implementation, configuration, core code, testing, and common use cases such as SQL monitoring, pagination, and data permission filtering.

Dynamic SQLInterceptorjava
0 likes · 11 min read
How to Use MyBatis Interceptor for Dynamic SQL in Spring Boot 3
政采云技术
政采云技术
Jul 13, 2023 · Backend Development

Practical Use of Java Dynamic Compilation in Projects

This article explains how Java's dynamic compilation can be applied to modularize and simplify code management in large projects, demonstrates a basic implementation with code examples, and shows how to integrate the technique into Spring Boot applications while addressing class‑loader and dependency challenges.

Dynamic CompilationJavaCompilerMemoryClassLoader
0 likes · 16 min read
Practical Use of Java Dynamic Compilation in Projects
Architecture Digest
Architecture Digest
Jul 12, 2023 · Backend Development

WeBlog: A Spring Boot + Vue 3.2 Based Full‑Stack Blog System

WeBlog is a front‑end/back‑end separated blogging platform built with Spring Boot, MyBatis‑Plus, MySQL, Spring Security, JWT, Minio, and Vue 3.2 + Element Plus, offering Markdown editing, category/tag management, dashboard statistics, and a complete set of admin and front‑end features.

Full-Stack BlogJWTMySQL
0 likes · 7 min read
WeBlog: A Spring Boot + Vue 3.2 Based Full‑Stack Blog System
Java Architecture Diary
Java Architecture Diary
Jul 12, 2023 · Backend Development

How to Quickly Switch to Smart-Servlet with Spring Boot Fat Jar

This article introduces the smart-servlet web container, outlines its key features, provides step‑by‑step instructions for replacing Tomcat with smart-servlet in a Spring Boot fat‑jar project, and highlights the related smart-socket framework and ecosystem components.

Web Containerplugin architecturesmart-servlet
0 likes · 4 min read
How to Quickly Switch to Smart-Servlet with Spring Boot Fat Jar
Top Architect
Top Architect
Jul 11, 2023 · Backend Development

Graceful Shutdown in Spring Boot: Handling Linux kill Signals, JVM SignalHandler, and Runtime Shutdown Hooks

The article explains how to perform a graceful shutdown of Spring Boot applications by handling Linux kill signals, using the JVM's SignalHandler and Runtime.addShutdownHook mechanisms, and leveraging Spring's ContextClosedEvent and the actuator shutdown endpoint, with detailed code examples and configuration tips.

Graceful ShutdownJVM SignalHandlerLinux kill
0 likes · 12 min read
Graceful Shutdown in Spring Boot: Handling Linux kill Signals, JVM SignalHandler, and Runtime Shutdown Hooks
Selected Java Interview Questions
Selected Java Interview Questions
Jul 11, 2023 · Backend Development

Design and Implementation of a High‑Performance Distributed Cache with Redis and Caffeine for Spring Boot Services

This article outlines the design goals, architecture, and implementation details of a high‑performance distributed caching solution for Spring Boot applications, combining Redis as a first‑level cache with Caffeine as a second‑level cache, and provides configuration, usage examples, and future enhancement plans.

CaffeineDistributed Cacheaop
0 likes · 11 min read
Design and Implementation of a High‑Performance Distributed Cache with Redis and Caffeine for Spring Boot Services
Java Backend Technology
Java Backend Technology
Jul 11, 2023 · Backend Development

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

This article explains the dangers of using the Linux kill -9 command on Spring Boot applications, illustrates data loss scenarios, and provides multiple graceful shutdown methods—including SIGTERM, Spring's ConfigurableApplicationContext, Actuator endpoints, and custom Tomcat shutdown configurations—complete with code examples and best‑practice tips.

ActuatorGraceful ShutdownLinux kill
0 likes · 21 min read
Why kill -9 Can Corrupt Your Spring Boot Service and How to Shut It Down Gracefully
Architect's Guide
Architect's Guide
Jul 11, 2023 · Backend Development

Understanding MyBatis First‑Level and Second‑Level Caches and Their Integration with Spring Boot

This article explains how MyBatis implements first‑level (session) and second‑level (cross‑session) caches, the conditions required for each to work, why the first‑level cache often fails in Spring Boot without transactions, how to enable and use the second‑level cache safely, and the hidden risks of stale data when different mappers share related tables.

CacheORMbackend-development
0 likes · 10 min read
Understanding MyBatis First‑Level and Second‑Level Caches and Their Integration with Spring Boot
Programmer DD
Programmer DD
Jul 7, 2023 · Backend Development

Master Spring Boot’s Built‑In Utility Classes for Faster Development

This article introduces the most useful Spring Boot utility classes—including Assert, ObjectUtils, StringUtils, CollectionUtils, FileCopyUtils, ResourceUtils, StreamUtils, ReflectionUtils, and AOP helpers—explaining their purpose, key methods, and code examples to help Java developers write cleaner, more efficient backend code.

Spring FrameworkUtility Classesbackend-development
0 likes · 14 min read
Master Spring Boot’s Built‑In Utility Classes for Faster Development
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 6, 2023 · Databases

Master Spring Boot 2.3 with Elasticsearch 7.8: Full CRUD and Advanced Queries

This guide demonstrates how to integrate Spring Boot 2.3.10 with Elasticsearch 7.8 using the high‑level REST client, covering required Maven dependencies, index creation, retrieval, deletion, document CRUD operations, bulk processing, and a variety of advanced search techniques such as paging, sorting, filtering, range, highlighting, aggregations, and grouping.

CRUDElasticsearchjava
0 likes · 12 min read
Master Spring Boot 2.3 with Elasticsearch 7.8: Full CRUD and Advanced Queries
Su San Talks Tech
Su San Talks Tech
Jul 6, 2023 · Databases

Master ShardingSphere: Quick Sharding with Spring Boot and YML

This tutorial walks through the fundamentals and architecture of ShardingSphere, compares it with other sharding tools, and demonstrates how to implement database sharding in a Spring Boot project using both YML configuration and pure Java code, including detailed code snippets and deployment tips.

ShardingSphereYAMLdatabase sharding
0 likes · 22 min read
Master ShardingSphere: Quick Sharding with Spring Boot and YML
Top Architect
Top Architect
Jul 5, 2023 · Backend Development

Implementing IP Geolocation in Spring Boot Using ip2region (Local and Online Methods)

This article explains how to integrate IP geolocation into a Spring Boot application by using the ip2region library for offline lookups and an online API for real‑time address resolution, providing code samples, dependency setup, caching strategies, and an interceptor to attach IP information to every request.

BackendIP geolocationInterceptor
0 likes · 12 min read
Implementing IP Geolocation in Spring Boot Using ip2region (Local and Online Methods)
Code Ape Tech Column
Code Ape Tech Column
Jul 4, 2023 · Backend Development

Guide to Using Apache Pulsar Java Client with Spring Boot

This tutorial explains how to deploy a single‑node Pulsar cluster with Docker, configure the Java client in a Spring Boot application, and create producers and consumers with detailed code examples and parameter explanations.

Apache PulsarConsumerMessaging
0 likes · 11 min read
Guide to Using Apache Pulsar Java Client with Spring Boot