Tag

Dynamic Proxy

1 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 23, 2025 · Mobile Development

Advanced Repository and Network Layer Automation in Kotlin Using Annotation Processors, Dynamic Proxies, and Flow

This article presents a comprehensive guide on building a highly modular Android network layer by leveraging Kotlin coroutines, Flow, Retrofit, annotation processors, dynamic proxies, and dependency‑injection frameworks to automatically generate Repository classes and streamline MVVM data flow.

AndroidAnnotation ProcessorDynamic Proxy
0 likes · 16 min read
Advanced Repository and Network Layer Automation in Kotlin Using Annotation Processors, Dynamic Proxies, and Flow
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 8, 2024 · Backend Development

Mastering Spring AOP: Dynamic Proxy, Java Agent, and Maven Plugin Techniques

Explore three Spring AOP implementation methods—dynamic proxy, Java Agent, and AspectJ Maven plugin—by setting up a sample Service, defining aspects, configuring aop.xml and JVM arguments, and comparing their flexibility, performance impact, and compile‑time weaving within a Spring Boot 2.7 environment.

AOPAspectJDynamic Proxy
0 likes · 7 min read
Mastering Spring AOP: Dynamic Proxy, Java Agent, and Maven Plugin Techniques
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 27, 2024 · Backend Development

How to Dynamically Add and Remove Spring AOP Advisors Without Restarting

This tutorial shows how to implement dynamic hot‑plugging of Spring AOP advisors, enabling runtime addition, replacement, or removal of Advice/Advisor objects via a custom annotation, abstract base class, proxy creator, and management API without restarting the Spring Boot application.

AOPBackend DevelopmentDynamic Proxy
0 likes · 8 min read
How to Dynamically Add and Remove Spring AOP Advisors Without Restarting
Top Architecture Tech Stack
Top Architecture Tech Stack
Nov 24, 2023 · Backend Development

Applying ASM Bytecode Manipulation in cglib and Fastjson

This article demonstrates how ASM is used to generate dynamic proxies with cglib and to create high‑performance JSON deserializers in Fastjson, providing code examples, explanation of the underlying bytecode generation, and practical tips for developers.

ASMCGLIBDynamic Proxy
0 likes · 8 min read
Applying ASM Bytecode Manipulation in cglib and Fastjson
Java Captain
Java Captain
Oct 7, 2023 · Backend Development

Understanding Java Dynamic Proxies: Principles, Implementation, and Use Cases

This article explains the principles behind Java dynamic proxies, demonstrates how to implement them using interfaces, InvocationHandler, and Proxy classes, and outlines common application scenarios such as logging, transaction management, and access control, helping developers extend object behavior at runtime.

Dynamic ProxyInvocationHandlerJava
0 likes · 5 min read
Understanding Java Dynamic Proxies: Principles, Implementation, and Use Cases
Sanyou's Java Diary
Sanyou's Java Diary
Aug 10, 2023 · Fundamentals

Why Does JDK Dynamic Proxy Require an Interface? A Deep Dive into Proxy Mechanics

This article explains the inner workings of JDK dynamic proxies, demonstrates a complete example with interface and handler implementations, dissects the Proxy class source code, clarifies why interfaces are mandatory, and shows alternative proxy creation techniques, providing a thorough understanding for Java developers.

Dynamic ProxyInvocationHandlerJDK
0 likes · 12 min read
Why Does JDK Dynamic Proxy Require an Interface? A Deep Dive into Proxy Mechanics
Code Ape Tech Column
Code Ape Tech Column
May 18, 2023 · Backend Development

Understanding the Dynamic Proxy Mechanism of Spring Cloud OpenFeign

This article explains the origins, usage, and internal dynamic‑proxy workflow of Spring Cloud OpenFeign, illustrating how FeignClient interfaces are scanned, annotated, and transformed into remote service calls through generated proxy classes, with code examples and diagrams.

Dynamic ProxyFeignClientJava
0 likes · 10 min read
Understanding the Dynamic Proxy Mechanism of Spring Cloud OpenFeign
JD Tech
JD Tech
Feb 14, 2023 · Backend Development

EasyMock Platform Overview and JSF Mock Implementation Guide

This article introduces the EasyMock platform, outlines its key capabilities for service mocking, explains the technical challenges it solves, and provides a detailed step‑by‑step walkthrough of the JSF Mock implementation—including jar acquisition, JVM class loading, dynamic proxy creation, interface registration, client invocation, and parameter matching/return logic—accompanied by code examples.

ClassLoaderDynamic ProxyJSF
0 likes · 12 min read
EasyMock Platform Overview and JSF Mock Implementation Guide
JD Retail Technology
JD Retail Technology
Jan 16, 2023 · Backend Development

EasyMock Platform Overview and JSF Mock Implementation Techniques

This article introduces the EasyMock platform, explains its role in providing JSF and HTTP mock services for development and testing, outlines its architecture and capabilities, and details the step‑by‑step technical implementation of JSF Mock including jar downloading, JVM class loading, dynamic proxy creation, registration, client invocation, parameter matching, and response deserialization.

ClassLoaderDynamic ProxyJSF
0 likes · 11 min read
EasyMock Platform Overview and JSF Mock Implementation Techniques
Top Architect
Top Architect
Jan 11, 2023 · Backend Development

