Tagged articles
3838 articles
Page 26 of 39
macrozheng
macrozheng
May 31, 2022 · Backend Development

Build a Simple Leave Approval Workflow with Flowable and Spring Boot

This tutorial walks through creating a basic leave‑approval process using the Flowable BPMN engine in a Spring Boot project, covering project setup, BPMN diagram design, XML definition, and Java code for deploying, visualizing, and handling task approvals and rejections.

BPMNFlowableWorkflow Engine
0 likes · 15 min read
Build a Simple Leave Approval Workflow with Flowable and Spring Boot
Java Architect Essentials
Java Architect Essentials
May 30, 2022 · Backend Development

Implementing IP+URL Rate Limiting with Spring Boot Interceptor and Redis Distributed Lock

This article demonstrates how to protect a Spring Boot service from malicious requests by creating a custom interceptor that tracks URL‑IP request counts, uses Redis for distributed locking, and disables offending IPs after a configurable threshold, with full code examples and configuration steps.

Interceptordistributed-lockredis
0 likes · 8 min read
Implementing IP+URL Rate Limiting with Spring Boot Interceptor and Redis Distributed Lock
Programmer DD
Programmer DD
May 30, 2022 · Backend Development

Master Spring Boot Startup: From static blocks to @PostConstruct and Runner Interfaces

This article explains the various ways to execute code during a Spring Boot application's startup, comparing Java static blocks, constructors, @PostConstruct methods, and Spring's ApplicationRunner and CommandLineRunner interfaces, including ordering with @Order and providing sample code and execution results.

ApplicationRunnerCommandLineRunnerPostConstruct
0 likes · 5 min read
Master Spring Boot Startup: From static blocks to @PostConstruct and Runner Interfaces
macrozheng
macrozheng
May 30, 2022 · Information Security

Master Spring Security 5.7: Configure Without WebSecurityConfigurerAdapter

This guide walks you through upgrading to Spring Boot 2.7.0 and Spring Security 5.7.1, showing the deprecated WebSecurityConfigurerAdapter removal, the new SecurityFilterChain approach, and advanced dynamic permission techniques with complete code examples.

javaspring-bootspring-security
0 likes · 13 min read
Master Spring Security 5.7: Configure Without WebSecurityConfigurerAdapter
Top Architect
Top Architect
May 29, 2022 · Backend Development

Integrating Spring Data Elasticsearch with Spring Boot: Configuration, Entity, Repository, and Query Examples

This tutorial demonstrates how to set up Elasticsearch 7.6 with the IK analyzer in a Spring Boot 2.3 project, import the appropriate Spring Data Elasticsearch dependency, configure the client, define indexed entity classes, create repository interfaces, and implement REST controllers for CRUD, pagination, and highlighted search queries, complete with code examples and test results.

Elasticsearchjavarest
0 likes · 9 min read
Integrating Spring Data Elasticsearch with Spring Boot: Configuration, Entity, Repository, and Query Examples
Top Architect
Top Architect
May 29, 2022 · Information Security

Step‑by‑Step Guide to Building a CAS‑Based Single Sign‑On (SSO) System with Server and Client Configuration

This article provides a comprehensive tutorial on implementing Single Sign‑On using the open‑source CAS solution, covering the concepts of SSO and CAS, required development environment, server‑side deployment, client integration with Spring Boot, configuration details, and a complete end‑to‑end testing workflow.

AuthenticationCASSSO
0 likes · 9 min read
Step‑by‑Step Guide to Building a CAS‑Based Single Sign‑On (SSO) System with Server and Client Configuration
Programmer DD
Programmer DD
May 28, 2022 · Backend Development

How to Auto-Generate spring-configuration-metadata.json for Spring Boot Starters

This article explains the role of the spring.factories file in Spring Boot starters, shows its typical content, and demonstrates how to automatically generate the spring-configuration-metadata.json file by adding the configuration processor dependency and properly annotating configuration property classes.

Configuration MetadataSpring Factoriesauto generation
0 likes · 5 min read
How to Auto-Generate spring-configuration-metadata.json for Spring Boot Starters
Code Ape Tech Column
Code Ape Tech Column
May 28, 2022 · Backend Development

New Features in Spring Boot 2.7.0

Spring Boot 2.7.0 introduces major enhancements such as a new @AutoConfiguration annotation, upgraded Flyway modules, H2 2.1 support, GraphQL starter, Podman integration, Cache2k auto‑configuration, and several deprecations and test annotation improvements, providing a comprehensive update for Java backend developers.

BackendCache2kFlyway
0 likes · 6 min read
New Features in Spring Boot 2.7.0
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 27, 2022 · Backend Development

Filtering RocketMQ Messages in Spring Boot: Tag vs SQL‑92 Techniques

This guide demonstrates how to integrate RocketMQ with Spring Boot, covering dependency setup, configuration, and two message‑filtering techniques—tag‑based and SQL‑92 expression filtering—complete with consumer and producer code examples, testing endpoints, and visual diagrams illustrating each approach.

