This content has been marked as final.
Show 5 replies
-
1. Re: what happens with static classes in a clustered JBoss?
darranl Aug 26, 2003 9:43 AM (in response to kaobe)There will be a different instance of the static class on each node in the cluster.
-
2. Re: what happens with static classes in a clustered JBoss?
slaboure Aug 31, 2003 1:04 AM (in response to kaobe)Furthermore, in an environnement such as an application server (where you don't control what happens at the classloader level), you may end up with several "domains" where you have several different static values for the exact same class name in the SAME virtual machine.
One solution is to define a service (MBean) to store these data in a unique fashion.
sacha -
3. Re: what happens with static classes in a clustered JBoss?
kaobe Sep 4, 2003 6:13 AM (in response to kaobe)Thanks for your hints.
Then we will try to solve it with an MBean.
Peter -
4. Re: what happens with static classes in a clustered JBoss?
slaboure Sep 9, 2003 4:07 AM (in response to kaobe)Or, if you want the information to be available globally on the cluster, you can also use the DistributedState service from the clustering, see doco for more info.
cheers,
sacha -
5. Re: what happens with static classes in a clustered JBoss?
rafcio Sep 11, 2003 7:11 AM (in response to kaobe)Which documentation you mean? Clustering?
Rafal