Tagged articles
3838 articles
Page 22 of 39
JD Tech
JD Tech
Apr 21, 2023 · Fundamentals

Elegant Java Programming Practices: Code Style, Guard Clauses, Streams, and More

This article shares practical Java coding guidelines—including guard clauses, effective use of Stream API, avoiding nested loops, designing APIs with @see/@link, refined logging, exception handling, custom Spring Boot banners, syntax sugar, chain programming, thread pausing, and tuple usage—to help developers write cleaner, more maintainable code.

Exception HandlingStream APIbest practices
0 likes · 12 min read
Elegant Java Programming Practices: Code Style, Guard Clauses, Streams, and More
Architecture Digest
Architecture Digest
Apr 21, 2023 · Backend Development

Implementing a Distributed Redis Lock with Spring AOP and Automatic Renewal

This article explains how to protect time‑consuming business operations by using Redis as a distributed lock, designing a custom @RedisLock annotation, applying Spring AOP to intercept methods, handling lock acquisition, expiration, renewal via a ScheduledExecutorService, and releasing the lock safely after execution.

aopconcurrencydistributed-lock
0 likes · 12 min read
Implementing a Distributed Redis Lock with Spring AOP and Automatic Renewal
Top Architect
Top Architect
Apr 20, 2023 · Backend Development

General Guide to Deploying a Spring Boot Microservice Project with Maven

This article provides a step‑by‑step tutorial on analyzing a Spring Boot microservice project, configuring parent and child Maven pom files, packaging modules with Maven plugins, and deploying both backend JARs and frontend assets to Windows or Linux servers.

BackendFrontenddeployment
0 likes · 12 min read
General Guide to Deploying a Spring Boot Microservice Project with Maven
Selected Java Interview Questions
Selected Java Interview Questions
Apr 19, 2023 · Operations

Zero‑Downtime Deployment with Kubernetes and Spring Boot: Health Checks, Rolling Updates, Graceful Shutdown, Autoscaling, Prometheus Monitoring, and Config Separation

This guide explains how to achieve zero‑downtime releases of a Spring Boot application on Kubernetes by configuring readiness/liveness probes, rolling‑update strategies, graceful shutdown, horizontal pod autoscaling, Prometheus metrics collection, and externalized configuration via ConfigMaps.

ConfigMapPrometheusZero Downtime
0 likes · 11 min read
Zero‑Downtime Deployment with Kubernetes and Spring Boot: Health Checks, Rolling Updates, Graceful Shutdown, Autoscaling, Prometheus Monitoring, and Config Separation
Architecture Digest
Architecture Digest
Apr 19, 2023 · Backend Development

Technical Selection and Implementation of Authentication Using JWT and Session in a Java Backend

This article compares session‑based and JWT‑based authentication, discusses their advantages, disadvantages, security and performance considerations, and provides a complete Java Spring Boot implementation—including dependency configuration, utility classes, login/logout/password update logic, and interceptor handling—using Redis for token management.

BackendJWTSession
0 likes · 13 min read
Technical Selection and Implementation of Authentication Using JWT and Session in a Java Backend
Top Architect
Top Architect
Apr 17, 2023 · Backend Development

Comprehensive Spring Batch Tutorial: Architecture, Core Interfaces, and Practical Implementation

This article provides an in‑depth guide to Spring Batch, covering its overall architecture, supported business scenarios, core components such as JobRepository, JobLauncher, Job, Step, and ItemReader/Processor/Writer, and demonstrates practical implementations including Maven configuration, multi‑step jobs, parallel flows, decision logic, nested jobs, data readers, writers, processors, and scheduling integration.

Job SchedulingSpring Batchbackend-development
0 likes · 17 min read
Comprehensive Spring Batch Tutorial: Architecture, Core Interfaces, and Practical Implementation
Java Architect Essentials
Java Architect Essentials
Apr 16, 2023 · Databases

Alibaba Druid Connection Pool in Spring Boot: Concepts, Configuration, Monitoring and Customization

This article introduces Alibaba's Druid database connection pool, explains its core features and filters, shows how to add the Maven starter, configure properties and filters in Spring Boot, demonstrates the built‑in monitoring pages, slow‑SQL logging, Spring AOP integration, and provides methods to remove the default advertisement and retrieve monitoring data via code.

Connection PoolDruidMonitoring
0 likes · 16 min read
Alibaba Druid Connection Pool in Spring Boot: Concepts, Configuration, Monitoring and Customization
Programmer DD
Programmer DD
Apr 13, 2023 · Backend Development

5 Proven Ways to Enable CORS in Java Backend Applications

This guide explains the browser's same‑origin policy, defines cross‑origin requests, outlines the restrictions on non‑same‑origin resources, and presents five Java‑backend techniques—including a global CorsFilter bean, WebMvcConfigurer, @CrossOrigin annotation, manual response headers, and a custom filter—to enable CORS.

CORSCross-OriginWeb Security
0 likes · 8 min read
5 Proven Ways to Enable CORS in Java Backend Applications
Java Architect Essentials
Java Architect Essentials
Apr 11, 2023 · Backend Development

Understanding JAR vs WAR Packaging in Spring Boot and How to Build Them

