Apache Commons Proxy
From Java Example Source Code
[edit] Overview Apache Commons Proxy
The Proxy design pattern allows you to provide "a surrogate or placeholder for another object to control access to it". Proxies can be used in many ways. Some of which are:
- Deferred Initialization - the proxy acts as a "stand-in" for the actual implementation allowing it to be instantiated only when absolutely necessary.
- Security - the proxy object can verify that the user actually has the permission to execute the method (a la EJB).
- Logging - the proxy can log evey method invocation, providing valuable debugging information.
- Performance Monitoring - the proxy can log each method invocation to a performance monitor allowing system administrators to see what parts of the system are potentially bogged down.
Commons Proxy supports dynamic proxy generation using proxy factories, object providers, invokers, and interceptors.
[edit] Apache Commons Proxy Resources
- Web site: http://commons.apache.org/proxy/
- Download: http://commons.apache.org/downloads/download_proxy.cgi
- Java API: Apache Commons Proxy API
- Examples: Apache Commons Proxy by exampes
- Tutorial:
- News or Forums:
