Understanding Proxy Patterns: Static and Dynamic Proxies in Java
Background
In object-oriented systems, certain objects may be expensive to create, or some operations require security checks. Directly accessing such objects can introduce complications. One solution is to introduce an intermediate layer—the proxy layer. This is the essence of the Proxy Pattern.
The Proxy Pattern, one of the 23 classic design ...
Posted on Sun, 14 Jun 2026 17:59:53 +0000 by atsphpflash
Understanding MyBatis's Core Execution Flow and Internal Architecture
Resource Loading via ClassLoader
The process begins with loading the configuration file, typically mybatis.xml, using Resources.getResourceAsStream(). This method leverages Java’s class loading mechanism to locate resources within the classpath. It does not resolve absolute file paths directly but instead relies on the ClassLoader hierarchy to ...
Posted on Sun, 17 May 2026 00:51:05 +0000 by XeroXer