Tagged articles

Spring Boot

4358 articles · Page 27 of 44
Selected Java Interview Questions
Selected Java Interview Questions
May 4, 2023 · Backend Development

Understanding Spring Boot Starters with MyBatis: mybatis‑spring vs mybatis‑spring‑boot‑starter

This article explains the concept and purpose of Spring Boot starters, compares mybatis‑spring with mybatis‑spring‑boot‑starter through code examples, and details how the starter simplifies MyBatis integration by handling dependencies, configuration files, auto‑configuration, and mapper scanning for Java backend projects.

MyBatisSpring Bootauto-configuration
0 likes · 7 min read
Understanding Spring Boot Starters with MyBatis: mybatis‑spring vs mybatis‑spring‑boot‑starter
Architect
Architect
May 3, 2023 · Backend Development

Comprehensive Guide to Backend API Design with Spring Boot: Validation, Global Exception Handling, Unified Responses, Versioning, and Security

This article provides a step‑by‑step tutorial on building robust Spring Boot backend APIs, covering environment setup, parameter validation techniques, global exception handling, unified response structures, API version control, and security measures such as token authentication, timestamp checks, URL signing, replay protection, and HTTPS.

API DesignException HandlingSpring Boot
0 likes · 27 min read
Comprehensive Guide to Backend API Design with Spring Boot: Validation, Global Exception Handling, Unified Responses, Versioning, and Security
Code Ape Tech Column
Code Ape Tech Column
May 1, 2023 · Backend Development

Comprehensive Guide to Backend API Development with Spring Boot: Validation, Global Exception Handling, Unified Responses, Versioning, and Security

This article provides a detailed tutorial on building robust Spring Boot backend APIs, covering interface structure, environment setup, parameter validation methods, custom validators, global exception handling, unified response formats, optional response wrapping, API version control, and security measures such as token authentication and request signing.

Backend APIException HandlingSpring Boot
0 likes · 27 min read
Comprehensive Guide to Backend API Development with Spring Boot: Validation, Global Exception Handling, Unified Responses, Versioning, and Security
Code Ape Tech Column
Code Ape Tech Column
Apr 24, 2023 · Backend Development

Implementing Discount Calculation with Drools Rule Engine in a Spring Boot Application

This tutorial explains how to integrate the Drools business rule engine into a Spring Boot project to calculate flexible e‑commerce discounts based on customer type, age, and order amount, showing dependency setup, configuration, model definitions, DRL rules, service and controller layers, and a test run.

Discount CalculationDroolsSpring Boot
0 likes · 9 min read
Implementing Discount Calculation with Drools Rule Engine in a Spring Boot Application
Java Architect Essentials
Java Architect Essentials
Apr 23, 2023 · Backend Development

Comprehensive Guide to Spring Validation: Simple to Advanced Usage and Implementation Principles

This article provides a detailed tutorial on Spring Validation, covering basic dependency setup, requestBody and requestParam/PathVariable validation, advanced techniques such as group, nested, collection and custom validation, programmatic validation, fail‑fast mode, the difference between @Valid and @Validated, and the underlying implementation mechanisms within Spring MVC.

APIHibernate ValidatorSpring
0 likes · 18 min read
Comprehensive Guide to Spring Validation: Simple to Advanced Usage and Implementation Principles
macrozheng
macrozheng
Apr 23, 2023 · Backend Development

Master Spring Retry: Using @Retryable and @Recover for Robust Backend Retries

This guide explains how to use Spring Retry’s @Retryable and @Recover annotations in Spring Boot, covering dependency setup, enabling retries, annotating methods, configuring backoff policies, handling exhausted retries, and important precautions for reliable backend retry mechanisms.

RetryableSpring Bootjava
0 likes · 7 min read
Master Spring Retry: Using @Retryable and @Recover for Robust Backend Retries
Code Ape Tech Column
Code Ape Tech Column
Apr 23, 2023 · Backend Development

PowerJob: A Next‑Generation Distributed Task Scheduling and Computing Framework – Introduction and Quick‑Start Guide

PowerJob is a modern distributed scheduling and computation framework that supports various timing strategies, workflow orchestration, multiple execution modes, and a rich set of processors, offering a user‑friendly web UI, high availability, and easy integration with Spring Boot projects.

PowerJobSpring BootWorkflow
0 likes · 15 min read
PowerJob: A Next‑Generation Distributed Task Scheduling and Computing Framework – Introduction and Quick‑Start Guide
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 HandlingSpring BootStream API
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.

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

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

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