Message FilteringRocketMQSQL filtering
0 likes · 6 min read
Filtering RocketMQ Messages in Spring Boot: Tag vs SQL‑92 Techniques
Programmer DD
Programmer DD
May 27, 2022 · Information Security

What’s New in Spring Authorization Server 0.3.0? Key Features and Changes

Spring Authorization Server 0.3.0 has been officially released, bringing updated documentation, major feature changes such as token customizer relocation, removal of deprecated APIs, dependency upgrades to Spring Boot 2.7.0 and Spring Security 5.7.1, and new contributors, with detailed module overviews and changelog links.

OAuth2Release NotesSpring Authorization Server
0 likes · 5 min read
What’s New in Spring Authorization Server 0.3.0? Key Features and Changes
Selected Java Interview Questions
Selected Java Interview Questions
May 26, 2022 · Backend Development

Implementing Asynchronous Processing in Spring Boot: ThreadPool, @Async, and Message Queue Approaches

The article explains how to handle multi‑table updates in a Spring Boot backend by replacing synchronous single‑threaded execution with three asynchronous strategies—using a ThreadPoolExecutor, Spring's @EnableAsync/@Async annotations, and a message‑queue decoupling—to improve response time and system stability.

ThreadPoolspring-boot
0 likes · 7 min read
Implementing Asynchronous Processing in Spring Boot: ThreadPool, @Async, and Message Queue Approaches
Selected Java Interview Questions
Selected Java Interview Questions
May 25, 2022 · Backend Development

Spring Boot Best Practices: 16 Essential Guidelines for Backend Development

This article presents sixteen practical best‑practice recommendations for developing Spring Boot microservices, covering dependency management, auto‑configuration, project initialization, code organization, service design, database isolation, concurrency, configuration externalization, exception handling, logging, testing, and more, to help Java backend engineers build robust, maintainable applications.

Microservicesbackend-developmentbest practices
0 likes · 12 min read
Spring Boot Best Practices: 16 Essential Guidelines for Backend Development
Programmer DD
Programmer DD
May 25, 2022 · Backend Development

Effortlessly Manage Spring Boot Config Files with mica-auto

This article introduces the mica-auto open‑source tool that uses Java annotation processing to automatically generate Spring Boot configuration files like spring.factories and AutoConfiguration.imports, and provides step‑by‑step instructions for integrating it into a Maven project.

Annotation Processorautoconfigurationjava
0 likes · 4 min read
Effortlessly Manage Spring Boot Config Files with mica-auto
IT Architects Alliance
IT Architects Alliance
May 24, 2022 · Backend Development

How to Ensure API Idempotency and Implement Distributed Rate Limiting in Java

This guide explains the principles of API idempotency using unique business IDs or token mechanisms, explores distributed rate‑limiting dimensions, compares token‑bucket and leaky‑bucket algorithms, and provides concrete implementations with Guava RateLimiter, Nginx configuration, and a Redis‑Lua script integrated into Spring Boot, including annotation‑based AOP for easy usage.

API idempotencyGuava RateLimiterNGINX
0 likes · 19 min read
How to Ensure API Idempotency and Implement Distributed Rate Limiting in Java
Java Architecture Diary
Java Architecture Diary
May 23, 2022 · Backend Development

Spring Boot’s spring.factories Is Deprecated – Switch to AutoConfiguration.imports

Spring Boot 2.7 marks the spring.factories auto‑configuration loading method as deprecated, and Spring Boot 3 will remove it entirely, prompting developers to adopt the new AutoConfiguration.imports mechanism, which supports configuration slicing, custom SPI extensions, and more elegant handling via tools like mica‑auto.

Spring Factoriesauto-configurationconfiguration slicing
0 likes · 4 min read
Spring Boot’s spring.factories Is Deprecated – Switch to AutoConfiguration.imports
Programmer DD
Programmer DD
May 22, 2022 · Backend Development

Top 16 Spring Boot Best Practices for Robust Microservices

This article shares sixteen practical Spring Boot best practices—from managing dependencies with custom BOMs and leveraging auto‑configuration to structuring code, handling exceptions, externalizing configuration, and testing—helping developers build maintainable, scalable Java microservices efficiently.

backend-developmentbest practicesjava
0 likes · 14 min read
Top 16 Spring Boot Best Practices for Robust Microservices
Programmer DD
Programmer DD
May 20, 2022 · Backend Development

New Features in Spring Boot 3.0.0‑M3, 2.7.0 and Recent Updates

The recent Spring Boot announcements introduce version 3.0.0‑M3 with Micrometer Observation support, restore REST Assured and JMS, while 2.7.0 adds GraphQL metrics, new test annotations, Podman Buildpack integration, Cache2k, simplified Jackson Mixins, PEM‑based SSL, and updates to core Spring projects, and 2.5.14/2.6.8 provide final bug‑fix releases.

Release Notesbackend-developmentjava
0 likes · 4 min read
New Features in Spring Boot 3.0.0‑M3, 2.7.0 and Recent Updates
Sanyou's Java Diary
Sanyou's Java Diary
May 19, 2022 · Backend Development

Mastering Spring: Core Concepts, Modules, Annotations & Advanced Features

