Tagged articles
108 articles
Page 1 of 2
Java Architect Essentials
Java Architect Essentials
Apr 11, 2026 · Backend Development

Why Java Reflection Slows You Down and How Dynamic Proxies Can Speed It Up 8×

This article analyzes why Java reflection incurs high latency due to repeated method lookups and security checks, presents benchmark data showing up to 500‑fold slowdown, and demonstrates how caching Method objects with JDK dynamic proxies can reduce overhead by up to eight times while offering practical code examples and usage tips.

BackendDynamic ProxyJDK
0 likes · 6 min read
Why Java Reflection Slows You Down and How Dynamic Proxies Can Speed It Up 8×
java1234
java1234
Apr 7, 2026 · Backend Development

What’s Under the Hood of Spring AOP? A Deep Dive into Its Core Mechanisms

Spring AOP enables cross‑cutting concerns like logging and transactions without altering business code by leveraging dynamic proxies and method interceptor chains, and this article explains its core concepts, proxy selection (JDK vs CGLIB), call‑chain flow, key source classes, and provides a complete Java example.

Dynamic ProxyJavaaspectj
0 likes · 8 min read
What’s Under the Hood of Spring AOP? A Deep Dive into Its Core Mechanisms
NiuNiu MaTe
NiuNiu MaTe
Jan 22, 2026 · Backend Development

Why RPC Still Matters in Microservices: From Service Discovery to Governance

This article explains why remote procedure call (RPC) remains essential for microservice communication, detailing its historical roots, the limitations of HTTP, the multi‑step RPC workflow—including service discovery, serialization, network transmission, dynamic proxies, and governance—and how RPC and HTTP complement each other in modern architectures.

Dynamic ProxyMicroservicesRPC
0 likes · 15 min read
Why RPC Still Matters in Microservices: From Service Discovery to Governance
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Jan 12, 2026 · Backend Development

How Nginx Static‑Dynamic Separation Boosts Web Performance

This article explains the principle of Nginx static‑dynamic separation, shows how to configure location blocks and caching for static assets, and demonstrates how proxying dynamic requests to backend servers can reduce response time from 200 ms to 50 ms, increasing QPS several‑fold.

Dynamic ProxyNGINXload balancing
0 likes · 3 min read
How Nginx Static‑Dynamic Separation Boosts Web Performance
JavaGuide
JavaGuide
Nov 27, 2025 · Backend Development

Xiaomi Java Interview Insights: Reflection, Dynamic Proxies, Redis & JWT

The article starts by highlighting Xiaomi's competitive software developer salaries, then provides a detailed Java interview guide covering reflection fundamentals, static vs dynamic proxies, SPI vs API, synchronization behavior, Redis caching strategies, and JWT authentication, complete with code examples and practical comparisons.

Dynamic ProxyJWTJava
0 likes · 25 min read
Xiaomi Java Interview Insights: Reflection, Dynamic Proxies, Redis & JWT
Java Companion
Java Companion
Nov 16, 2025 · Backend Development

Stunning Architecture Designs Inside XXL-JOB Explained

The article dissects XXL-JOB's communication layer, showcasing Netty HTTP usage, a full asynchronous processing pipeline, dynamic proxy abstraction, request‑ID based thread wake‑up, and detailed Java code examples that illustrate how the scheduler and executor achieve high‑throughput remote job execution.

BackendDynamic ProxyJava
0 likes · 7 min read
Stunning Architecture Designs Inside XXL-JOB Explained
Architect
Architect
Oct 8, 2025 · Backend Development

How xxl-job Leverages Netty and Dynamic Proxies for High‑Throughput Asynchronous RPC

This article explains how xxl-job employs Netty HTTP, dynamic proxy patterns, and fully asynchronous processing to achieve efficient remote procedure calls, detailing the communication layer, overall workflow, key design points, and the underlying Java code that synchronously retrieves results from asynchronous operations.

AsynchronousDynamic ProxyJava
0 likes · 7 min read
How xxl-job Leverages Netty and Dynamic Proxies for High‑Throughput Asynchronous RPC
Architect Chen
Architect Chen
Sep 15, 2025 · Operations

