Tag: Design Patterns
3 articles
MyBatis Design Patterns - Proxy Pattern and Source Code Analysis
Proxy Pattern: Provides a proxy for an object and controls access to the original object through the proxy. The English name of proxy pattern is Proxy.
MyBatis Design Patterns - Builder Pattern, Factory Pattern and Source Code Analysis
Detailed introduction to design patterns used in MyBatis source code including builder pattern, factory method pattern, singleton pattern, proxy pattern...
MyBatis Deep Dive - SqlSessionFactory, SqlSession, DAO and Mapper
In-depth explanation of MyBatis core components: SqlSessionFactory and SqlSession working principles, traditional DAO layer implementation, and MyBatis proxy development...