This comprehensive guide walks through Spring’s fundamentals—including IoC, DI, core modules, common annotations, AOP concepts, transaction management, MVC workflow, and Spring Boot auto‑configuration—while also covering advanced topics such as bean lifecycle, circular dependencies, proxy mechanisms, and an introduction to Spring Cloud.

IoCMVCSpring Cloud
0 likes · 54 min read
Mastering Spring: Core Concepts, Modules, Annotations & Advanced Features
Code Ape Tech Column
Code Ape Tech Column
May 18, 2022 · Backend Development

Integrating Spring Boot with MyBatis and Multi‑DataSource (Dynamic DataSource) – A Complete Guide

This article explains how to integrate Spring Boot with MyBatis, configure a single Druid data source, implement multi‑data‑source support using Spring's AbstractRoutingDataSource, create a dynamic data source with ThreadLocal, and wire everything together with custom annotations, aspects, and transaction management for backend Java applications.

BackendMulti-DataSourcedynamic-datasource
0 likes · 18 min read
Integrating Spring Boot with MyBatis and Multi‑DataSource (Dynamic DataSource) – A Complete Guide
Code Ape Tech Column
Code Ape Tech Column
May 16, 2022 · Information Security

Data Masking with Sharding-JDBC: Concepts, Configuration, and Custom Encryptors

This article explains how Sharding-JDBC can perform data masking at the persistence layer, detailing key concepts, configuration of data sources, encryptors, and tables, demonstrating practical examples with built‑in MD5 and AES encryptors, and showing how to implement custom encryptors and query‑assisted encryption for enhanced security.

Custom EncryptorDatabase SecuritySharding-JDBC
0 likes · 20 min read
Data Masking with Sharding-JDBC: Concepts, Configuration, and Custom Encryptors
Java Backend Technology
Java Backend Technology
May 14, 2022 · Backend Development

Boosting Massive Data Updates in Spring Boot: Manual Transactions, Multithreading, and UNION Batch Tricks

An in‑depth guide shows how to accelerate updating tens of thousands of MySQL rows in a Spring Boot‑MyBatis project by switching from automatic per‑record commits to manual transactions, applying multithreaded execution with CountDownLatch coordination, and using UNION‑based batch updates when native batch support is unavailable.

mybatisspring-boottransaction
0 likes · 14 min read
Boosting Massive Data Updates in Spring Boot: Manual Transactions, Multithreading, and UNION Batch Tricks
DataFunSummit
DataFunSummit
May 13, 2022 · Backend Development

Configuring Multiple Environments in Spring Boot

This guide explains how to set up separate configuration files for development, testing, and production in Spring Boot, modify them for each environment, and switch between environments using configuration properties, IDE settings, or command‑line arguments.

BackendMulti-Environmentconfiguration
0 likes · 6 min read
Configuring Multiple Environments in Spring Boot
JD Tech
JD Tech
May 12, 2022 · Backend Development

Design and Implementation of a JSF Local Debugging Tool Using Redis Middleware

This article explains the background, design principles, architecture, serialization handling, asynchronous‑to‑synchronous conversion, trigger timing, ease of use, implementation details, and usage documentation of a lightweight, non‑intrusive JSF local debugging tool that leverages Redis publish/subscribe to enable seamless local integration testing for developers.

JSFmiddlewarespring-boot
0 likes · 15 min read
Design and Implementation of a JSF Local Debugging Tool Using Redis Middleware
Programmer DD
Programmer DD
May 12, 2022 · Backend Development

Build a Simple Hot Search Feature with Java, Redis, and Sensitive Word Filtering

This guide demonstrates how to implement a simple hot‑search feature and personal search‑history management using Java and Redis, covering ZSet‑based ranking, timestamp handling, and a DFA‑based sensitive‑word filter with Spring‑Boot configuration and reusable service methods.

Hot SearchSensitive Word Filterbackend-development
0 likes · 16 min read
Build a Simple Hot Search Feature with Java, Redis, and Sensitive Word Filtering
Sohu Tech Products
Sohu Tech Products
May 11, 2022 · Backend Development

Optimizing Large-Scale Database Updates with Manual Transactions and Multithreading in Spring Boot MyBatis

This article demonstrates how to efficiently update up to 50,000 MySQL records in a Spring Boot‑MyBatis application by comparing simple loops, manual transaction control, multithreaded execution with CountDownLatch coordination, and union‑based batch updates, while analyzing performance and connection‑pool considerations.

databasemultithreadingmybatis
0 likes · 14 min read
Optimizing Large-Scale Database Updates with Manual Transactions and Multithreading in Spring Boot MyBatis
Code Ape Tech Column
Code Ape Tech Column
May 11, 2022 · Backend Development

Implementing Two-Level Cache with Caffeine and Redis in Spring Boot

This article explains the design and implementation of a two‑level caching architecture using local Caffeine cache as L1 and remote Redis as L2 in Spring Boot, covering manual cache handling, annotation‑based management with Spring Cache, and a custom annotation with AOP to minimize code intrusion.