JWTRedisSpring Boot
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 BatchSpring Boot
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.

ConfigurationConnection PoolDruid
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-OriginSpring Boot
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.

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

DTODesign PatternsLombok
0 likes · 25 min read
Improving Java Backend Code: Bean Conversion, DTO Handling, Lombok, Validation, and Refactoring Practices
Shepherd Advanced Notes
Shepherd Advanced Notes
Apr 10, 2023 · Backend Development

Understanding Spring @Conditional and Its Derived Annotations

This article explains how Spring Boot’s @Conditional annotation works, shows how to implement custom Condition classes for language switching, and reviews the suite of derived annotations such as @ConditionalOnBean, @ConditionalOnMissingBean, @ConditionalOnClass, @ConditionalOnMissingClass, and @ConditionalOnProperty with concrete code examples.

@ConditionalConditionalOnBeanConditionalOnProperty
0 likes · 9 min read
Understanding Spring @Conditional and Its Derived Annotations
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.

ConfigurationMavenSpring Boot
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-replayRedis
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.

JWTSpring Bootauthentication
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.

LiteFlowProcess OrchestrationSpring Boot
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.

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

AOPException HandlingInterceptor
0 likes · 19 min read
Implementing Unified User Login, Exception Handling, and Data Response in Spring Boot with AOP and Interceptors
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.

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

Dynamic SchedulingSpring Bootbackend
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.

InterceptorSpring Bootbackend
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.

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

Database MigrationLiquibaseMaven Plugin
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.

BPMNFlowableProcess Automation
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 SplittingSpring Boot
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.

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

ArthasSpring BootTomcat
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.

AnnotationSpring Bootbackend
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
Code Ape Tech Column
Code Ape Tech Column
Mar 23, 2023 · Backend Development

Creating an Enterprise‑Grade OSS Object Storage Spring Boot Starter Based on the Amazon S3 Protocol

This article explains how to build a ready‑to‑use Spring Boot starter for enterprise OSS object storage, leveraging the Amazon S3 protocol to support major providers such as Alibaba Cloud OSS, Tencent COS, Qiniu OSS, and MinIO, and includes full Maven configuration, Java code, and packaging steps.

Amazon S3OSSSpring Boot
0 likes · 19 min read
Creating an Enterprise‑Grade OSS Object Storage Spring Boot Starter Based on the Amazon S3 Protocol
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 Bootbackend 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 HandlingInterceptorSpring Boot
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.

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

AOPException HandlingSpring Boot
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.

AsynchronousSpring BootThreadPool
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.

BytecodeException HandlingSpring Boot
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.

ConfigurationSpring Bootannotations
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.

AOPException 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 FilteringOrdered Messaging
0 likes · 16 min read
Master RocketMQ: Transaction, Ordered, Filtered & Delayed Messaging in Java & Spring
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 PluginMyBatisSpring Boot
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.

AutomationCI/CDDevOps
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.

RedisSliding WindowSpring Boot
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.

Spring Bootbackend developmentcode generation
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 StarterSpring Bootauto-configuration
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.

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

HTTPSpring BootWebClient
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.

Spring Bootbackend developmentdistributed systems
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 PluginSpring Boot
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.

AnnotationBizLog SDKSpEL
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.

API GatewayCustom FiltersLoad Balancing
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 RetryMessage reliabilityProducer 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 FixesDocumentationSpring Boot
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.

CRUDFastMyBatisMyBatis
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 SplittingSpring Boot
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.

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

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

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

CRUDEnumLogical Delete
0 likes · 18 min read
Comprehensive Guide to Using MyBatis‑Plus with Spring Boot
Selected Java Interview Questions
Selected Java Interview Questions
Feb 20, 2023 · Backend Development

Understanding the Difference Between JAR and WAR Packages in Spring Boot and How to Build Them

This article explains why a Spring Boot application behaves differently when run as a JAR versus deployed as a WAR, outlines the historical context of servlet containers, compares JAR and WAR formats, and provides step‑by‑step Maven commands and pom.xml modifications for packaging both types.

MavenPackagingSpring Boot
0 likes · 13 min read
Understanding the Difference Between JAR and WAR Packages in Spring Boot and How to Build Them
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.

ReactiveSpring BootWebClient
0 likes · 8 min read
Master Spring 6 HTTP Interface: Build a Reactive API Client in Minutes