This article explains why a Spring Boot project runs differently when packaged as a JAR versus a WAR, outlines the historical evolution of Java web containers, compares the characteristics of JAR and WAR files, and provides step‑by‑step Maven commands and pom.xml configurations for building both package types.

JARServletWAR
0 likes · 13 min read
Understanding JAR vs WAR Packaging in Spring Boot and How to Build Them
Java Captain
Java Captain
Apr 11, 2023 · Backend Development

Improving Java Backend Code: Bean Conversion, DTO Handling, Lombok, Validation, and Refactoring Practices

This article provides comprehensive guidance on Java backend development, covering IDE selection, bean and DTO conversion techniques, validation with JSR‑303, extensive Lombok usage, builder patterns, proxy design, refactoring strategies, and the balance between business‑driven and technology‑driven development.

Design PatternsLombokdto
0 likes · 25 min read
Improving Java Backend Code: Bean Conversion, DTO Handling, Lombok, Validation, and Refactoring Practices
Top Architect
Top Architect
Apr 7, 2023 · Backend Development

Dynamic Spring Configuration Files, Project Packaging, and Deployment Guide

This article explains how to use Spring's dynamic profile configuration to separate environment-specific YAML files, demonstrates jar and IDE launch options, outlines Maven and IDEA packaging steps, and provides detailed instructions for installing Java, configuring environment variables, and deploying the packaged Spring Boot application on a server.

configurationdeploymentjava
0 likes · 9 min read
Dynamic Spring Configuration Files, Project Packaging, and Deployment Guide
macrozheng
macrozheng
Apr 6, 2023 · Information Security

How to Secure Public APIs: Prevent Tampering and Replay Attacks with Java

This article explains why exposed web APIs are vulnerable, introduces anti‑tampering and anti‑replay techniques, and provides a complete Spring Boot implementation—including request signing, timestamp and nonce validation, and Redis storage—to protect API endpoints from malicious reuse.

API SecurityAnti-replayanti-tampering
0 likes · 15 min read
How to Secure Public APIs: Prevent Tampering and Replay Attacks with Java
Java High-Performance Architecture
Java High-Performance Architecture
Apr 5, 2023 · Backend Development

Master Spring Security: JWT, Custom Handlers, and Dynamic Permissions

This article provides a comprehensive guide to configuring Spring Security in a Java backend, covering Maven dependencies, global security settings, JWT token parsing, custom authentication providers, user details services, dynamic URL permission metadata, access decision management, and custom handlers for login, logout, and error responses, along with sample application.yml and database schema.

AuthenticationAuthorizationJWT
0 likes · 20 min read
Master Spring Security: JWT, Custom Handlers, and Dynamic Permissions
Code Ape Tech Column
Code Ape Tech Column
Apr 5, 2023 · Backend Development

Understanding LiteFlow: A Lightweight Component‑Based Flow Engine for Decoupling Complex Business Logic

This article introduces LiteFlow, a lightweight Java workflow engine that decouples complex business logic by modeling each step as a reusable component, explains its workbench design, demonstrates usage in both non‑Spring and Spring Boot environments, and walks through its core architecture and execution flow.

LiteFlowWorkflow Enginebusiness logic
0 likes · 18 min read
Understanding LiteFlow: A Lightweight Component‑Based Flow Engine for Decoupling Complex Business Logic
Top Architect
Top Architect
Apr 4, 2023 · Backend Development

Guide to Setting Up and Using the Flowable Workflow Engine with Spring Boot

This article provides a step‑by‑step tutorial on downloading Flowable 6.6.0, deploying its UI on Tomcat, designing BPMN diagrams, configuring the required MySQL tables, building a Spring Boot backend project, and using Flowable's Java API to start processes, claim and complete tasks, and query historic data.

BPMNFlowableWorkflow Engine
0 likes · 16 min read
Guide to Setting Up and Using the Flowable Workflow Engine with Spring Boot
Architect's Guide
Architect's Guide
Apr 4, 2023 · Backend Development

Implementing Unified User Login, Exception Handling, and Data Response in Spring Boot with AOP and Interceptors

This article demonstrates how to use Spring Boot AOP and HandlerInterceptor to create a unified user login permission check, standardized exception handling with @ControllerAdvice, and consistent JSON response formatting, providing step‑by‑step code examples and configuration details for building robust backend services.

Exception HandlingInterceptorUnified response
0 likes · 19 min read
Implementing Unified User Login, Exception Handling, and Data Response in Spring Boot with AOP and Interceptors
IT Architects Alliance
IT Architects Alliance
Apr 4, 2023 · Backend Development

How to Implement Unified Login Validation in Spring Boot with AOP and Interceptors

This tutorial explains how to replace repetitive session checks in Spring Boot controllers with a unified login validation mechanism using AOP, custom HandlerInterceptors, @ControllerAdvice for exception handling, and a standard JSON response format, complete with code examples and flow diagrams.

Exception HandlingInterceptorUnified response
0 likes · 16 min read
How to Implement Unified Login Validation in Spring Boot with AOP and Interceptors
IT Architects Alliance
IT Architects Alliance
Apr 4, 2023 · Backend Development

