Tagged articles
Static Proxy
19 articles · Page 1 of 1

liandkJun 25, 2026 · Fundamentals
This article introduces the Proxy design pattern, explains its core purpose of controlling access without modifying original classes, illustrates everyday analogies, provides a complete Java static‑proxy implementation with interface, real subject, proxy and test code, and summarizes common use cases and distinctions from decorators.
AOPJavaStatic Proxy
0 likes · 5 min read

This article explains the differences between static and dynamic proxies in Java, demonstrates how to implement static proxies, JDK dynamic proxies, and CGLib proxies with complete code examples, and compares their advantages, limitations, and typical use cases in backend development.
CGLIBJDKJava
0 likes · 9 min read

This tutorial introduces Caddy, a modern Go‑based web server, shows how to install it with Docker, and demonstrates static and dynamic proxy setups, directory routing, gzip compression, and address rewriting for a SpringBoot‑Vue e‑commerce project.
CaddyCaddyfileDocker
0 likes · 9 min read

This article explains the difference between static and dynamic proxies in Java, walks through JDK dynamic‑proxy implementation steps, analyzes the underlying Proxy class generation process, and compares performance and usage with static proxies and CGLIB.
Design PatternJDK ProxyJava
0 likes · 20 min read

This article explains the Java Proxy design pattern, its three core roles, static and dynamic implementation approaches, provides a complete code example, and outlines typical scenarios where proxies improve access control, functionality, and system decoupling.
Code ExampleJavaStatic Proxy
0 likes · 6 min read

This guide explains how to set up high‑performance reverse proxy with OpenResty, covering both static resource routing and dynamic API forwarding, complete with Nginx configuration files for documentation, front‑end, Java and PHP back‑ends, and testing steps.
ConfigurationStatic Proxydynamic-proxy
0 likes · 5 min read

This article explains the Proxy design pattern, illustrates its core participants with clear Chinese idiom analogies, and provides a complete static‑proxy implementation in Java—including interface, real subject, proxy class, and client code—while also noting the distinction between static and dynamic proxies.
JavaStatic Proxydesign patterns
0 likes · 6 min read

This article explains the differences between static and dynamic proxies in Java, provides complete code examples for static proxy, JDK native dynamic proxy, and CGLib dynamic proxy, shows their execution results, and compares their usage scenarios, especially in backend development.
CGLIBJDKJava
0 likes · 10 min read

This article explains the Proxy design pattern, covering its definition, use cases, static proxy implementation in Nacos, step‑by‑step guides for JDK dynamic proxies and Cglib dynamic proxies, and how Spring AOP leverages both approaches for method interception.
CGLIBJDKJava
0 likes · 22 min read

This article explains the proxy design pattern in Java, covering static proxy, JDK dynamic proxy, and CGLIB dynamic proxy implementations with code examples, diagrams, and a comparison of their advantages, limitations, and use‑case differences.
Static Proxydesign patternsdynamic-proxy
0 likes · 9 min read

The article explains static and dynamic proxy patterns, demonstrates their Java implementations, and shows how Spring’s transaction management relies on dynamic AOP proxies—highlighting that internal calls within the same class bypass the proxy, preventing @Transactional methods from starting or rolling back transactions.
AOPJavaSpring Transaction
0 likes · 21 min read

This article explains the concept of proxy patterns, compares static and dynamic proxies in Java, provides detailed code examples for each, and discusses their advantages, disadvantages, and implementation steps, helping developers choose the appropriate proxy technique for their projects.
JavaReflectionStatic Proxy
0 likes · 15 min read

This article explains the GoF Proxy pattern, illustrates static proxy implementation, and details both JDK dynamic proxy and cglib dynamic proxy techniques in Java with complete code examples and a comparison of their characteristics and usage scenarios.
JDK ProxyJavaStatic Proxy
0 likes · 8 min read

This article explains the Proxy design pattern, covering its purpose, static, dynamic (JDK), and CGLIB implementations in Java, provides complete code examples, discusses advantages and disadvantages, and outlines typical use cases such as lazy initialization, access control, remote services, logging, and caching.
AOPCGLIBJava
0 likes · 14 min read

This article explains the proxy design pattern, shows how to implement static proxies in Java with concrete code examples, discusses their limitations, and then demonstrates JDK dynamic proxies using InvocationHandler and Proxy classes, including generated proxy class details.
JDKJavaStatic Proxy
0 likes · 13 min read

This article explains how Java's Load‑Time Weaving (LTW) enables static AOP via the java.lang.instrument package, details the core interfaces, demonstrates a complete code example with custom transformers and proxy classes, and shares practical tips for packaging the agent JAR.
AOPJavaLTW
0 likes · 7 min read

This article explains the proxy design pattern, compares static and dynamic proxy implementations in Java, demonstrates how to use Java reflection and InvocationHandler for dynamic proxies, and shows how these techniques enable AOP features such as logging and transaction handling.
AOPJavaStatic Proxy
0 likes · 12 min read

This article explains the Proxy design pattern in Java, covering static proxy, dynamic JDK proxy, and Cglib subclass proxy with detailed code examples and discussion of their advantages, limitations, and typical usage in AOP frameworks.
AOPCGLIBStatic Proxy
0 likes · 10 min read

This article explains the concept of the Proxy design pattern, demonstrates how to implement static and dynamic proxies in Java with complete source code, and analyzes the advantages, limitations, and internal workings of Java's runtime-generated proxy classes.
Design PatternProxyReflection
0 likes · 15 min read
