Great idea! Sounds a bit like CORBA Smart Proxies to me. Never knew why the OMG didn't include this as a proper spec...
IMHO a framework for writing such client-side interceptors would be greatly appreciated as well. Possible applications include round trip timing for performance and debugging purposes, result caching and many more...
This is done
Can I use Interceptor to provide an access for EJB clients to HA-JNDI from different networks? (JBoss is running on a multihomed host)
Any hint is appriciated.