Tag

DynamicProxy

1 views collected around this technical thread.

Architect
Architect
May 7, 2024 · Backend Development

MyBatis Source Code Execution Flow Explained

The article walks through MyBatis’s internal execution pipeline, from loading the configuration file and building a SqlSessionFactory, to creating a SqlSession, generating a MapperProxy for the mapper interface, and finally invoking the mapped method which triggers JDBC operations, while detailing caching and executor mechanisms.

DynamicProxyExecutorJava
0 likes · 31 min read
MyBatis Source Code Execution Flow Explained
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Jan 3, 2023 · Backend Development

Understanding Java Reflection: Principles, Usage, and Code Examples

This article explains Java's reflection mechanism, its underlying principles involving the Class object, how to obtain Class instances, provides code examples, outlines common use cases such as dynamic loading, frameworks, and middleware, and concludes with a promotional note for an architecture learning collection.

BackendClassLoaderDynamicProxy
0 likes · 6 min read
Understanding Java Reflection: Principles, Usage, and Code Examples
Wukong Talks Architecture
Wukong Talks Architecture
Jul 31, 2022 · Backend Development

Understanding Java Reflection, Class Loading, and Dynamic Proxy Mechanisms

This article provides a comprehensive guide to Java's reflection mechanism, class loading process, ClassLoader usage, and dynamic proxy techniques, illustrating how to inspect class structures, create objects, access fields and methods, retrieve generic type information, and implement both static and dynamic proxies with practical code examples.

ClassLoaderDynamicProxyGenerics
0 likes · 45 min read
Understanding Java Reflection, Class Loading, and Dynamic Proxy Mechanisms
Java Tech Enthusiast
Java Tech Enthusiast
Apr 23, 2022 · Backend Development

Spring AOP Tutorial with Code Examples

This Spring AOP tutorial explains how to modularize cross‑cutting concerns such as timing by defining an aspect with @Before, @After, @AfterReturning, @AfterThrowing and @Around advice, demonstrates refactoring a calculation service, and compares Spring’s proxy mechanisms to a custom JDK dynamic proxy implementation.

AspectJDynamicProxyJava
0 likes · 17 min read
Spring AOP Tutorial with Code Examples
Xianyu Technology
Xianyu Technology
Aug 5, 2021 · Backend Development

Applying SWAK Framework in Xianyu Search: Architecture and Implementation

The article explains how Xianyu’s search service refactors tightly‑coupled, if‑else‑heavy code by applying the lightweight SWAK framework—defining @SwakInterface and @SwakTag annotations, registering proxy beans, using AOP and CGLIB proxies to route business logic via request‑derived tag groups, achieving clean, modular routing.

BackendDynamicProxyJava
0 likes · 13 min read
Applying SWAK Framework in Xianyu Search: Architecture and Implementation
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Mar 7, 2021 · Backend Development

Understanding AOP, Proxies, and Dynamic vs. Static Proxy Mechanisms in Java Spring

This article explains how Aspect‑Oriented Programming (AOP) can replace repetitive try‑catch blocks in Dubbo services, introduces core AOP concepts such as JoinPoint, Pointcut, and Advice, and compares static, JDK dynamic, and CGLIB dynamic proxy implementations with practical Java code examples.

CGLIBDynamicProxyJava
0 likes · 20 min read
Understanding AOP, Proxies, and Dynamic vs. Static Proxy Mechanisms in Java Spring