Cache AnnotationCaffeineaop
0 likes · 17 min read
Implementing Two-Level Cache with Caffeine and Redis in Spring Boot
Code Ape Tech Column
Code Ape Tech Column
May 9, 2022 · Databases

Sharding-JDBC Advanced Guide: Configuration and Practical Implementation

This article provides a comprehensive guide to Sharding-JDBC, covering the challenges of database sharding such as distributed transactions, cross‑node joins, pagination, global key collisions, and demonstrates practical configuration and code examples for vertical and horizontal partitioning using Spring Boot.

Distributed TransactionsSharding-JDBCdatabase sharding
0 likes · 18 min read
Sharding-JDBC Advanced Guide: Configuration and Practical Implementation
IT Services Circle
IT Services Circle
May 8, 2022 · Backend Development

Integrating AJ-Captcha Behavioral Verification in Spring Boot Applications

This article introduces the AJ-Captcha library, explains its sliding‑puzzle and click‑based behavior verification types, and provides a step‑by‑step guide with Maven configuration, front‑end integration code, and Spring Boot backend verification to replace traditional graphic captchas.

AJ-CaptchaBehavioral CaptchaFront‑End Integration
0 likes · 9 min read
Integrating AJ-Captcha Behavioral Verification in Spring Boot Applications
Cognitive Technology Team
Cognitive Technology Team
May 7, 2022 · Fundamentals

Understanding Java Context ClassLoader and How It Breaks the Parent Delegation Model

This article explains why Java introduced the Context ClassLoader to bypass the parent‑delegation model, demonstrates its role in SPI mechanisms such as JDBC driver loading, compares class loader behavior in Spring Boot development versus packaged execution, and highlights common pitfalls when using custom class loaders.

ContextClassLoaderSPIThread
0 likes · 8 min read
Understanding Java Context ClassLoader and How It Breaks the Parent Delegation Model
Java Architect Essentials
Java Architect Essentials
May 5, 2022 · Backend Development

YouLai Mall: Open‑Source Full‑Stack E‑Commerce Platform with Spring Boot, Vue and uni‑app

YouLai Mall is an open‑source full‑stack e‑commerce solution built with Spring Boot 2.4, Spring Cloud, Vue, element‑ui and uni‑app, offering microservice back‑ends, a management portal, WeChat mini‑program and mobile app, with detailed deployment instructions and source code links for rapid development.

DockerMicroservicesOpen-source
0 likes · 8 min read
YouLai Mall: Open‑Source Full‑Stack E‑Commerce Platform with Spring Boot, Vue and uni‑app
Java High-Performance Architecture
Java High-Performance Architecture
May 5, 2022 · Backend Development

Master FastMybatis: Zero‑Config CRUD for Spring Boot

This article introduces FastMybatis, a lightweight Java MyBatis extension that enables zero‑configuration CRUD operations across multiple databases, shows how to quickly set up a Spring Boot project with the starter, provides full code examples for entities, mappers, services, a comprehensive mapper method list, and demonstrates Query object usage for flexible data retrieval.

CRUDFastMyBatisbackend-development
0 likes · 10 min read
Master FastMybatis: Zero‑Config CRUD for Spring Boot
Programmer DD
Programmer DD
May 5, 2022 · Backend Development

Master Spring Retry: Using @Retryable for Elegant Failure Handling

This guide explains how Spring Boot’s @Retryable annotation enables elegant, annotation‑driven retry logic, covering dependency setup, enabling retry, method annotation with configurable parameters, recovery handling via @Recover, and important AOP‑related considerations to avoid common pitfalls.

Exception HandlingRetryableSpring Retry
0 likes · 7 min read
Master Spring Retry: Using @Retryable for Elegant Failure Handling
Java Architect Essentials
Java Architect Essentials
May 4, 2022 · Backend Development

Implementing WeChat QR Code Login with Spring Boot and OAuth2

This article explains how to integrate WeChat QR code login using OAuth2.0 in a Spring Boot backend, covering the authorization flow, required configuration, Java code examples for obtaining the code and access token, user login handling, and AOP-based login verification.

OAuth2QR codeWeChat
0 likes · 13 min read
Implementing WeChat QR Code Login with Spring Boot and OAuth2
Java Architecture Diary
Java Architecture Diary
May 2, 2022 · Backend Development

How to Use ip2region in Spring Boot for Java IP Geolocation

This guide introduces ip2region, an offline IP geolocation library, and shows how to integrate its Java wrapper mica‑ip2region into Spring Boot, covering dependency setup, bean injection, search methods, IpInfo fields, and provides demo screenshots and related open‑source links.

IP geolocationip2regionjava
0 likes · 5 min read
How to Use ip2region in Spring Boot for Java IP Geolocation
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
May 1, 2022 · Backend Development

Real-Time Messaging with RabbitMQ and Spring Boot

This article demonstrates how to build a real‑time messaging system for a space‑station scenario using RabbitMQ and Spring Boot, covering configuration of direct and fanout exchanges, scheduling updates, one‑to‑one chat, and broadcast messaging with complete Java code examples.