Boost Website Speed with Nginx Static‑Dynamic Separation

This guide explains how Nginx can separate static resources from dynamic content, outlines the underlying principle, and provides a complete configuration example that improves response time and concurrency by serving files directly and proxying application requests to backend servers.

ConfigurationDynamic ProxyNGINX
0 likes · 4 min read
Boost Website Speed with Nginx Static‑Dynamic Separation
Architect's Guide
Architect's Guide
Jul 13, 2025 · Backend Development

Static vs Dynamic Proxy in Java: When and How to Use Each

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.

Backend DevelopmentDynamic ProxyJDK
0 likes · 9 min read
Static vs Dynamic Proxy in Java: When and How to Use Each
Top Architect
Top Architect
Jul 5, 2025 · Backend Development

Master Distributed Task Scheduling with XXL‑Job: Step‑by‑Step Guide and Code Walkthrough

This article introduces the lightweight open‑source XXL‑Job framework, walks through server and executor setup, demonstrates three task creation methods, explains how to trigger and monitor jobs, and highlights the dynamic‑proxy and asynchronous design that enable high‑throughput distributed scheduling in Spring Boot applications.

Distributed SchedulingDynamic ProxySpring Boot
0 likes · 15 min read
Master Distributed Task Scheduling with XXL‑Job: Step‑by‑Step Guide and Code Walkthrough
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
Xuanwu Backend Tech Stack
Xuanwu Backend Tech Stack
Nov 5, 2024 · Backend Development

How CGLIB Powers Faster Java Dynamic Proxies – Inside FastClass and Bytecode Generation

This article explains CGLIB, a high‑performance bytecode library for creating Java dynamic proxies without interfaces, walks through implementation steps and core source‑code analysis, details the FastClass optimization that bypasses reflection, and compares CGLIB with JDK dynamic proxies.

Bytecode GenerationDynamic ProxyFastClass
0 likes · 22 min read
How CGLIB Powers Faster Java Dynamic Proxies – Inside FastClass and Bytecode Generation
Su San Talks Tech
Su San Talks Tech
Aug 6, 2024 · Cloud Native

OpenFeign Deep Dive: Architecture, Dynamic Proxy, and Spring Cloud Integration

This article thoroughly explains OpenFeign’s core architecture, detailing its original Feign foundation, seven essential components, dynamic proxy generation, HTTP call execution flow, and how Spring Cloud seamlessly integrates and configures OpenFeign through annotations, factories, and property-based settings.

Dynamic ProxyJavaMicroservices
0 likes · 20 min read
OpenFeign Deep Dive: Architecture, Dynamic Proxy, and Spring Cloud Integration
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.

Dynamic ProxyJava AgentMaven Plugin
0 likes · 7 min read
Mastering Spring AOP: Dynamic Proxy, Java Agent, and Maven Plugin Techniques
Su San Talks Tech
Su San Talks Tech
Feb 28, 2024 · Backend Development

OpenFeign Deep Dive: Core Architecture and Spring Cloud Integration

This article thoroughly explains OpenFeign’s core architecture, including its dynamic proxy mechanism, seven essential components, the process of building and executing HTTP calls, and how Spring Cloud integrates and configures OpenFeign through annotations, factories, and property settings.

Dynamic ProxyFeign ComponentsJava
0 likes · 22 min read
OpenFeign Deep Dive: Core Architecture and Spring Cloud Integration
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.

ASMDynamic ProxyJava
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.

Design PatternsDynamic ProxyInvocationHandler
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
phodal
phodal
Jun 18, 2023 · Artificial Intelligence

How to Build Language‑First APIs: 5 LLM‑Powered Architectural Patterns

The article outlines five practical patterns—natural‑language DSL, streaming DSL, DSL‑guided generation, explicit retry, and dynamic proxying—that enable developers to treat large‑language‑model interactions as first‑class APIs, improving efficiency, accuracy, and user experience across diverse scenarios.