Static vs Dynamic Proxy in Java: Implementation, Execution Results, and Comparison

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.

CGLIBDynamic ProxyJDK
0 likes · 10 min read
Static vs Dynamic Proxy in Java: Implementation, Execution Results, and Comparison
Top Architect
Top Architect
Dec 12, 2022 · Backend Development

MyBatis Introduction, Setup Steps, and Dynamic Proxy Implementation

This article provides a comprehensive guide to MyBatis, covering its basic concepts, Maven dependency configuration, XML setup, entity and mapper definitions, execution flow using dynamic proxies, and a custom lightweight framework implementation with full Java code examples.

Backend DevelopmentDynamic ProxyJava
0 likes · 12 min read
MyBatis Introduction, Setup Steps, and Dynamic Proxy Implementation
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 10, 2022 · Backend Development

Designing a Modular Backend Service with DDD, Caching, Dynamic Proxies and Extensible Configuration

This article explains how to build a modular backend service in Java using domain‑driven design, configurable modules, dynamic proxies, cache adapters, lambda‑based query conditions, and Spring‑based conditional bean loading to enable flexible extensions without altering existing code.

CachingDomain-Driven DesignDynamic Proxy
0 likes · 25 min read
Designing a Modular Backend Service with DDD, Caching, Dynamic Proxies and Extensible Configuration
Sanyou's Java Diary
Sanyou's Java Diary
Sep 29, 2022 · Backend Development

Java Dynamic Proxies Explained: From Static to ByteBuddy with Performance Tips

This article explores Java's proxy patterns, detailing static proxy implementation, various dynamic proxy techniques—including JDK, Cglib, Javassist, and ByteBuddy—providing code examples, performance comparisons, and practical guidance for integrating these proxies into backend development for cleaner, more flexible code.

ByteBuddyCGLIBDynamic Proxy
0 likes · 18 min read
Java Dynamic Proxies Explained: From Static to ByteBuddy with Performance Tips
Top Architect
Top Architect
Sep 24, 2022 · Backend Development

Understanding JDK and CGLIB Dynamic Proxies in Java

This article explains the principles, advantages, and implementation details of Java's JDK dynamic proxy and CGLIB proxy mechanisms, providing step‑by‑step code examples that demonstrate how to enhance method calls such as user registration with validation logic.

AOPBackend DevelopmentCGLIB
0 likes · 11 min read
Understanding JDK and CGLIB Dynamic Proxies in Java
Top Architect
Top Architect
Aug 25, 2022 · Backend Development

Building a Custom RPC Spring Starter: Architecture, Principles, and Code Walkthrough

This article explains the fundamentals of remote procedure call (RPC), presents a complete system architecture diagram, and provides a step‑by‑step implementation of a custom rpc‑spring‑starter using Java, Spring, Zookeeper for service registration, Netty for network communication, and dynamic proxy techniques for client‑side invocation.

Distributed SystemsDynamic ProxyJava
0 likes · 18 min read
Building a Custom RPC Spring Starter: Architecture, Principles, and Code Walkthrough
Sanyou's Java Diary
Sanyou's Java Diary
Jul 18, 2022 · Fundamentals

Master Java Proxy Pattern: Static, JDK Dynamic & CGLIB Implementations

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.

CGLIBDynamic ProxyJava
0 likes · 9 min read
Master Java Proxy Pattern: Static, JDK Dynamic & CGLIB Implementations
IT Architects Alliance
IT Architects Alliance
Jun 12, 2022 · Backend Development

Design and Implementation of the xxl-job Communication Layer Using Netty and Dynamic Proxy

This article explains how xxl-job implements its communication layer with Netty HTTP, outlines the overall workflow, and highlights key design choices such as dynamic proxy abstraction, full asynchronous processing, and request‑ID based thread synchronization, accompanied by detailed Java code examples.

Dynamic ProxyJavaNetty
0 likes · 8 min read
Design and Implementation of the xxl-job Communication Layer Using Netty and Dynamic Proxy
Selected Java Interview Questions
Selected Java Interview Questions
Jun 3, 2022 · Backend Development

Deep Dive into XXL‑Job Communication Architecture and Asynchronous Design

This article explains the communication architecture of the XXL‑Job scheduler, detailing its Netty‑based transport layer, the overall task dispatch flow, and the clever design choices such as dynamic proxies, full asynchronous processing, and response wrapping that improve throughput and simplify remote calls.

Dynamic ProxyJavaNetty
0 likes · 7 min read
Deep Dive into XXL‑Job Communication Architecture and Asynchronous Design
Cognitive Technology Team
Cognitive Technology Team
May 23, 2022 · Backend Development

Custom MyBatis Interceptor Mechanism – Java Dynamic Proxy

This article explains how to create a custom MyBatis Interceptor using Java dynamic proxies, detailing the Interceptor interface, the plugin generation process, the wrap and invoke methods, and common use‑cases such as pagination, SQL analysis, encryption, and performance monitoring.

Dynamic ProxyInterceptorJava
0 likes · 4 min read
Custom MyBatis Interceptor Mechanism – Java Dynamic Proxy
DaTaobao Tech
DaTaobao Tech
May 19, 2022 · Backend Development

Understanding Proxy Pattern and Spring Transaction Management

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.

AOPDynamic ProxyJava
0 likes · 21 min read
Understanding Proxy Pattern and Spring Transaction Management