RabbitMQbackend-developmentjava
0 likes · 14 min read
Real-Time Messaging with RabbitMQ and Spring Boot
Java Backend Technology
Java Backend Technology
Apr 30, 2022 · Backend Development

Master Asynchronous Execution in Spring Boot: @Async, CompletableFuture, WebAsyncTask & More

This article explores multiple ways to implement asynchronous processing in Spring Boot, covering @Async with @EnableAsync, CompletableFuture, DeferredResult, WebAsyncTask, AsyncHandlerInterceptor, as well as related server tweaks like increasing Tomcat connections, switching to Undertow, and using @ComponentScan for faster scanning.

AsyncHandlerInterceptorCompletableFutureDeferredResult
0 likes · 11 min read
Master Asynchronous Execution in Spring Boot: @Async, CompletableFuture, WebAsyncTask & More
Cognitive Technology Team
Cognitive Technology Team
Apr 29, 2022 · Backend Development

Spring Cloud Managed Thread Pools Are Automatically Wrapped with Trace Information to Preserve Context

This article explains how Spring Cloud automatically wraps container‑managed thread pool beans with tracing proxies to preserve distributed‑trace information, details the ExecutorBeanPostProcessor implementation, shows the relevant code for detecting and instrumenting executors, and notes when manual wrapping is required.

Spring Cloudjavaspring-boot
0 likes · 6 min read
Spring Cloud Managed Thread Pools Are Automatically Wrapped with Trace Information to Preserve Context
Java Architect Essentials
Java Architect Essentials
Apr 27, 2022 · Backend Development

Flash‑Waimai: Complete Spring Boot + Vue Food Delivery System Tutorial

This article introduces a full‑stack food‑delivery project built with Spring Boot, Vue.js, MySQL and MongoDB, detailing its architecture, module breakdown, technology choices, database setup, and step‑by‑step instructions for launching the backend API, admin portal, and mobile client, along with download links for data and images.

MongoDBMySQLVue.js
0 likes · 5 min read
Flash‑Waimai: Complete Spring Boot + Vue Food Delivery System Tutorial
IT Services Circle
IT Services Circle
Apr 26, 2022 · Databases

How to Install, Integrate, and Use Redis with Spring Boot

This article introduces Redis, explains how to install it on various platforms, demonstrates integrating Redis with Spring Boot using Spring Cache annotations, configures connection pools for Lettuce and Jedis, and provides custom Redis service implementations for flexible cache operations.

Spring Cachecachingdatabase
0 likes · 14 min read
How to Install, Integrate, and Use Redis with Spring Boot
Selected Java Interview Questions
Selected Java Interview Questions
Apr 21, 2022 · Backend Development

Encrypting Spring Boot Configuration with Jasypt and a Custom EnvironmentPostProcessor

This guide demonstrates how to secure Spring Boot configuration values by using Jasypt encryption and a custom EnvironmentPostProcessor with RSA, covering Maven dependencies, property setup, encrypted YAML syntax, utility classes, processor implementation, and registration via spring.factories.

EnvironmentPostProcessorJasyptRSA
0 likes · 9 min read
Encrypting Spring Boot Configuration with Jasypt and a Custom EnvironmentPostProcessor
Top Architect
Top Architect
Apr 20, 2022 · Backend Development

Understanding Disruptor: Core Concepts, Architecture, and Java Implementation Demo

This article introduces the high‑performance Disruptor library, explains its background, core concepts such as RingBuffer, Sequence, Sequencer, and WaitStrategy, and provides a complete Spring Boot‑based Java demo with code snippets illustrating producers, consumers, and configuration.

DisruptorProducer ConsumerRing Buffer
0 likes · 12 min read
Understanding Disruptor: Core Concepts, Architecture, and Java Implementation Demo
Top Architect
Top Architect
Apr 19, 2022 · Backend Development

Implementing a Simple Hot Search Feature with User Search History and Sensitive Word Filtering Using Java and Redis

This article demonstrates how to build a simple hot‑search functionality with user search history, hot‑keyword ranking, and profanity filtering in a Spring Boot application using Java, Redis ZSet operations, and a DFA‑based sensitive‑word filter, providing complete controller and service code examples.

Hot SearchSensitive Word Filterbackend-development
0 likes · 17 min read
Implementing a Simple Hot Search Feature with User Search History and Sensitive Word Filtering Using Java and Redis
IT Xianyu
IT Xianyu
Apr 18, 2022 · Backend Development

Global Date and Time Conversion in Spring Boot 2.x: Custom Converters, Jackson Configuration, and Parameter Binding

This article explains how to globally handle LocalDate, LocalDateTime, and LocalTime parameters in Spring Boot 2.x by creating custom Converter beans, configuring Jackson's ObjectMapper, using @DateTimeFormat, ControllerAdvice, and understanding the underlying parameter resolution mechanisms to avoid common pitfalls such as lambda‑based converter registration failures.

BackendConverterJackson
0 likes · 16 min read
Global Date and Time Conversion in Spring Boot 2.x: Custom Converters, Jackson Configuration, and Parameter Binding
Top Architect
Top Architect
Apr 17, 2022 · Backend Development

