[jboss-user] [Clustering/JBoss] - Shared objects in cluster

bentins do-not-reply at jboss.com
Mon Apr 27 10:56:03 EDT 2009


I have a running JBoss 4.2.3.GA cluster running. My application, not originally designed for a cluster, has some Singleton objects that hold in memory code tables. This tables rarely change, but when they do, I need to update the whole cluster. Since moving to the cluster I face the problem that when such a change occurs it only occurs on the node which it was done on and the other nodes are not aware.

I need to redesign these objects. It seems the best solution is to keep these code tables in a shared cache, i.e. the treecahce used by the cluster.

1. Can some one direct me to a code example on how this is done in a cluster.
2. Does anyone think I should use a different solution for this problem?

Thnx

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

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



More information about the jboss-user mailing list