How to Build a Reliable Redis Distributed Lock with AOP and Auto‑Renewal in Spring Boot

This article walks through the design and implementation of a Redis‑based distributed lock for time‑consuming business operations, covering annotation creation, AOP pointcut setup, lock acquisition and release, timeout handling with a renewal thread, testing, and practical code examples.

ScheduledExecutorServiceaopdistributed-lock
0 likes · 12 min read
How to Build a Reliable Redis Distributed Lock with AOP and Auto‑Renewal in Spring Boot
Top Architect
Top Architect
Apr 3, 2023 · Backend Development

Enabling Docker Remote Access, Configuring IDEA Docker Plugin, and Deploying a Spring Boot Eureka Server with Maven

This tutorial walks through enabling Docker remote connections on Linux and Windows, installing and configuring the IntelliJ IDEA Docker plugin, adding a docker‑maven‑plugin to a Spring Boot Eureka project, building Docker images, creating containers with port mapping, and setting up one‑click deployment for rapid backend development.

BackendIDEAdeployment
0 likes · 11 min read
Enabling Docker Remote Access, Configuring IDEA Docker Plugin, and Deploying a Spring Boot Eureka Server with Maven
Java Captain
Java Captain
Apr 3, 2023 · Backend Development

Implementing Dynamic Scheduled Tasks in Spring Boot

This guide explains how to create Spring Boot scheduled tasks whose execution intervals can be changed at runtime using configurable cron expressions or periodic triggers, and provides REST endpoints to update the schedule without restarting the application.

BackendDynamic Schedulingjava
0 likes · 9 min read
Implementing Dynamic Scheduled Tasks in Spring Boot
Top Architect
Top Architect
Apr 2, 2023 · Backend Development

Implementing Request Rate Limiting in Spring Boot with Custom Annotations

This article demonstrates how to create a Spring Boot request‑rate‑limiting solution using a custom @RequestLimit annotation, a Redis‑backed interceptor, and configuration classes, providing step‑by‑step code examples and usage instructions for both class‑level and method‑level protection.

BackendInterceptorjava
0 likes · 9 min read
Implementing Request Rate Limiting in Spring Boot with Custom Annotations
Java High-Performance Architecture
Java High-Performance Architecture
Apr 1, 2023 · Backend Development

Mastering Spring Boot Filters and Interceptors: A Complete Guide with Code Samples

This article explains the differences between servlet filters and Spring MVC interceptors, demonstrates how to wrap requests with HttpServletRequestWrapper, use OncePerRequestFilter, configure filters and interceptors in Spring Boot, handle login interception with AJAX redirects, set up listeners, manage static resources, and provides step‑by‑step testing procedures with code examples.

InterceptorServletWeb Development
0 likes · 14 min read
Mastering Spring Boot Filters and Interceptors: A Complete Guide with Code Samples
Java High-Performance Architecture
Java High-Performance Architecture
Mar 31, 2023 · Databases

Mastering Liquibase with Spring Boot: A Step‑by‑Step Database Change Management Guide

This tutorial walks through setting up Liquibase in a Spring Boot project, creating a Maven plugin to generate XML/YAML changelogs, configuring the application, and performing common database operations such as creating tables, adding columns, creating indexes, initializing data, while also addressing a common includeAll path issue.

LiquibaseMaven PluginYAML
0 likes · 19 min read
Mastering Liquibase with Spring Boot: A Step‑by‑Step Database Change Management Guide
Ziru Technology
Ziru Technology
Mar 31, 2023 · Backend Development

Master Java Performance Testing with JMH: From Basics to Advanced Benchmarks

This article explains what benchmarking is, introduces the JMH framework for Java, shows how to add JMH dependencies, walks through a simple "Hello JMH" example with full source and output, demonstrates using JMH with Spring Boot, details the most important options and annotations, and highlights common pitfalls to avoid when writing reliable micro‑benchmarks.

BenchmarkingJMHPerformance Testing
0 likes · 17 min read
Master Java Performance Testing with JMH: From Basics to Advanced Benchmarks
Programmer DD
Programmer DD
Mar 30, 2023 · Backend Development

Master Flowable: Deploy, Model, and Integrate a Complete Workflow Engine

This guide walks you through downloading Flowable 6.6.0, deploying the UI on Tomcat, designing a leave‑approval process with events, gateways and user tasks, exporting the BPMN file, setting up a Spring Boot backend, configuring the database, and using Flowable’s core services and APIs with sample code.

BPMNFlowableWorkflow Engine
0 likes · 16 min read
Master Flowable: Deploy, Model, and Integrate a Complete Workflow Engine
Top Architect
Top Architect
Mar 30, 2023 · Backend Development

Microservice Service Splitting Principles and Remote Call Implementation with Spring Boot

This article explains microservice service‑splitting guidelines, demonstrates a small demo project with separate order‑service and user‑service modules, shows how to define independent databases, and provides step‑by‑step code for registering a RestTemplate bean and performing remote calls between services using Spring Boot.

Remote CallService Splittingresttemplate
0 likes · 10 min read
Microservice Service Splitting Principles and Remote Call Implementation with Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 30, 2023 · Backend Development