DSLDynamic ProxyLLM
0 likes · 10 min read
How to Build Language‑First APIs: 5 LLM‑Powered Architectural Patterns
Programmer DD
Programmer DD
May 26, 2023 · Backend Development

How OpenFeign Uses Dynamic Proxies to Simplify Remote Calls

OpenFeign, originally Netflix Feign, provides a declarative way to perform remote service calls by generating dynamic proxy classes that translate interface methods into HTTP requests, and this article explains its origins, basic usage, annotation processing, and the detailed steps of its dynamic proxy creation.

Dynamic ProxyFeignClientJava
0 likes · 10 min read
How OpenFeign Uses Dynamic Proxies to Simplify Remote Calls
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.

BackendDynamic ProxyFeignClient
0 likes · 10 min read
Understanding the Dynamic Proxy Mechanism of Spring Cloud OpenFeign
JavaEdge
JavaEdge
Feb 27, 2023 · Backend Development

How Dynamic Proxies Power RPC Calls in Java

This article explains the core principle of RPC using dynamic proxies, showing how interfaces are proxied at runtime, the code generation process, and compares JDK, Javassist, and Byte Buddy proxy implementations with practical examples.

BackendByte BuddyDynamic Proxy
0 likes · 9 min read
How Dynamic Proxies Power RPC Calls in Java
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.

Dynamic ProxyJSFMocking
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.

BackendDynamic ProxyJSF
0 likes · 11 min read
EasyMock Platform Overview and JSF Mock Implementation Techniques
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.

BackendDomain-Driven DesignDynamic Proxy
0 likes · 25 min read
Designing a Modular Backend Service with DDD, Caching, Dynamic Proxies and Extensible Configuration
Programmer DD
Programmer DD
Oct 9, 2022 · Backend Development

Mastering Java Dynamic Proxies: JDK vs CGLIB Implementation and Pitfalls

This article explains the concepts, advantages, and limitations of Java's JDK dynamic proxy and CGLIB proxy, provides step‑by‑step code examples for user registration validation, compares their mechanisms, and summarizes when to choose each approach in real‑world applications.

Dynamic ProxyJDKJava
0 likes · 11 min read
Mastering Java Dynamic Proxies: JDK vs CGLIB Implementation and Pitfalls
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.

ByteBuddyDynamic ProxyJDK
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.

Backend DevelopmentDynamic ProxyJDK
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.

Dynamic ProxyJavaNetty
0 likes · 18 min read
Building a Custom RPC Spring Starter: Architecture, Principles, and Code Walkthrough
Su San Talks Tech
Su San Talks Tech
Jul 17, 2022 · Backend Development

How xxl-job Leverages Netty and Dynamic Proxies for High‑Performance RPC

This article explores xxl-job’s underlying communication architecture, detailing how it employs Netty HTTP, dynamic proxy patterns, full asynchronous processing, and thread‑blocking mechanisms to achieve efficient remote procedure calls, accompanied by code examples and a visual activity diagram.

Dynamic ProxyJavaNetty
0 likes · 8 min read
How xxl-job Leverages Netty and Dynamic Proxies for High‑Performance RPC
Java Backend Technology
Java Backend Technology
Jun 29, 2022 · Backend Development

How xxl-job Leverages Netty and Dynamic Proxies for High‑Performance RPC

xxl-job uses Netty HTTP for communication, employing dynamic proxy patterns, full asynchronous processing, and thread‑blocking mechanisms to efficiently dispatch tasks from the scheduler to executors, with detailed code examples illustrating request IDs, future responses, and synchronized result retrieval.

AsynchronousBackend DevelopmentDynamic Proxy
0 likes · 8 min read
How xxl-job Leverages Netty and Dynamic Proxies for High‑Performance RPC
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.

AsynchronousDistributed SchedulingDynamic Proxy
0 likes · 8 min read
Design and Implementation of the xxl-job Communication Layer Using Netty and Dynamic Proxy
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.

