How would you implement the Command Pattern with JBossCache/JGroups? I want to be able to issue commands from one server (through some administration API) and have it issue commands to the other servers, who will acknowledge the command when finished.
You are asking for a distributed RPC. Bela and I have discussed about this before. The thing is it really does not belong to JBossCache. Rather, it deserves to be a standalone.
The only requirement is it will need to share channel with JBossCache, e.g. This can be done in JGroups2.3 though.