Implement Field Encryption with ShardingSphere in Spring Boot 2.6

This guide walks through setting up a Spring Boot 2.6.14 project with ShardingSphere 5.3.0 encryption, covering Maven dependencies, YAML configurations for data sources and encryptors, defining the users table schema, implementing CRUD operations with MyBatis‑Plus, and troubleshooting connection‑pool settings.

CRUDShardingSphereencryption
0 likes · 6 min read
Implement Field Encryption with ShardingSphere in Spring Boot 2.6
Java Architect Essentials
Java Architect Essentials
Mar 27, 2023 · Backend Development

Diagnosing and Solving a 100 ms Latency Issue in Spring Boot's Embedded Tomcat Using Arthas

This article walks through the step‑by‑step investigation of an unexpected ~100 ms latency in a Spring Boot channel service, using network checks, curl timing, and the Arthas Java diagnostic tool to pinpoint a Tomcat‑embed bug caused by Swagger jars, and then shows how upgrading Tomcat or Spring Boot resolves the problem.

ArthasPerformance debuggingTomcat
0 likes · 14 min read
Diagnosing and Solving a 100 ms Latency Issue in Spring Boot's Embedded Tomcat Using Arthas
Top Architect
Top Architect
Mar 25, 2023 · Backend Development

Implementing Request Rate Limiting in Spring Boot with Custom Annotation and Redis

This article explains how to limit the number of requests an interface can receive within a specific time window in a Spring Boot application by using a custom @RequestLimit annotation, Redis for counting, and a Spring interceptor to enforce the limits, complete with full code examples and configuration steps.

Backendannotationjava
0 likes · 10 min read
Implementing Request Rate Limiting in Spring Boot with Custom Annotation and Redis
Java High-Performance Architecture
Java High-Performance Architecture
Mar 24, 2023 · Backend Development

Explore Echo: Open-Source Java Community Platform & Deployment Guide

Echo is a full‑stack open‑source Java community system built with Spring Boot, MyBatis, MySQL, Redis, Kafka and Elasticsearch, offering modules like posts, comments and notifications, and the article provides its core tech stack, development environment, local setup steps, deployment architecture, demo screenshots and source code access.

ElasticsearchKafkaMySQL
0 likes · 5 min read
Explore Echo: Open-Source Java Community Platform & Deployment Guide
Java High-Performance Architecture
Java High-Performance Architecture
Mar 23, 2023 · Artificial Intelligence

Build Your Own ChatGPT-Powered Chatbot with JavaScript and Spring Boot

This guide walks you through creating a personal ChatGPT chatbot by first setting up an OpenAI account and API key, then demonstrating how to call the completions endpoint using plain JavaScript and HTML, followed by integrating the same API into a Spring Boot application with the official Java client library, including all necessary code snippets and configuration steps.

ChatGPTJavaScriptOpenAI API
0 likes · 9 min read
Build Your Own ChatGPT-Powered Chatbot with JavaScript and Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 23, 2023 · Backend Development

Mastering Spring MVC Auto-Configuration in Spring Boot 2.6.14

Explore how Spring Boot 2.6.14 automatically configures Spring MVC, including view resolvers, static resources, converters, message converters, JSON serialization, content negotiation, and error handling, and learn how to customize these features with WebMvcConfigurer, WebMvcRegistrations, and related beans for full control.

Auto-ConfigurationSpring MVCbackend-development
0 likes · 11 min read
Mastering Spring MVC Auto-Configuration in Spring Boot 2.6.14
Top Architect
Top Architect
Mar 22, 2023 · Backend Development

Implementing Unified User Login Validation, Exception Handling, and Data Return Format in Spring Boot

This article demonstrates how to consolidate user login verification, exception handling, and response formatting in a Spring Boot application by using AOP, HandlerInterceptor, @ControllerAdvice, and ResponseBodyAdvice, providing complete code examples and explaining the underlying request processing flow.

Exception HandlingInterceptorUnified response
0 likes · 20 min read
Implementing Unified User Login Validation, Exception Handling, and Data Return Format in Spring Boot
Selected Java Interview Questions
Selected Java Interview Questions
Mar 22, 2023 · Backend Development

Netty TCP Demo: Architecture, Code Walkthrough, and Usage Guide

This article presents a comprehensive Netty TCP demo project, covering its architecture, module layout, business flow, detailed Java code for message queuing, client execution, handler implementation, testing endpoints, and deployment considerations, providing a practical learning resource for backend developers.

NettySocketTCP
0 likes · 21 min read
Netty TCP Demo: Architecture, Code Walkthrough, and Usage Guide
Wukong Talks Architecture
Wukong Talks Architecture
Mar 21, 2023 · Backend Development

Understanding Java Exception Handling: Classification, Bytecode Analysis, Best Practices, and Custom Exceptions

This article provides a comprehensive guide to Java exception handling, covering exception categories, bytecode‑level mechanisms, common pitfalls, Alibaba’s coding standards, best‑practice recommendations, custom exception design, and global handling strategies for RPC and HTTP services in Spring Boot.