Dynamic ProxyJavaProxy Pattern
0 likes · 21 min read
Understanding Proxy Pattern and Spring Transaction Management
Sanyou's Java Diary
Sanyou's Java Diary
Apr 23, 2022 · Backend Development

How OpenFeign Builds Dynamic Proxies in Spring Cloud – A Deep Dive

This article dissects the inner workings of OpenFeign within Spring Cloud, explaining how @EnableFeignClients triggers bean registration, how FeignClientsRegistrar and related configuration classes create BeanDefinitions, and how the FeignBuilder ultimately generates dynamic proxy instances for Feign clients.

Backend DevelopmentDynamic ProxyFeignClient
0 likes · 21 min read
How OpenFeign Builds Dynamic Proxies in Spring Cloud – A Deep Dive
Zhuanzhuan Tech
Zhuanzhuan Tech
Apr 6, 2022 · Backend Development

Design and Implementation of an Annotation‑Based HTTP Client in Spring

This article presents a design pattern for a unified, annotation‑driven HTTP client in a Spring‑based payment system, detailing custom annotations, dynamic proxy enhancement, and bean registration via FactoryBean and ImportBeanDefinitionRegistrar, with complete code examples and a summary of key concepts.

Dynamic ProxyFactoryBeanHTTP client
0 likes · 16 min read
Design and Implementation of an Annotation‑Based HTTP Client in Spring
Code Ape Tech Column
Code Ape Tech Column
Mar 16, 2022 · Backend Development

Understanding OpenFeign’s Dynamic Proxy Mechanism in Spring Cloud

This article explains how Spring Cloud OpenFeign simplifies remote service calls by using Java dynamic proxies, walks through its initialization process, annotation parsing, and shows concrete code examples that illustrate the creation of proxy objects and method handlers.

Dynamic ProxyFeignClientJava
0 likes · 11 min read
Understanding OpenFeign’s Dynamic Proxy Mechanism in Spring Cloud
Top Architect
Top Architect
Feb 9, 2022 · Backend Development

Implementing RPC from Scratch: Service Interface, Registration, Netty Server, and Client Proxy

This article explains the fundamentals of Remote Procedure Call (RPC), detailing the definition, basic call flow, service interface design, server registration with Zookeeper, Netty-based network communication, dynamic proxy generation on the client side, and provides complete Java code examples for a working RPC framework.

Dynamic ProxyJavaNetty
0 likes · 17 min read
Implementing RPC from Scratch: Service Interface, Registration, Netty Server, and Client Proxy
Top Architect
Top Architect
Dec 11, 2021 · Backend Development

Proxy vs. Decorator Patterns and DIY Spring AOP Implementation in Java

This article explains the proxy and decorator design patterns using a coffee analogy, provides complete Java code examples for static and dynamic proxies, discusses their differences, and shows how to implement a Spring‑like AOP mechanism with JDK InvocationHandler and cglib, while also warning about their limitations.

DecoratorDynamic ProxyJava
0 likes · 11 min read
Proxy vs. Decorator Patterns and DIY Spring AOP Implementation in Java
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Nov 22, 2021 · Backend Development

How Spring Cloud Feign Works: Enabling, Bean Registration, and Proxy Injection

This article walks through the complete lifecycle of Spring Cloud Feign in a Spring Boot 2.2.13 application, covering how to enable Feign, scan and register @FeignClient beans, inject them into controllers, create dynamic proxy instances, and finally execute remote calls with load‑balancing and Hystrix support.

Backend DevelopmentDynamic ProxyJava
0 likes · 15 min read
How Spring Cloud Feign Works: Enabling, Bean Registration, and Proxy Injection
Selected Java Interview Questions
Selected Java Interview Questions
Nov 21, 2021 · Fundamentals

Understanding Static and Dynamic Proxy Patterns in Java

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.

Design PatternsDynamic ProxyJava
0 likes · 15 min read
Understanding Static and Dynamic Proxy Patterns in Java
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 9, 2021 · Backend Development

Uncovering How SpringBoot Injects HttpServletRequest via ThreadLocal and Dynamic Proxies

