concept proxy in category java

appears as: proxies, proxy
The Well-Grounded Java Developer

This is an excerpt from Manning's book The Well-Grounded Java Developer.

In the last subsection, we looked at an example of how to use method handles in situations that could have used reflection or proxies in Java 6. This leaves the question—why should we use method handles instead of the older approaches?

In table 5.1 you can see that the main advantage of reflection is familiarity. Proxies may be easier to understand for simple use cases, but we believe method handles represent the best of both worlds. We strongly recommend their use in all new applications.