Custom ExceptionsException Handlingaop
0 likes · 29 min read
Understanding Java Exception Handling: Classification, Bytecode Analysis, Best Practices, and Custom Exceptions
Selected Java Interview Questions
Selected Java Interview Questions
Mar 20, 2023 · Backend Development

Using Asynchronous Threads in Spring Boot: @Async, AsyncManager, and ThreadPoolExecutor

This article explains how to implement asynchronous processing in Java Spring Boot using the @Async annotation, the built‑in AsyncManager, and a custom ThreadPoolExecutor, providing code examples, configuration steps, and best‑practice tips for managing background tasks without blocking the main thread.

AsyncAsynchronousThreadPool
0 likes · 9 min read
Using Asynchronous Threads in Spring Boot: @Async, AsyncManager, and ThreadPoolExecutor
Alibaba Cloud Developer
Alibaba Cloud Developer
Mar 20, 2023 · Backend Development

Master Java Exception Handling: Best Practices, Bytecode Insights & Custom Exceptions

This comprehensive guide explores Java's exception handling mechanisms, classifies checked and unchecked exceptions, delves into bytecode analysis of try‑catch‑finally and try‑with‑resources, showcases common pitfalls, presents custom exception design patterns, and demonstrates global exception handling for RPC and HTTP layers in Spring Boot applications.

Custom ExceptionsException Handlingbest practices
0 likes · 32 min read
Master Java Exception Handling: Best Practices, Bytecode Insights & Custom Exceptions
Selected Java Interview Questions
Selected Java Interview Questions
Mar 19, 2023 · Backend Development

Common Spring Boot Annotations and Their Usage

This article provides a comprehensive overview of Spring Boot and related Spring annotations, explaining their purposes, usage patterns, and code examples, helping developers master configuration, component scanning, conditional bean registration, and core Spring Boot features for efficient backend development.

annotationsbackend-developmentconfiguration
0 likes · 13 min read
Common Spring Boot Annotations and Their Usage
Architect's Guide
Architect's Guide
Mar 19, 2023 · Backend Development

Implementing Unified Functionality in Spring Boot: Authentication, Data Formatting, Exception Handling, and Interceptors

This article demonstrates how to build a unified processing module in Spring Boot by using AOP and HandlerInterceptor to centralize user login validation, standardize response formats, handle exceptions globally with @ControllerAdvice, and configure path prefixes, providing complete code examples and implementation details.

BackendException HandlingInterceptor
0 likes · 17 min read
Implementing Unified Functionality in Spring Boot: Authentication, Data Formatting, Exception Handling, and Interceptors
Programmer DD
Programmer DD
Mar 17, 2023 · Backend Development

Master RocketMQ: Transaction, Ordered, Filtered & Delayed Messaging in Java & Spring

This tutorial walks through practical implementations of RocketMQ transaction, ordered, filtered, and delayed messages using native Java code and Spring Boot, explaining the underlying concepts, showing complete code examples, and highlighting how to configure producers, consumers, and listeners for reliable distributed messaging.

Delayed MessagingMessage FilteringRocketMQ
0 likes · 16 min read
Master RocketMQ: Transaction, Ordered, Filtered & Delayed Messaging in Java & Spring
Java High-Performance Architecture
Java High-Performance Architecture
Mar 17, 2023 · Backend Development

Master Unified Login, Exception, and Response Handling in Spring Boot with AOP and Interceptors

This article walks through building a Spring Boot application that centralizes user login verification, exception handling, and response formatting by leveraging AOP, custom HandlerInterceptors, @ControllerAdvice, and ResponseBodyAdvice to create clean, maintainable backend code.

Exception HandlingInterceptorUnified response
0 likes · 20 min read
Master Unified Login, Exception, and Response Handling in Spring Boot with AOP and Interceptors
Code Ape Tech Column
Code Ape Tech Column
Mar 17, 2023 · Backend Development

Using MybatisX Plugin with Spring Boot for Rapid MyBatis Development

This guide demonstrates how to integrate the MybatisX IDEA plugin with a Spring Boot project, covering database setup, Maven dependency configuration, plugin installation, connection testing, code generation, and sample controller implementation to accelerate MyBatis and MyBatis-Plus development.

IDEA Pluginbackend-developmentjava
0 likes · 5 min read
Using MybatisX Plugin with Spring Boot for Rapid MyBatis Development
Java Architect Essentials
Java Architect Essentials
Mar 16, 2023 · Operations

Step-by-Step Guide to Jenkins + Docker + Spring Boot One-Click Automatic Deployment

This tutorial walks through setting up a CentOS 7 environment, installing Docker and Jenkins, configuring Jenkins plugins and Maven, creating a freestyle job that pulls a Spring Boot project from Gitee, builds it with Maven, packages it into a Docker image via a Dockerfile, runs the container, and verifies the deployment, providing all commands and screenshots for a complete CI/CD pipeline.

CI/CDDevOpsJenkins
0 likes · 8 min read
Step-by-Step Guide to Jenkins + Docker + Spring Boot One-Click Automatic Deployment
Programmer DD
Programmer DD
Mar 16, 2023 · Backend Development

Mastering Rate Limiting with Redis: 3 Practical Implementations