This article explains how SpringBoot injects HttpServletRequest into controllers using a JDK dynamic proxy and ThreadLocal storage, tracing the request object from the ObjectFactoryDelegatingInvocationHandler through RequestObjectFactory, RequestContextHolder, and the FrameworkServlet's processRequest lifecycle.

Backend DevelopmentDynamic ProxyHttpServletRequest
0 likes · 7 min read
Uncovering How SpringBoot Injects HttpServletRequest via ThreadLocal and Dynamic Proxies
JavaEdge
JavaEdge
Jun 10, 2021 · Backend Development

Understanding Java Dynamic Proxy: How JDK Generates and Executes Proxy Classes

This article explains the differences between static and dynamic proxies in Java, details the role of Proxy, InvocationHandler, and the invoke method, and walks through the JDK dynamic proxy creation process with code examples and step‑by‑step analysis.

Backend DevelopmentDynamic ProxyInvocationHandler
0 likes · 7 min read
Understanding Java Dynamic Proxy: How JDK Generates and Executes Proxy Classes
Java Tech Enthusiast
Java Tech Enthusiast
Jun 8, 2021 · Backend Development

Introduction to AOP (Aspect Oriented Programming) in Java

This article introduces Aspect‑Oriented Programming in Java, explaining how AOP separates cross‑cutting concerns like logging using join points, pointcuts, advice, and aspects, and demonstrates dynamic proxies, various advice types, XML configuration, and aspect ordering within Spring AOP.

AdviceAspect Oriented ProgrammingDynamic Proxy
0 likes · 20 min read
Introduction to AOP (Aspect Oriented Programming) in Java
Selected Java Interview Questions
Selected Java Interview Questions
May 31, 2021 · Backend Development

Understanding Spring's @Transactional Annotation: AOP‑Based Implementation and Transaction Management Flow

This article explains the purpose of Spring's @Transactional annotation, how it leverages AOP and dynamic proxies to manage transactions, and walks through the core source‑code components—including BeanPostProcessor, advisors, TransactionInterceptor, and the transaction lifecycle—illustrated with concrete code examples.

BackendDynamic ProxyJava
0 likes · 9 min read
Understanding Spring's @Transactional Annotation: AOP‑Based Implementation and Transaction Management Flow
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 11, 2021 · Backend Development

Understanding Java Dynamic Proxy: Static vs Dynamic Proxy and Implementations with JDK, CGLIB, Javassist, and ASM

This article explains Java's proxy pattern, compares static and dynamic proxies, and provides detailed examples of JDK dynamic proxy, CGLIB, Javassist, and ASM implementations, highlighting their mechanisms, code samples, and practical considerations for backend development.

ASMBackendDesign Patterns
0 likes · 21 min read
Understanding Java Dynamic Proxy: Static vs Dynamic Proxy and Implementations with JDK, CGLIB, Javassist, and ASM
FunTester
FunTester
Dec 29, 2020 · Fundamentals

Understanding Java Proxy Pattern: Static, JDK Dynamic, and CGLIB Proxies

This article explains the proxy design pattern in Java, demonstrates how to create static proxies, uses JDK dynamic proxies with InvocationHandler, and shows how CGLIB can generate class‑based proxies, highlighting their implementations, usage examples, and limitations.

Design PatternsDynamic ProxyJDK Proxy
0 likes · 8 min read
Understanding Java Proxy Pattern: Static, JDK Dynamic, and CGLIB Proxies
Open Source Linux
Open Source Linux
Nov 23, 2020 · Backend Development

Understanding RPC Frameworks: Concepts, Principles, and Code Walkthrough

This article introduces the concept of RPC (Remote Procedure Call), explains its underlying principles—including client workflow, dynamic proxies, serialization, network transmission, and server handling—provides Java code examples for both client and server sides, and summarizes key takeaways for building or understanding RPC frameworks.

Backend DevelopmentDynamic ProxyRPC
0 likes · 8 min read
Understanding RPC Frameworks: Concepts, Principles, and Code Walkthrough
Programmer DD
Programmer DD
Nov 21, 2020 · Backend Development