Using the Strategy Pattern to Simplify Complex if‑else Logic in Order Processing with Java Spring Boot

This article demonstrates how to replace verbose if‑else statements in an order‑processing system with a clean Strategy Pattern implementation, using custom annotations, a handler context, and Spring Boot components, providing complete code examples and a concise summary of the approach.

Design PatternsStrategy Patternbackend-development
0 likes · 10 min read
Using the Strategy Pattern to Simplify Complex if‑else Logic in Order Processing with Java Spring Boot
Programmer DD
Programmer DD
Apr 17, 2022 · Backend Development

How to Throw Exceptions Elegantly in Spring Boot Using IntelliJ IDEA

This article explains why and how to deliberately throw exceptions during Spring Boot development to test transaction rollbacks and global error handling, comparing a manual approach with IntelliJ IDEA's built‑in "Throw Exception" debugging feature.

Exception HandlingIntelliJ IDEAdebugging
0 likes · 5 min read
How to Throw Exceptions Elegantly in Spring Boot Using IntelliJ IDEA
Java Captain
Java Captain
Apr 17, 2022 · Backend Development

Kindergarten Management System – Overview, Tech Stack, Deployment Guide, and Backend Controller Code

The article presents a kindergarten management system featuring three user roles, outlines its Spring Boot and Thymeleaf technology stack, details required runtime and database environments, provides step‑by‑step deployment instructions, and includes complete backend controller source code for user, teacher, student, and school management functionalities.

MySQLREST APIThymeleaf
0 likes · 19 min read
Kindergarten Management System – Overview, Tech Stack, Deployment Guide, and Backend Controller Code
Selected Java Interview Questions
Selected Java Interview Questions
Apr 16, 2022 · Backend Development

Implementing a Global Unified Exception Handler in Spring Boot

This article demonstrates how to create a reusable global exception handling mechanism for Spring Boot applications by defining a unified response class, custom business exception, error enumeration, and a @RestControllerAdvice handler, complete with code examples and testing guidance.

Exception HandlingGlobal Exceptionrest
0 likes · 6 min read
Implementing a Global Unified Exception Handler in Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Apr 16, 2022 · Backend Development

Design and Implementation of a Custom RPC Framework with Spring Boot and Netty

This article presents a comprehensive overview of designing and implementing a custom RPC framework using Spring Boot and Netty, covering concepts, architecture, service registration with Zookeeper, load balancing, custom message protocol, serialization, handling TCP fragmentation, and various client invocation modes.

NettyRPCZooKeeper
0 likes · 14 min read
Design and Implementation of a Custom RPC Framework with Spring Boot and Netty
Top Architect
Top Architect
Apr 15, 2022 · Backend Development

Global Date and Time Conversion in Spring Boot: Custom Converters, Jackson Configuration, and Parameter Binding

This article explains how to globally configure date and time handling in Spring Boot 2.x, covering custom Converter beans for LocalDate, LocalDateTime, and LocalTime, Jackson JSON serialization settings, @InitBinder usage, and common pitfalls such as lambda expressions and parameter binding.

Custom ConverterDate ConversionJackson
0 likes · 18 min read
Global Date and Time Conversion in Spring Boot: Custom Converters, Jackson Configuration, and Parameter Binding
Java High-Performance Architecture
Java High-Performance Architecture
Apr 15, 2022 · Backend Development

Mastering Global Exception Handling in Spring Boot

This guide explains why excessive try‑catch blocks hurt Spring Boot projects, introduces a unified response class, custom business exception, error enumeration, and a global @RestControllerAdvice handler, providing clean, reusable error handling with sample code and test usage.

Exception Handlingbackend-developmentjava
0 likes · 7 min read
Mastering Global Exception Handling in Spring Boot
Java High-Performance Architecture
Java High-Performance Architecture
Apr 13, 2022 · Backend Development

Mastering Asynchronous Execution in Spring Boot: From @Async to CompletableFuture

This article explains multiple ways to implement asynchronous processing in Spring Boot, covering @Async annotation, CompletableFuture, supplyAsync, runAsync, WebAsyncTask, DeferredResult, custom interceptors, and server configuration tweaks such as Tomcat connection limits and switching to Undertow.

AsynchronousCompletableFutureconcurrency
0 likes · 11 min read
Mastering Asynchronous Execution in Spring Boot: From @Async to CompletableFuture
macrozheng
macrozheng
Apr 12, 2022 · Backend Development

Mastering Spring Retry: How @Retryable Simplifies Robust Backend Calls

This article explains how Spring Boot's spring-retry module and the @Retryable annotation enable clean, annotation‑driven retry logic for common failure scenarios, covering configuration, code examples, recovery handling with @Recover, and important usage precautions.

RetryableSpring Retryannotations
0 likes · 7 min read
Mastering Spring Retry: How @Retryable Simplifies Robust Backend Calls
Code Ape Tech Column
Code Ape Tech Column
Apr 12, 2022 · Backend Development

Using Spring Retry @Retryable for Automatic Retry in Spring Boot Applications

