[jboss-dev-forums] [Design of JBossCache] - Binding proxy to Cache in AS JNDI

bstansberry@jboss.com do-not-reply at jboss.com
Tue May 29 22:49:40 EDT 2007


Just realized that the standard way of providing remote access to the cache by binding a proxy in JMX will no longer work with 2.0.

The usual JRMPProxyFactory approach works with MBeans, which in 2.0 means the CacheJmxWrapper. So, we can bind a proxy to the CacheJmxWrapper, but people likely want the Cache, not the wrapper.

Client calling getCache() on the wrapper proxy doesn't work, as it's a remote call that will try to return the server side Cache to the remote client.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049568#4049568

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049568



More information about the jboss-dev-forums mailing list