How MyBatis Handles Logging: From SLF4J Facade to Dynamic Proxies

This article explains MyBatis's logging architecture, covering the supported log implementations, the role of SLF4J, how MyBatis selects and configures a logger via LogFactory, and the use of JDK dynamic proxies to route JDBC logging through separate logger objects.

BackendDynamic ProxyJava
0 likes · 8 min read
How MyBatis Handles Logging: From SLF4J Facade to Dynamic Proxies
Architecture Digest
Architecture Digest
Nov 6, 2020 · Backend Development

Custom JDK Dynamic Proxy for MyBatis Automatic Mapper Implementation

This article explains how MyBatis can instantiate a mapper interface without an implementation class by using a custom JDK dynamic proxy (referred to as "投鞭断流") that intercepts method calls, creates result objects, and demonstrates the full source code and execution output.

Backend DevelopmentDynamic ProxyJava
0 likes · 7 min read
Custom JDK Dynamic Proxy for MyBatis Automatic Mapper Implementation
Java Backend Technology
Java Backend Technology
Oct 20, 2020 · Backend Development

Unlocking MyBatis Mapper Magic: Custom JDK Dynamic Proxy Explained

This article explains how a custom JDK dynamic proxy can automatically map interface methods to concrete objects, demonstrates the implementation with a User POJO and UserMapper, shows test output, analyzes MyBatis internal proxy classes, and clarifies why mapper methods cannot be overloaded.

Dynamic ProxyJavaMyBatis
0 likes · 7 min read
Unlocking MyBatis Mapper Magic: Custom JDK Dynamic Proxy Explained
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Oct 16, 2020 · Backend Development

Understanding Java Proxy Pattern: Static vs Dynamic Proxies, JDK Proxy and CGLIB

This article explains the Java proxy pattern using a real‑world analogy, compares static and dynamic proxies, details implementations with JDK Proxy and CGLIB (including code samples), and discusses how dynamic proxies support the Open‑Closed principle and are applied in Spring AOP for transaction management.

Dynamic ProxyJDK ProxyJava
0 likes · 22 min read
Understanding Java Proxy Pattern: Static vs Dynamic Proxies, JDK Proxy and CGLIB
Programmer DD
Programmer DD
Oct 16, 2020 · Backend Development

How Dynamic Proxies Power MyBatis Auto‑Mapper: A Deep Dive into “投鞭断流”

This article explains how Java’s dynamic proxy mechanism, dubbed “投鞭断流”, can be used to implement MyBatis’s automatic mapper functionality, providing step‑by‑step code examples for custom InvocationHandler, proxy creation, and discusses why method overloading is prohibited in mapper interfaces.

Backend DevelopmentDynamic ProxyJava
0 likes · 7 min read
How Dynamic Proxies Power MyBatis Auto‑Mapper: A Deep Dive into “投鞭断流”
Java Backend Technology
Java Backend Technology
Aug 20, 2020 · Backend Development

Unlock MyBatis Mapper Magic with a Custom JDK Dynamic Proxy

This article explains how to create a custom JDK dynamic proxy that automatically maps interface methods to objects, demonstrates the underlying MyBatis mapper implementation, and clarifies why method overloading is prohibited in mapper interfaces.

Dynamic ProxyJavaMyBatis
0 likes · 8 min read
Unlock MyBatis Mapper Magic with a Custom JDK Dynamic Proxy
vivo Internet Technology
vivo Internet Technology
Aug 5, 2020 · Mobile Development

An ORM Wrapper for Native SQLite in Android SDKs

The article presents Sponsor, a lightweight ORM‑style wrapper for Android’s native SQLite that uses runtime annotations and dynamic proxies to generate Retrofit‑like, type‑safe CRUD APIs, automatically handling table creation, upgrades, and threading while keeping performance overhead negligible for SDK developers.

AndroidDynamic ProxyGenerics
0 likes · 18 min read
An ORM Wrapper for Native SQLite in Android SDKs
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jul 13, 2020 · Fundamentals