This article introduces Spring Retry's @Retryable annotation, explains its purpose, shows how to add the Maven dependency, enable retry support, annotate methods with retry settings, handle failures with @Recover, and outlines important considerations for reliable retry mechanisms in Java backend development.

BackendRetryableSpring Retry
0 likes · 7 min read
Using Spring Retry @Retryable for Automatic Retry in Spring Boot Applications
Top Architect
Top Architect
Apr 10, 2022 · Backend Development

Spring Boot Best Practices: 16 Essential Tips for Building Robust Microservices

This article presents sixteen practical Spring Boot best‑practice recommendations—including custom BOM management, auto‑configuration, project initialization with Spring Initializr, clean controller design, service layering, database isolation, constructor injection, logging, testing, and configuration externalization—to help developers build maintainable, high‑quality microservices efficiently.

Microservicesbackend-developmentconfiguration
0 likes · 13 min read
Spring Boot Best Practices: 16 Essential Tips for Building Robust Microservices
Java High-Performance Architecture
Java High-Performance Architecture
Apr 8, 2022 · Backend Development

Mastering Asynchronous Execution in Spring Boot: An In‑Depth Guide

This article explains how to implement asynchronous processing in Spring Boot using @Async annotations, JDK 8 CompletableFuture, Callable, WebAsyncTask, DeferredResult, and AsyncHandlerInterceptor, providing detailed code examples and configuration tips to improve performance and scalability of backend services.

AsynchronousCompletableFutureWeb MVC
0 likes · 10 min read
Mastering Asynchronous Execution in Spring Boot: An In‑Depth Guide
Java Captain
Java Captain
Apr 6, 2022 · Backend Development

Understanding Spring Boot Auto‑Configuration and Bean Definition Mechanisms

This article provides a comprehensive tutorial on Spring Boot's auto‑configuration process, covering bean injection styles, XML and JavaConfig configurations, BeanDefinition internals, autowire modes, constructor argument handling, custom BeanFactoryPostProcessor usage, @Import mechanisms, and the inner workings of Spring Boot's EnableAutoConfiguration and its loading of META‑INF/spring.factories.

BackendBean Definitionauto-configuration
0 likes · 28 min read
Understanding Spring Boot Auto‑Configuration and Bean Definition Mechanisms
Java Backend Technology
Java Backend Technology
Apr 4, 2022 · Backend Development

Top 16 Spring Boot Best Practices for Robust Microservices

This article presents sixteen essential Spring Boot best practices—from managing dependencies with a custom BOM and leveraging auto‑configuration, to structuring packages, using constructor injection, handling concurrency, externalizing configuration, and comprehensive testing—helping developers build maintainable, high‑performance Java microservices.

Microservicesbackend-developmentbest practices
0 likes · 13 min read
Top 16 Spring Boot Best Practices for Robust Microservices
Programmer DD
Programmer DD
Apr 3, 2022 · Backend Development

What Java Developers Want in 2022: Migration to Java 17 and Emerging Trends

JRebel’s 2022 Java Developer Productivity Report, based on 876 global responses, reveals that 62% plan to upgrade to the latest LTS version within a year, highlights microservice dominance, preferred tools like Spring Boot and Docker, and shows how company size influences Java 17 adoption.

DockerLTSjava
0 likes · 6 min read
What Java Developers Want in 2022: Migration to Java 17 and Emerging Trends
Java Backend Technology
Java Backend Technology
Apr 3, 2022 · Backend Development

Why @Transactional Fails in Spring and How to Fix It

This article explains three common reasons why the @Transactional annotation may not work in Spring—non‑public methods, self‑invocation, and catching exceptions—provides code examples for each case, and details the underlying proxy and transaction management mechanisms to help developers resolve the issues.

aopdatabase transactionjava
0 likes · 11 min read
Why @Transactional Fails in Spring and How to Fix It
Su San Talks Tech
Su San Talks Tech
Apr 2, 2022 · Backend Development

Top 16 Spring Boot Best Practices for Robust Microservices

This article presents sixteen practical Spring Boot best‑practice recommendations—from managing dependencies with custom BOMs and leveraging auto‑configuration to structuring packages, handling concurrency, externalizing configuration, and adopting testing strategies—aimed at building clean, maintainable microservices.

Microservicesbackend-developmentjava
0 likes · 13 min read
Top 16 Spring Boot Best Practices for Robust Microservices
Selected Java Interview Questions
Selected Java Interview Questions
Apr 1, 2022 · Backend Development

Standardized API Response, Global Exception Handling, and Logback Configuration in Spring Boot

This article explains how to define a unified JSON response format for Spring Boot APIs, implement a reusable result class with chainable methods, set up global exception handling using @ControllerAdvice, and configure Logback for structured logging across development and production environments, including code examples.

API responsespring-boot
0 likes · 15 min read
Standardized API Response, Global Exception Handling, and Logback Configuration in Spring Boot
DataFunSummit
DataFunSummit
Mar 30, 2022 · Backend Development

Implementing Distributed Scheduled Tasks with Quartz in Spring Boot

