The Observer Design Pattern in Java
The Observer design pattern establishes a one-to-many dependency between objects, ensuring that when a subject changes state, all its registered dependents are automatically notified and updated. This behavioral pattern decouples the publisher from its subscribers, enabling flexible system architectures where components can react to external ev ...
Posted on Tue, 04 Aug 2026 16:24:25 +0000 by GreenCore
Understanding Proxy Pattern in Java: Static, JDK Dynamic, and CGLIB Proxies
The proxy pattern provides a surrogate or placeholder for another object to control access to it. It is useful when a client object cannot or should not directly reference the target object, and the proxy acts as an intermediary. The core idea is to add additional behavior around the target's logic without modifying the target class itself. For ...
Posted on Mon, 11 May 2026 06:42:35 +0000 by mikeym