Understanding the Proxy Design Pattern in Java: Static, Dynamic, and CGLIB Implementations

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.

Design PatternsDynamic ProxyJava
0 likes · 14 min read
Understanding the Proxy Design Pattern in Java: Static, Dynamic, and CGLIB Implementations
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 7, 2020 · Fundamentals

Introduction to Java Reflection

This article explains Java's reflection mechanism, covering how to obtain Class objects, the java.lang.reflect API, practical code examples, common use cases such as dynamic proxies, JDBC driver loading, Spring bean initialization, and discusses the advantages and performance drawbacks of using reflection.

BackendDynamic ProxyJDBC
0 likes · 13 min read
Introduction to Java Reflection
Sohu Tech Products
Sohu Tech Products
May 20, 2020 · Backend Development

Refactoring an IM System with Dynamic Proxy and RPC Architecture

This article explains how a Java‑based instant‑messaging system was restructured by replacing raw HTTP calls with API packages, introducing dynamic proxies for transparent RPC, and simplifying the code to resemble local method invocations while improving maintainability and scalability.

BackendDynamic ProxyIM System
0 likes · 5 min read
Refactoring an IM System with Dynamic Proxy and RPC Architecture
Senior Brother's Insights
Senior Brother's Insights
Apr 10, 2020 · Backend Development

Build a Mini RPC Framework from Scratch: A Step‑by‑Step Guide

This tutorial walks through creating a lightweight RPC system, illustrating how an order service can call a product service via dynamic proxies, socket communication, serialization, and service registration, while showing Maven module setup, API design, and concrete code examples for each component.

BackendDynamic ProxyJava
0 likes · 6 min read
Build a Mini RPC Framework from Scratch: A Step‑by‑Step Guide
Senior Brother's Insights
Senior Brother's Insights
Mar 21, 2020 · Backend Development

Master Java Proxy: From Static to JDK Dynamic Proxy with Real Code

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.

Design PatternsDynamic ProxyJDK
0 likes · 13 min read
Master Java Proxy: From Static to JDK Dynamic Proxy with Real Code
JavaEdge
JavaEdge
Nov 16, 2019 · Backend Development

Designing a Flexible Java RPC Framework: Client, Server, and Protocol Layers

This guide walks through designing a Java RPC framework from the user's viewpoint, covering interface definition, client stub generation with dynamic proxies, flexible protocol and service discovery layers, server request handling, and key implementation steps, illustrated with diagrams and code snippets.

Dynamic ProxyJavaRPC
0 likes · 6 min read
Designing a Flexible Java RPC Framework: Client, Server, and Protocol Layers
vivo Internet Technology
vivo Internet Technology
Jul 29, 2019 · Mobile Development

ARetrofit: Android Component Communication Routing Framework

ARetrofit is an Android routing framework that enables concise, component‑to‑component communication by generating compile‑time route metadata via annotation processing, injecting bytecode with the Transform API, creating service proxies through dynamic proxies, and applying an OkHttp‑style interceptor chain for flexible, cross‑module extensions.

AndroidAnnotation ProcessorDynamic Proxy
0 likes · 13 min read
ARetrofit: Android Component Communication Routing Framework
Java Captain
Java Captain
Dec 29, 2018 · Backend Development

Understanding Remote Procedure Call (RPC) and Its Implementation in Java

This article explains the concept of Remote Procedure Call (RPC), why distributed systems need remote invocation, the roles of provider, consumer and registry, essential technologies such as dynamic proxies, serialization and NIO, and introduces popular open‑source Java RPC frameworks.

Distributed SystemsDynamic ProxyJava
0 likes · 8 min read
Understanding Remote Procedure Call (RPC) and Its Implementation in Java
Java Captain
Java Captain
Nov 19, 2018 · Fundamentals

Understanding JDK Dynamic Proxy: Implementation Principles and Code Walkthrough

This article explains how JDK dynamic proxy generates proxy classes at runtime for interfaces using java.lang.reflect.Proxy and InvocationHandler, demonstrates usage with code examples, explores the underlying ProxyGenerator and class‑caching mechanisms, and clarifies why only interface‑based proxies are supported.