This article explains three Redis‑based rate‑limiting techniques—using SETNX, sorted sets, and a token‑bucket with lists—providing code examples, discussing their advantages and drawbacks, and showing how to integrate them into Java Spring applications to protect high‑concurrency services.

BackendSliding WindowToken Bucket
0 likes · 7 min read
Mastering Rate Limiting with Redis: 3 Practical Implementations
macrozheng
macrozheng
Mar 16, 2023 · Backend Development

Boost Spring Boot Productivity with MyBatis‑Plus Generator UI

This article introduces the MyBatis‑Plus Generator UI, a highly customizable web‑based code generator for Spring Boot projects, explains how to integrate it via Maven, run it, use its rich features for entity, mapper, service and controller generation, and extend it with custom templates and name‑conversion rules.

backend-developmentcode-generationgenerator UI
0 likes · 14 min read
Boost Spring Boot Productivity with MyBatis‑Plus Generator UI
Top Architect
Top Architect
Mar 15, 2023 · Backend Development

Creating a Custom Spring Boot Auto‑Configuration and Starter

This article demonstrates how to build a custom Spring Boot auto‑configuration and starter, including a conditional annotation, a WriterTemplate utility that writes to a database or file, Maven setup, property binding, and a usage example that shows the bean being auto‑configured and invoked.

Custom Starterauto-configurationbackend-development
0 likes · 17 min read
Creating a Custom Spring Boot Auto‑Configuration and Starter
macrozheng
macrozheng
Mar 15, 2023 · Backend Development

Master Java SPI: From Service Provider Interface to Spring Boot Auto‑Configuration

This article explains Java’s Service Provider Interface (SPI) mechanism, compares it with traditional APIs, demonstrates how to define interfaces, implement services, and discover them using ServiceLoader, and shows real‑world applications such as Spring Boot auto‑configuration and logging frameworks like SLF4J.

SPIServiceLoaderauto-configuration
0 likes · 13 min read
Master Java SPI: From Service Provider Interface to Spring Boot Auto‑Configuration
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 15, 2023 · Backend Development

Mastering Spring Boot RestTemplate and WebClient: Configuration and Customization

Learn how Spring Boot 2.6.14 simplifies calling remote REST services using RestTemplate and WebClient, including automatic configuration with RestTemplateBuilder, customization options via RestTemplateCustomizer and WebClient.Builder, and detailed code examples for building, customizing, and selecting appropriate HTTP connectors.

BackendHTTPjava
0 likes · 9 min read
Mastering Spring Boot RestTemplate and WebClient: Configuration and Customization
Programmer DD
Programmer DD
Mar 14, 2023 · Backend Development

Why This Spring ‘Full‑Stack’ Book Is a Must‑Read for Java Developers

The article reviews a comprehensive Spring framework book that covers the entire Spring family—from core concepts and data access to web development and cloud‑native microservices—using a practical, localized approach and a large milk‑tea shop case study to guide both beginners and experienced Java developers.

Distributed SystemsSpring Frameworkbackend-development
0 likes · 10 min read
Why This Spring ‘Full‑Stack’ Book Is a Must‑Read for Java Developers
Code Ape Tech Column
Code Ape Tech Column
Mar 14, 2023 · Databases

Using Liquibase with Spring Boot: A Practical Guide to Database Change Management

This article provides a step‑by‑step tutorial on integrating Liquibase into a Spring Boot project, covering the creation of a Maven plugin to generate XML/YAML changelogs, configuring the application, writing changeSets for tables, columns, indexes and data, generating documentation, and troubleshooting classpath scanning issues.

LiquibaseMaven PluginXML
0 likes · 15 min read
Using Liquibase with Spring Boot: A Practical Guide to Database Change Management
Java High-Performance Architecture
Java High-Performance Architecture
Mar 10, 2023 · Backend Development

Mastering BizLog SDK: Seamless Log Recording for Spring Boot Applications

This article introduces the BizLog SDK for Java, explains its Spring Boot autoconfiguration, demonstrates how to add Maven dependencies, enable logging with @EnableLogRecord, craft log messages using @LogRecordAnnotation with SpEL expressions, and extend the framework with custom parse functions and operator services.

BizLog SDKSpELannotation
0 likes · 15 min read
Mastering BizLog SDK: Seamless Log Recording for Spring Boot Applications
Code Ape Tech Column
Code Ape Tech Column
Mar 8, 2023 · Cloud Native

Comprehensive Guide to Spring Cloud Gateway: Architecture, Configuration, and Custom Extensions

This article explains why an API gateway is essential in micro‑service architectures, introduces Spring Cloud Gateway’s core features, walks through project setup, routing predicates, filters, integration with Nacos for service discovery and dynamic routing, and demonstrates custom global error handling.

Custom FiltersNacosSpring Cloud Gateway
0 likes · 25 min read
Comprehensive Guide to Spring Cloud Gateway: Architecture, Configuration, and Custom Extensions
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 6, 2023 · Backend Development

Prevent Message Loss in Spring Boot 2.7.9 with RabbitMQ Confirm Callbacks

