Tagged articles
2 articles
Page 1 of 1
Architect
Architect
Jun 15, 2024 · Fundamentals

Mastering the Chain of Responsibility: From Basics to Real-World Frameworks

This article explains the Chain of Responsibility pattern, compares self‑driven and handler‑driven implementations with Java code, and demonstrates how major frameworks such as Spring Interceptor, Servlet Filter, Dubbo, and Sentinel realize the pattern, followed by practical usage scenarios.

Chain of ResponsibilityDesign PatternsDubbo
0 likes · 25 min read
Mastering the Chain of Responsibility: From Basics to Real-World Frameworks
vivo Internet Technology
vivo Internet Technology
Sep 20, 2023 · Backend Development

Chain of Responsibility Pattern: Implementation and Applications in Open Source Frameworks

The article explains the Chain of Responsibility design pattern, compares its two implementation styles—chain‑driven and processor‑self‑driven—and demonstrates how open‑source frameworks such as Spring Interceptor, Servlet Filter, Dubbo, and Sentinel employ the pattern to achieve low coupling, high extensibility, and flexible request processing.

Chain of ResponsibilityDubboServlet Filter
0 likes · 19 min read
Chain of Responsibility Pattern: Implementation and Applications in Open Source Frameworks