Dynamic ProxyInvocationHandlerJDK
0 likes · 11 min read
Understanding JDK Dynamic Proxy: Implementation Principles and Code Walkthrough
转转QA
转转QA
Sep 20, 2018 · Backend Development

Implementing Dynamic RPC Service Invocation in a Commercial Testing Platform

The article describes how a commercial testing platform faced three limitations with its RPC client, analyzes Java class‑loading, dynamic proxy, and ThreadLocal concepts, and presents two implementation approaches—one using dynamic proxies and another leveraging ThreadLocal—to enable dynamic loading of multiple rpc.config files without restarting the service.

Dynamic ProxyRPCThreadLocal
0 likes · 6 min read
Implementing Dynamic RPC Service Invocation in a Commercial Testing Platform
Java Backend Technology
Java Backend Technology
Sep 10, 2018 · Backend Development

JDK vs CGLib in Spring AOP: Which Proxy Is Faster?

This article explains the fundamentals of Spring AOP's JDK and CGLib dynamic proxies, compares their implementation details, presents performance test results across Java 1.6‑1.8, and offers practical guidance on choosing the appropriate proxy based on use‑case.

Dynamic ProxyJDK ProxyJava
0 likes · 7 min read
JDK vs CGLib in Spring AOP: Which Proxy Is Faster?
Java Backend Technology
Java Backend Technology
Sep 7, 2018 · Backend Development

How MyBatis Instantiates Mapper Interfaces with JDK Dynamic Proxies

This article explains how MyBatis uses JDK dynamic proxies—specifically a custom “投鞭断流” approach—to automatically create mapper interface implementations, walks through code examples, analyzes core source files, and clarifies why method overloading is prohibited in mapper interfaces.

Dynamic ProxyJavaMyBatis
0 likes · 5 min read
How MyBatis Instantiates Mapper Interfaces with JDK Dynamic Proxies
Java Captain
Java Captain
Jun 19, 2018 · Fundamentals

Understanding the Proxy Pattern: Static vs Dynamic Proxy and AOP in Java

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.

Design PatternsDynamic ProxyJava
0 likes · 12 min read
Understanding the Proxy Pattern: Static vs Dynamic Proxy and AOP in Java
Java Captain
Java Captain
Apr 11, 2018 · Backend Development

Step‑by‑Step Guide to Spring AOP: Proxy Patterns, Static and Dynamic Proxies, and Practical Implementation

This article explains the fundamentals of Spring AOP by introducing proxy patterns, demonstrating static and dynamic proxy implementations with full Java code examples, and showing how Spring integrates JDK and CGLIB proxies through XML configuration for real‑world cross‑cutting concerns such as transactions and logging.

BackendDynamic ProxyJava
0 likes · 12 min read
Step‑by‑Step Guide to Spring AOP: Proxy Patterns, Static and Dynamic Proxies, and Practical Implementation
Java Captain
Java Captain
Feb 26, 2018 · Fundamentals

Java Dynamic Proxy Mechanism and Design Pattern Overview

This article explains the Proxy design pattern, details Java's dynamic proxy classes and interfaces from JDK 1.6 source, walks through the step‑by‑step creation process, presents a complete demo implementation, and analyzes the underlying Proxy class generation and InvocationHandler mechanisms.

Dynamic ProxyJDKJava
0 likes · 13 min read
Java Dynamic Proxy Mechanism and Design Pattern Overview
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.

Design PatternsDynamic 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 DevelopmentCode ExampleDynamic Proxy
0 likes · 17 min read
Understanding Java Reflection Mechanism and Its Practical Applications
Java Captain
Java Captain
Nov 28, 2017 · Fundamentals

Proxy Pattern in Java: Static, Dynamic, and Cglib Implementations

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.

Design PatternsDynamic ProxyProxy Pattern
0 likes · 10 min read
Proxy Pattern in Java: Static, Dynamic, and Cglib Implementations