Tagged articles
3874 articles
Page 20 of 39
Code Ape Tech Column
Code Ape Tech Column
Sep 22, 2023 · Backend Development

Elegant Ways to Transfer Data Between Parent and Child Threads in Spring Boot

This article introduces four methods—manual setting, TaskDecorator, InheritableThreadLocal, and TransmittableThreadLocal—to propagate contextual data such as user information from a parent thread to child threads in Spring Boot asynchronous execution, providing code examples and practical recommendations.

JavaSpring BootTaskDecorator
0 likes · 13 min read
Elegant Ways to Transfer Data Between Parent and Child Threads in Spring Boot
Java Architecture Diary
Java Architecture Diary
Sep 21, 2023 · Backend Development

Unlock Java 21: New Features, Virtual Threads, and Migration Tips

Java 21, the latest LTS release, introduces virtual threads, sequenced collections, record patterns, and other enhancements; the article explains these new features, guides developers on configuring IDEs and runtimes with Azul Zulu and IntelliJ IDEA, and resolves Lombok incompatibility by updating to version 1.18.30.

LombokSpring Bootjava-21
0 likes · 4 min read
Unlock Java 21: New Features, Virtual Threads, and Migration Tips
Top Architect
Top Architect
Sep 19, 2023 · Operations

Building a Real‑Time ELK Log Analysis Platform and Integrating It with Spring Boot and Nginx

This tutorial explains why centralized log collection is essential for micro‑service systems, introduces the ELK stack (Elasticsearch, Logstash, Kibana), provides step‑by‑step installation on Ubuntu, shows how to configure Logstash shipper and indexer pipelines, and demonstrates integration with Spring Boot and Nginx logs for real‑time monitoring.

ELKElasticsearchKibana
0 likes · 20 min read
Building a Real‑Time ELK Log Analysis Platform and Integrating It with Spring Boot and Nginx
Programmer DD
Programmer DD
Sep 19, 2023 · Backend Development

Spring Boot Virtual Threads vs WebFlux: Which Delivers Better Performance?

This article summarizes a performance comparison between Spring Boot applications using virtual threads and those built with Spring WebFlux, detailing the test scenario of JWT verification and MySQL queries, the environment, code implementations, benchmark results across various concurrency levels, and concluding that WebFlux outperforms virtual‑threaded Spring Boot.

JWTMySQLPerformance Benchmark
0 likes · 9 min read
Spring Boot Virtual Threads vs WebFlux: Which Delivers Better Performance?
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 18, 2023 · Backend Development

Why MyBatis SqlSession Crashes with Multiple Threads and How Spring Fixes It

This article examines the ClassCastException that occurs when 100 threads concurrently query MyBatis using a shared SqlSession, analyzes the root cause in DefaultSqlSession and BaseExecutor, and explains how Spring Boot’s MyBatis integration employs SqlSessionTemplate, ThreadLocal binding, and transaction management to guarantee thread‑safe SqlSession usage.

MyBatisSpring BootSqlSession
0 likes · 21 min read
Why MyBatis SqlSession Crashes with Multiple Threads and How Spring Fixes It
Code Ape Tech Column
Code Ape Tech Column
Sep 16, 2023 · Backend Development

Batch Request Merging in Java to Reduce Database Connections

This article explains how to merge multiple user‑detail requests on the server side using a blocking queue, scheduled thread pool and CompletableFuture in Spring Boot, thereby converting many individual SQL calls into a single batch query, saving database connections and improving high‑concurrency performance.

Batch processingCompletableFutureConcurrency
0 likes · 13 min read
Batch Request Merging in Java to Reduce Database Connections
Java Captain
Java Captain
Sep 15, 2023 · Backend Development

A Comprehensive Guide to the 50 Most Common Spring Boot Annotations

This article provides an in‑depth overview of the most frequently used Spring Boot annotations, categorizing them into Spring MVC, Spring Data JPA, Spring Security, and other essential annotations, and demonstrates their practical usage with concise examples.

BackendJavaSpring Boot
0 likes · 5 min read
A Comprehensive Guide to the 50 Most Common Spring Boot Annotations
Java High-Performance Architecture
Java High-Performance Architecture
Sep 15, 2023 · Backend Development

Build API Interfaces Instantly with Dataway in Spring Boot

This tutorial walks through integrating Dataway—a UI‑driven, code‑free API configuration tool based on DataQL—into a Spring Boot project, covering Maven dependencies, property settings, datasource setup, Hasor module integration, enabling annotations, and publishing a test endpoint.

API ConfigurationDataQLDataway
0 likes · 14 min read
Build API Interfaces Instantly with Dataway in Spring Boot
Architecture Digest
Architecture Digest
Sep 14, 2023 · Backend Development

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

