Tagged articles
108 articles
Page 2 of 2
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.

Dynamic ProxyInvocationHandlerProxy
0 likes · 11 min read
Understanding Java Dynamic Proxy Mechanism
Liulishuo Tech Team
Liulishuo Tech Team
Sep 9, 2017 · Backend Development

Applying Java Dynamic Proxy to Simplify MVP Null Checks and Module Decoupling

This article explains the fundamentals of Java dynamic proxy, demonstrates how to use Proxy and InvocationHandler to eliminate repetitive null‑checks in MVP presenters and to create flexible, decoupled module interactions, providing complete code examples and practical insights.

Backend DevelopmentDesign PatternsDynamic Proxy
0 likes · 13 min read
Applying Java Dynamic Proxy to Simplify MVP Null Checks and Module Decoupling
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 ProxyProxyReflection
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