[jboss-user] [JBossCache] - Re: PojoCache 2.0 (replicate method execution)

ben.wang@jboss.com do-not-reply at jboss.com
Tue Oct 24 21:20:59 EDT 2006


What you need is a remote method call instead of simple replication. And this feature is not directly related to PojoCache if I am reading your post correctly. Instead, to do RPC, you can do like:


  | CacheSPI s = (CacheSPI)pojoCache.getCache();
  | RPCManager m = s.getRPCManager();
  | m.callRemoteMethods(...);
  | 

to see how exactly to invoke the callRemoteMethods, you can look into TreeCache implementation.



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

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



More information about the jboss-user mailing list