This guide explains how to embed Dataway—a DataQL‑based API configuration tool—into a Spring Boot application, covering dependency setup, property configuration, datasource integration, Hasor module wiring, enabling Hasor, launching the app, accessing the UI, creating and publishing APIs using SQL or DataQL, and verifying the results.

API ConfigurationBackendDataQL
0 likes · 12 min read
Integrating Dataway with Spring Boot: A Step‑by‑Step Guide
Java Architect Essentials
Java Architect Essentials
Sep 13, 2023 · Backend Development

Key Changes in Spring Boot 3.0.0 M1 Release

The Spring Boot 3.0.0 M1 milestone upgrades the Java baseline to Java 17, migrates all Java EE APIs to Jakarta EE, removes support for several third‑party libraries, updates a long list of Spring and external dependencies, and outlines the upcoming release cadence.

Spring Bootdependency-upgradejakarta-ee
0 likes · 5 min read
Key Changes in Spring Boot 3.0.0 M1 Release
Architect's Guide
Architect's Guide
Sep 11, 2023 · Backend Development

Java Plugin Development: SPI, ServiceLoader, Custom Configurations, and Spring Boot Factories

This article explains the concept and benefits of plugin-based development, outlines common Java implementation approaches such as SPI, configuration‑driven reflection, runtime JAR loading, and Spring Boot's spring.factories, and provides detailed code examples and a complete case study demonstrating flexible, hot‑pluggable SMS services.

Backend DevelopmentJavaSPI
0 likes · 19 min read
Java Plugin Development: SPI, ServiceLoader, Custom Configurations, and Spring Boot Factories
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 7, 2023 · Backend Development

How to Configure Master‑Slave Data Sources in Spring Boot with JPA & MyBatis

This guide walks through setting up a Spring Boot 2.4.12 project with JDK 1.8, Oracle, and two data sources—master and slave—covering Maven dependencies, application.yml settings, custom property classes, HikariDataSource beans, JPA EntityManagerFactory, MyBatis SqlSessionFactory, mapper scanning, and testing entity creation to verify successful configuration.

HikariCPMultiple Data SourcesMyBatis
0 likes · 21 min read
How to Configure Master‑Slave Data Sources in Spring Boot with JPA & MyBatis
MaGe Linux Operations
MaGe Linux Operations
Sep 6, 2023 · Backend Development

Mastering JetCache: Multi‑Level Caching with Spring Boot and Redis

This guide explains how to combine local and remote caches using Alibaba's JetCache in a Spring Boot project, covering dependency setup, configuration files, annotation‑based usage, advanced API methods, testing procedures, and common troubleshooting tips for a robust multi‑level caching solution.

CacheJavaJetCache
0 likes · 11 min read
Mastering JetCache: Multi‑Level Caching with Spring Boot and Redis
Java Architect Essentials
Java Architect Essentials
Sep 6, 2023 · Backend Development

Understanding Spring Boot 2.7.10’s Embedded Tomcat: Defaults, Thread Pools, and Connection Limits

This article examines Spring Boot 2.7.10’s embedded Tomcat configuration, detailing default connection queue sizes, thread pool parameters, key Tomcat settings such as AcceptCount and MaxConnections, internal thread components, and practical testing results that reveal how connection limits affect client‑server handshakes.

Backend DevelopmentConnection ManagementPerformance tuning
0 likes · 15 min read
Understanding Spring Boot 2.7.10’s Embedded Tomcat: Defaults, Thread Pools, and Connection Limits
Top Architect
Top Architect
Sep 5, 2023 · Backend Development

Service Gateway Explained: Routing, Filters, Benefits, and Java‑Based Technical Stack

This article explains what a service gateway is—combining routing and filters—covers why it is needed for centralized cross‑cutting concerns such as authentication, rate limiting and monitoring, describes the architecture and request flow with gateway, open‑service and microservices, and recommends a Java‑based stack including Spring Boot, Netflix Zuul, Consul, JWT, Prometheus, Grafana, ELK and JMeter.

FiltersJavaRouting
0 likes · 9 min read
Service Gateway Explained: Routing, Filters, Benefits, and Java‑Based Technical Stack
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 4, 2023 · Backend Development

Mastering RocketMQ with Spring Boot: From Simple to Transactional Messaging

This guide demonstrates how to integrate RocketMQ 4.8.0 into a Spring Boot 2.4.12 application, covering dependency setup, configuration, sending and receiving normal, ordered, cluster/broadcast, and transactional messages, complete with code snippets and execution results to help developers implement reliable messaging patterns.

ClusterJavaMessaging
0 likes · 9 min read
Mastering RocketMQ with Spring Boot: From Simple to Transactional Messaging
IT Services Circle
IT Services Circle
Sep 2, 2023 · Backend Development

Using Swagger for API Documentation in Spring Boot: Setup, Configuration, and Customization

