Now, we will now get to know the Proxy Design Pattern.
The Proxy Pattern provides a surrogate or placeholder for another object to control access to it. It comes up with many different variations. Some of the important variations are, Remote Proxy, Virtual Proxy, and Protection Proxy. In this lesson, we will know more about these variations and we will implement each of them in Java. But before we do that, let’s get to know more about the Proxy Pattern in general.
Via a real life example, you will learn how and when the Proxy design pattern should be used and how to structure your code in order to implement it. You will see how it can lead to elegant solutions to code problems.