This guide explains common message loss scenarios in Spring Boot 2.7.9 with RabbitMQ and provides step‑by‑step solutions—including producer confirm callbacks, durable exchanges and queues, manual consumer acknowledgments, and configurable retry mechanisms—to ensure reliable message delivery.

Message ReliabilityMessage RetryProducer Confirm
0 likes · 8 min read
Prevent Message Loss in Spring Boot 2.7.9 with RabbitMQ Confirm Callbacks
Programmer DD
Programmer DD
Mar 5, 2023 · Backend Development

Spring Boot 3.0.4 Release: Key Bug Fixes, Docs Updates, and Dependency Upgrades

Spring Boot 3.0.4 arrives early, addressing a PathMatchingResourcePatternResolver issue that broke bean and controller scanning, and brings 19 bug fixes, documentation enhancements for Gradle 8 and other topics, plus numerous dependency upgrades across Couchbase, Jetty, Reactor, Spring Framework, and more.

Bug FixesDocumentationRelease Notes
0 likes · 4 min read
Spring Boot 3.0.4 Release: Key Bug Fixes, Docs Updates, and Dependency Upgrades
Java Architect Essentials
Java Architect Essentials
Mar 3, 2023 · Backend Development

Master FastMyBatis: Quick Spring Boot Integration and CRUD Guide

This article introduces FastMyBatis—a lightweight, zero‑configuration MyBatis extension for Spring Boot—covering its core principles, Maven setup, sample CRUD controller, service and mapper implementations, a comprehensive list of mapper methods, Query object usage examples, and links to the open‑source repository.

CRUDFastMyBatisbackend-development
0 likes · 10 min read
Master FastMyBatis: Quick Spring Boot Integration and CRUD Guide
Top Architect
Top Architect
Mar 1, 2023 · Backend Development

Microservice Service Splitting Principles and Remote Call Implementation with Spring Boot

This article explains microservice service‑splitting principles, demonstrates a small demo with separate order‑service and user‑service modules, shows how to define independent databases, and provides step‑by‑step code for registering a RestTemplate bean and performing remote calls between services using Spring Boot.

Remote CallService Splittingresttemplate
0 likes · 9 min read
Microservice Service Splitting Principles and Remote Call Implementation with Spring Boot
MaGe Linux Operations
MaGe Linux Operations
Feb 26, 2023 · Information Security

Mastering JWT: Secure Token Authentication with Spring Boot and Angular

This article explains what JSON Web Tokens are, their structure and security considerations, introduces the JJWT Java library, and provides a complete Spring Boot and Angular example—including Maven setup, Java filters, controllers, and front‑end code—to demonstrate secure token‑based authentication.

AngularAuthenticationJWT
0 likes · 19 min read
Mastering JWT: Secure Token Authentication with Spring Boot and Angular
Java Architecture Diary
Java Architecture Diary
Feb 24, 2023 · Backend Development

What’s New in Spring Boot 3.2.0? Bug Fixes, Docs, and Dependency Upgrades Explained

Spring Boot 3.2.0 introduces a series of bug fixes—including Logback AOT handling, native image configuration, and LDAP dependencies—updates documentation for configuration properties and Redis, and upgrades core libraries such as Byte Buddy, Caffeine, and Hibernate, providing a more stable and up‑to‑date platform for Java developers.

Documentationjavaspring-boot
0 likes · 4 min read
What’s New in Spring Boot 3.2.0? Bug Fixes, Docs, and Dependency Upgrades Explained
Sanyou's Java Diary
Sanyou's Java Diary
Feb 23, 2023 · Backend Development

Unlocking Java’s SPI: How Service Provider Interface Powers Spring Boot Auto‑Configuration

This article explains Java's Service Provider Interface (SPI) mechanism, demonstrates how to define, implement, and discover services with code examples—including a smart‑home air‑conditioner scenario—and shows its practical use in Spring Boot auto‑configuration and logging frameworks like SLF4J.

SPIServiceLoaderauto-configuration
0 likes · 14 min read
Unlocking Java’s SPI: How Service Provider Interface Powers Spring Boot Auto‑Configuration
Top Architect
Top Architect
Feb 23, 2023 · Backend Development

Comprehensive Guide to Using MyBatis‑Plus with Spring Boot

This tutorial walks through integrating MyBatis‑Plus into a Spring Boot project, covering dependency setup, configuration of data sources, entity annotations, service and mapper layers, pagination, logical deletion, enum handling, automatic field filling, multi‑datasource support, and testing with full code examples.

CRUDLogical DeleteMulti-DataSource
0 likes · 18 min read
Comprehensive Guide to Using MyBatis‑Plus with Spring Boot
Programmer DD
Programmer DD
Feb 18, 2023 · Backend Development

Master Spring 6 HTTP Interface: Build a Reactive API Client in Minutes

This guide walks you through creating a Spring Boot 3 project, defining a Java interface annotated with Spring 6's new HTTP Interface, and using WebClient and HttpServiceProxyFactory to call a REST endpoint, while covering required dependencies, annotations, and proxy creation details.

HTTP Interfacejavareactive
0 likes · 8 min read
Master Spring 6 HTTP Interface: Build a Reactive API Client in Minutes
Java Backend Technology
Java Backend Technology
Feb 17, 2023 · Backend Development

