Design Pattern: Proxy Pattern in Java
Proxy pattern is used where we can not use the actual class object, and we want to represent the actual object with some proxy object. This article demonstrates Proxy pattern implementations in Java.
Proxy pattern is used where we can not use the actual class object, and we want to represent the actual object with some proxy object. This article demonstrates Proxy pattern implementations in Java.
In Proxy design pattern, an object represents another object. So one object works as a proxy of another object. A proxy object represents an interface to the client. The client will not access the actual object directly, it will always use the project object in all cases.