This article explains what Swagger is, why it is useful for RESTful API documentation, and provides a step‑by‑step guide for integrating Swagger 3.0 with Spring Boot 2.7.6, handling version conflicts, customizing Docket settings, securing the UI, and applying advanced annotations to enrich the generated documentation.

API documentationBackend DevelopmentJava
0 likes · 20 min read
Using Swagger for API Documentation in Spring Boot: Setup, Configuration, and Customization
Java Architect Essentials
Java Architect Essentials
Sep 1, 2023 · Backend Development

Spring Boot Built‑in Utility Classes Overview

This article introduces the most commonly used Spring Boot utility classes—including assertions, object and collection helpers, file/IO utilities, reflection, and AOP support—providing code examples and usage guidelines to help Java backend developers write cleaner, more efficient code.

Backend DevelopmentJavaReflection
0 likes · 19 min read
Spring Boot Built‑in Utility Classes Overview
Top Architect
Top Architect
Sep 1, 2023 · Backend Development

Differences Between JAR and WAR Packages and How to Build Spring Boot Projects as JAR or WAR

This article explains the differences between JAR and WAR files, why Spring Boot runs with an embedded Tomcat when packaged as a JAR, how deployment changes when using an external Tomcat, and provides step‑by‑step instructions with Maven configurations to build Spring Boot applications as either JAR or WAR packages.

JARMavenSpring Boot
0 likes · 14 min read
Differences Between JAR and WAR Packages and How to Build Spring Boot Projects as JAR or WAR
Code Ape Tech Column
Code Ape Tech Column
Aug 31, 2023 · Backend Development

Implementing Sign‑in and Statistics with Redis BitMap in Spring Boot

This article explains how to implement a user sign‑in feature and its statistical analysis using Redis BitMap within a Spring Boot backend, covering basic BitMap commands, integration steps, core source code, continuous sign‑in calculation, and a bitmap‑based solution for cache penetration.

BackendSign-inSpring Boot
0 likes · 11 min read
Implementing Sign‑in and Statistics with Redis BitMap in Spring Boot
Java Architecture Diary
Java Architecture Diary
Aug 31, 2023 · Backend Development

Master Spring 6.1 JdbcClient: Simplify CRUD with Fluent API

This guide walks through Spring Framework 6.1's new JdbcClient API, showing how to define a Bookmark entity, create the corresponding MySQL schema, perform fluent CRUD operations, and verify them with Testcontainers‑based integration tests in a Spring Boot 3.2 project.

CRUDJavaJdbcClient
0 likes · 12 min read
Master Spring 6.1 JdbcClient: Simplify CRUD with Fluent API
Architecture Digest
Architecture Digest
Aug 30, 2023 · Backend Development

Comprehensive Overview of Spring and Spring Boot Extension Points and Bean Lifecycle

This article provides a detailed exploration of Spring and Spring Boot's extensible interfaces, illustrating the complete bean lifecycle, presenting an invocation order diagram, and offering practical code examples for each extension point such as ApplicationContextInitializer, BeanFactoryPostProcessor, SmartInstantiationAwareBeanPostProcessor, and more, enabling developers to customize container behavior effectively.

Backend DevelopmentExtension PointsJava
0 likes · 17 min read
Comprehensive Overview of Spring and Spring Boot Extension Points and Bean Lifecycle
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 HandlingJava
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.

Backend DevelopmentMax Effort NotificationRabbitMQ
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 documentationJavaSpring Boot
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.

JavaMinioMultipart Upload
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.

BackendCacheJava
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 FixesJavaRelease Notes
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.

Backend DevelopmentHTTP redirectSpring Boot
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.

Spring BootSpring Cloud Gatewayfilter
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.

Backend DevelopmentBean SearcherJava
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.

Backend DevelopmentError HandlingException Management
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.

Backend DevelopmentJavaPlatformTransactionManager
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.

JavaSpring Bootperformance
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.

JavaJetCacheMulti-level Cache
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.

Backend DevelopmentJavaREST API
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.

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

JavaQR Code LoginSpring 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 PropertiesSpring Boot
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.

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

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

EnvironmentPostProcessorSpring Bootconfiguration
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.

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

JavaMyBatis-PlusSpring Boot
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.

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

Backend DevelopmentJavaMyBatis-Plus
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 Boot
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.

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

DatabaseJavaMybatis-Flex
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.

Backend DevelopmentDataQLDataway
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.

Backend DevelopmentCachingEhcache
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.

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

DubboJavaRate Limiting
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.

CRUDJavaMyBatis-Plus
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.

JavaSpring Bootjpa
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 RetryJavaRetry Framework
0 likes · 17 min read
Mastering Retry Logic in Java: Spring‑Retry vs Guava‑Retry