Master Global Exception Handling in Spring Boot: A Complete Guide

This article explains how to create a unified response class, define custom exception and error‑enum types, and implement a global exception handler in Spring Boot, enabling clean error handling, reduced boilerplate, and flexible business‑specific extensions.

AjaxResultError Enumbackend-development
0 likes · 6 min read
Master Global Exception Handling in Spring Boot: A Complete Guide
Top Architect
Top Architect
Feb 16, 2023 · Backend Development

14 Practical Spring Boot Code Optimization Tips from a Senior Architect

The article presents fourteen actionable Spring Boot optimization techniques—ranging from using @ConfigurationProperties and @RequiredArgsConstructor to modularizing code, handling exceptions, minimizing database calls, leveraging IDE hints, and applying design patterns—aimed at improving code quality, maintainability, and performance for backend developers.

Code Optimizationjavaspring-boot
0 likes · 8 min read
14 Practical Spring Boot Code Optimization Tips from a Senior Architect
Programmer DD
Programmer DD
Feb 16, 2023 · Information Security

How to Install Keycloak and Seamlessly Integrate It with Spring Boot and Spring Cloud

This guide walks through downloading, installing, and initializing Keycloak, creating realms, clients, users and roles, then shows step‑by‑step integration with Spring Boot microservices, token propagation via Feign and Zuul, logout handling, email setup, third‑party login, and essential Keycloak terminology.

AuthorizationKeycloakOAuth2
0 likes · 17 min read
How to Install Keycloak and Seamlessly Integrate It with Spring Boot and Spring Cloud
政采云技术
政采云技术
Feb 16, 2023 · Backend Development

Graceful Shutdown Support in Spring Boot 2.3+ for Embedded Web Servers

Spring Boot 2.3.0.RELEASE adds graceful shutdown for all embedded web servers, explaining the underlying SmartLifecycle mechanism, configuration steps, shutdown hook registration, and how timeout handling ensures existing requests finish while new requests are rejected.

Embedded Web ServerGraceful ShutdownSmartLifecycle
0 likes · 11 min read
Graceful Shutdown Support in Spring Boot 2.3+ for Embedded Web Servers
Sanyou's Java Diary
Sanyou's Java Diary
Feb 13, 2023 · Backend Development

Can Redis Replace MQ? Building a Reliable Delayed Queue with Keyspace Events and Redisson

This article compares two Redis‑based delayed‑queue approaches—listening to key‑space expiration events and using Redisson’s built‑in delayed queue—detailing their principles, Spring Boot demos, pitfalls, and why Redisson offers a more reliable solution for distributed applications.

Keyspace Notificationsdelayed queueredis
0 likes · 18 min read
Can Redis Replace MQ? Building a Reliable Delayed Queue with Keyspace Events and Redisson
IT Services Circle
IT Services Circle
Feb 13, 2023 · Backend Development

Fundamental Java Backend Development Practices and Tips

This article presents a collection of basic Java programming methods and best‑practice recommendations—ranging from using @ConfigurationProperties and @RequiredArgsConstructor to modularizing code, handling exceptions, reducing unnecessary database queries, avoiding null returns, and applying design patterns—to help developers write cleaner, more maintainable backend code.

backend-developmentjavaspring-boot
0 likes · 8 min read
Fundamental Java Backend Development Practices and Tips
ITPUB
ITPUB
Feb 10, 2023 · Backend Development

Mastering Spring Boot 3’s @HttpExchange for Declarative HTTP Calls

This tutorial walks through Spring Boot 3’s built‑in @HttpExchange annotation, showing how to replace OpenFeign with a lightweight, declarative HTTP client using WebClient, complete with server and client code, configuration steps, and a runnable test example.

Declarative HTTPHttpExchangeOpenFeign
0 likes · 6 min read
Mastering Spring Boot 3’s @HttpExchange for Declarative HTTP Calls
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 9, 2023 · Backend Development

Mastering Spring Web Reactive: HttpHandler, WebHandler, and Server Integration

This article explains how Spring Web 2.4.12 enables reactive web applications by introducing the minimal HttpHandler protocol, the richer WebHandler API, supported server adapters, bean components, form and multipart data handling, filters, exception handlers, and the underlying codec infrastructure.

HttpHandlerWebHandlerreactive web
0 likes · 10 min read
Mastering Spring Web Reactive: HttpHandler, WebHandler, and Server Integration
Selected Java Interview Questions
Selected Java Interview Questions
Feb 5, 2023 · Backend Development

Comprehensive Overview of Spring Boot: Features, Core Annotations, Configuration, and Best Practices

This article provides a detailed introduction to Spring Boot, covering its purpose, advantages, core @SpringBootApplication annotation, supported logging frameworks, starter mechanism, new features in version 2.x, configuration methods, security, CORS handling, actuator monitoring, hot deployment, multi‑datasource setup, session sharing, and packaging differences, all aimed at helping developers quickly adopt and master the framework.

annotationsbackend-developmentconfiguration
0 likes · 24 min read
Comprehensive Overview of Spring Boot: Features, Core Annotations, Configuration, and Best Practices