Tagged articles

Dynamic Proxy

111 articles · Page 2 of 2
Java Backend Technology
Java Backend Technology
Dec 25, 2017 · Backend Development

Why Spring Needs AOP: Solving Repetitive Code with Dynamic Proxies

This article explores the pain points of traditional Java web development, demonstrates how design patterns and JDK dynamic proxies introduce Aspect‑Oriented Programming concepts, explains Spring AOP's relationship to AOP, and compares JDK and CGLib proxy implementations for clean, reusable code.

AOPDynamic ProxyJava
0 likes · 9 min read
Why Spring Needs AOP: Solving Repetitive Code with Dynamic Proxies
Java Captain
Java Captain
Dec 6, 2017 · Backend Development

Understanding Java Reflection Mechanism and Its Practical Applications

This article explains Java's reflection mechanism, outlines its capabilities such as runtime class inspection, object instantiation, method invocation, and dynamic proxy creation, and provides numerous code examples demonstrating how to retrieve class information, manipulate fields, invoke methods, and apply reflection in patterns like factories.

Backend DevelopmentDynamic ProxyReflection
0 likes · 17 min read
Understanding Java Reflection Mechanism and Its Practical Applications
Java Captain
Java Captain
Sep 12, 2017 · Backend Development

Understanding Java Dynamic Proxy Mechanism

This article explains Java's dynamic proxy mechanism, covering the roles of InvocationHandler and Proxy classes, their APIs, the parameters required for creating proxy instances, and a complete example that demonstrates how method calls are intercepted and delegated through a custom handler.

AOPDynamic ProxyInvocationHandler
0 likes · 11 min read
Understanding Java Dynamic Proxy Mechanism
Ctrip Technology
Ctrip Technology
Sep 4, 2017 · Backend Development

Applying Spring BeanPostProcessor for A/B Testing and Dynamic Routing

This article introduces Spring's BeanPostProcessor, explains its two callback methods, and demonstrates through a real‑world A/B testing scenario how custom annotations and a post‑processor can inject dynamic proxies to simplify routing logic and improve code maintainability.

A/B testingBeanPostProcessorDynamic Proxy
0 likes · 5 min read
Applying Spring BeanPostProcessor for A/B Testing and Dynamic Routing
Java Captain
Java Captain
Aug 22, 2017 · Fundamentals

Understanding Java Static and Dynamic Proxy Patterns

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.

Dynamic ProxyReflectionStatic Proxy
0 likes · 15 min read
Understanding Java Static and Dynamic Proxy Patterns
Hujiang Technology
Hujiang Technology
Jul 20, 2017 · Mobile Development

Kotlin Class Extensions, Companion Objects, Singleton Design, Dynamic Proxy, and Pseudo‑Multiple Inheritance

This article explains Kotlin's class extension functions, highlights pitfalls of static resolution, demonstrates smart casts, describes companion objects and singleton patterns, and shows how to implement dynamic proxies and pseudo‑multiple inheritance with practical code examples for Android development.

Class ExtensionsCompanion ObjectDynamic Proxy
0 likes · 11 min read
Kotlin Class Extensions, Companion Objects, Singleton Design, Dynamic Proxy, and Pseudo‑Multiple Inheritance
Art of Distributed System Architecture Design
Art of Distributed System Architecture Design
Oct 15, 2016 · Backend Development

Intrusive vs. Java Dynamic Proxy Techniques for Measuring Method Performance

This article explains how to measure the execution time of Java methods by first using an intrusive approach that embeds timing code directly in each method, then introduces a cleaner solution based on Java's dynamic proxy mechanism to separate performance monitoring from business logic.

Backend DevelopmentDynamic ProxyInstrumentation
0 likes · 5 min read
Intrusive vs. Java Dynamic Proxy Techniques for Measuring Method Performance
21CTO
21CTO
Oct 7, 2015 · Backend Development

How to Build Transparent Remote Service Calls with Java RPC and Zookeeper

This article explains how large‑scale internet companies replace local service calls with remote procedure calls (RPC), covering Java dynamic proxies, message encoding, serialization, asynchronous response handling, and Zookeeper‑based service registration and discovery to achieve transparent, scalable service communication.

Dynamic ProxyJavaNetty
0 likes · 12 min read
How to Build Transparent Remote Service Calls with Java RPC and Zookeeper