This tutorial explains how to build a highly available, horizontally scalable distributed scheduled‑task system using Quartz in a Spring Boot application, covering application scenarios, Maven dependencies, database initialization, configuration properties, job and scheduler code, and verification of failover behavior.

Distributed SchedulingQuartzbackend-development
0 likes · 14 min read
Implementing Distributed Scheduled Tasks with Quartz in Spring Boot
Test Development Learning Exchange
Test Development Learning Exchange
Mar 29, 2022 · Backend Development

Quickly Set Up a Spring Boot Project in IntelliJ IDEA

This step‑by‑step guide shows how to configure JDK 1.8 and Maven 3.6.2, create a new Spring Boot project in IntelliJ IDEA using Spring Initializr, examine the generated pom.xml, add a simple HelloController, and verify that the application runs successfully.

ControllerIntelliJ IDEATutorial
0 likes · 3 min read
Quickly Set Up a Spring Boot Project in IntelliJ IDEA
Selected Java Interview Questions
Selected Java Interview Questions
Mar 29, 2022 · Backend Development

Spring Boot Best Practices: 16 Tips for Building Robust Microservices

This article shares sixteen practical Spring Boot best‑practice recommendations—ranging from custom BOM management and auto‑configuration to proper package layout, constructor injection, concurrency awareness, externalized configuration, logging, testing, and global exception handling—to help developers build clean, maintainable Java microservices.

Microservicesbackend-developmentbest practices
0 likes · 13 min read
Spring Boot Best Practices: 16 Tips for Building Robust Microservices
Top Architect
Top Architect
Mar 29, 2022 · Backend Development

Packaging a Spring Boot Application into a Windows EXE Installer with exe4j and Inno Setup

This guide walks through converting a functional Spring Boot JAR into a Windows executable with exe4j, then bundling the EXE, JRE, and dependencies into a single installer using Inno Setup, providing step‑by‑step screenshots, configuration tips, and the final script for seamless deployment on machines without a JDK.

Desktop ApplicationExe4JInno Setup
0 likes · 6 min read
Packaging a Spring Boot Application into a Windows EXE Installer with exe4j and Inno Setup
Java Captain
Java Captain
Mar 26, 2022 · Backend Development

Vaccination Management System – Features, Architecture, and Core Backend Code

This article presents a Java Spring Boot vaccination management system that supports user registration, vaccine record handling, case history, nucleic‑acid test reporting, travel tracking, risk‑area management, and epidemic‑prevention knowledge, detailing its roles, technology stack, database design, UI screenshots, and core backend source code.

MySQLREST APIVaccination Management
0 likes · 13 min read
Vaccination Management System – Features, Architecture, and Core Backend Code
Programmer DD
Programmer DD
Mar 26, 2022 · Backend Development

What’s New in Spring Boot 3.0.0 M2? Key Updates and Improvements

Spring Boot 3.0.0 M2, released on March 25, 2022, brings 50 bug fixes, documentation enhancements, and dependency updates, revisits the M1 changes such as Java 17 baseline and Jakarta EE migration, and adds features like restored EhCache 3 support, H2 Console, and improved @ConstructorBinding detection.

M2 releasebackend-developmentjakarta-ee
0 likes · 3 min read
What’s New in Spring Boot 3.0.0 M2? Key Updates and Improvements
macrozheng
macrozheng
Mar 22, 2022 · Backend Development

Switching to SpringDoc: A Complete Guide to Replacing SpringFox in Spring Boot

After SpringFox became outdated and incompatible with Spring Boot 2.6, this article introduces SpringDoc as a modern OpenAPI 3‑based alternative, explains its advantages, shows how to integrate it, migrate annotations, configure security, and provides sample code and screenshots for a seamless transition.

OpenAPISpringDocSwagger
0 likes · 12 min read
Switching to SpringDoc: A Complete Guide to Replacing SpringFox in Spring Boot
Java Backend Technology
Java Backend Technology
Mar 18, 2022 · Backend Development

Why @Configuration @Bean Overrides @Component in Spring Boot 2.0.3

An in‑depth analysis shows that in Spring Boot 2.0.3 a @Configuration class defining a @Bean can override a @Component‑annotated bean of the same type, how the Spring container registers and replaces the bean definitions, and the evolution of bean‑overriding controls in later Spring and Spring Boot releases.

Bean OverridingComponentbackend-development
0 likes · 8 min read
Why @Configuration @Bean Overrides @Component in Spring Boot 2.0.3
macrozheng
macrozheng
Mar 17, 2022 · Backend Development

How to Upgrade Spring Boot to 2.6.x Without Circular Dependency and Swagger Issues

This article walks through upgrading a Spring Boot project to version 2.6.x, explains why circular bean dependencies and Swagger failures occur after the upgrade, and provides step‑by‑step configuration changes—including allowing circular references, using @Lazy, and adjusting MVC path‑matching—to resolve the problems.

Swaggerbackend-developmentcircular-dependency
0 likes · 7 min read
How to Upgrade Spring Boot to 2.6.x Without Circular Dependency and Swagger Issues