Tag

responsibility chain

1 views collected around this technical thread.

Java Tech Enthusiast
Java Tech Enthusiast
Mar 7, 2025 · Backend Development

Implementing a Responsibility Chain Pattern with Spring Boot and MyBatis Plus

The article demonstrates how to build a dynamic Chain of Responsibility in a Spring Boot and MyBatis‑Plus application by defining an abstract handler, implementing concrete @Component beans that modify a shared Lombok‑based context, retrieving them via an ApplicationContext‑aware proxy utility, and invoking them in a client‑specified order through a REST endpoint, while suggesting LiteFlow as a production alternative.

JavaMyBatis-PlusREST API
0 likes · 9 min read
Implementing a Responsibility Chain Pattern with Spring Boot and MyBatis Plus
Architect
Architect
Dec 26, 2024 · Backend Development

Applying the Pipeline Pattern to Decouple Complex Business Logic in Java Backend Systems

The article explains how the Pipeline pattern, a variant of the Chain of Responsibility, can be used to split and decouple complex business scenarios in Java backend applications such as Spring, Tomcat, and Netty, providing code examples, structural diagrams, and practical usage tips.

JavaSpringbackend
0 likes · 10 min read
Applying the Pipeline Pattern to Decouple Complex Business Logic in Java Backend Systems
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 27, 2024 · Backend Development

Refactoring a Billing Service with a Responsibility‑Chain Architecture for Better Extensibility

The article explains why a complex billing module in a settlement system needs optimization, describes the problems of monolithic code and tangled responsibilities, and demonstrates a refactor using the responsibility‑chain pattern with clear, pluggable nodes, accompanied by Java code examples and best‑practice recommendations.

Javabackendbilling
0 likes · 12 min read
Refactoring a Billing Service with a Responsibility‑Chain Architecture for Better Extensibility
Code Ape Tech Column
Code Ape Tech Column
Dec 15, 2023 · Information Security

Secure API Design for Microservices: Anti‑Tampering, Anti‑Replay, and Authentication Strategies

This article explains how to protect microservice APIs from tampering and replay attacks by using HTTPS, request signing, nonce‑timestamp mechanisms, and AppId/AppSecret authentication, and demonstrates a complete Java/Spring implementation with a responsibility‑chain based verification filter.

API securitySignaturemicroservices
0 likes · 14 min read
Secure API Design for Microservices: Anti‑Tampering, Anti‑Replay, and Authentication Strategies
JD Tech
JD Tech
Jun 28, 2023 · Backend Development

Using the Pie Framework for Responsibility Chain Development in Java

This article introduces the Pie framework, a Java-based implementation of the responsibility‑chain design pattern, demonstrates how to integrate it with Maven, shows step‑by‑step code examples for handlers, outbound factories, bootstrapping, and global exception handling, and explains its benefits for clean, maintainable backend development.

Exception HandlingJavaMaven
0 likes · 13 min read
Using the Pie Framework for Responsibility Chain Development in Java
DaTaobao Tech
DaTaobao Tech
Jun 27, 2022 · Mobile Development

Applying Design Patterns to Optimize the Scan Feature Architecture

The Taobao Scan feature was refactored by applying the Responsibility‑Chain, State, and Proxy design patterns, separating view and logic layers, introducing a fluent pipeline API, modular state handling, and a global proxy, which together dramatically improved code maintainability, extensibility, testability, and reduced development risk.

Mobile DevelopmentProxy PatternState Pattern
0 likes · 13 min read
Applying Design Patterns to Optimize the Scan Feature Architecture
Youzan Coder
Youzan Coder
Nov 6, 2020 · Backend Development

Design and Implementation of a CPS-Based Promotion System with Settlement and Commission Calculation

The article presents a CPS‑based promotion system for the beauty sector that lets promoters instantly view orders and commissions, employs a responsibility‑chain clearing design and a parent‑child settlement model for delayed‑consumption products, and outlines a scheduled settlement workflow that securely transfers funds from merchants to promoters.

CPSbackendbusiness model
0 likes · 13 min read
Design and Implementation of a CPS-Based Promotion System with Settlement and Commission Calculation