What do you want to do ?
The underlying disovery uses JavaGroups.
But if you want to, you can use the state service (checkout the cluster documentation) and attach some serializable info to each server. This could be done in an MBean that you start with your app.
When you want to retrieve the info you just access the local state service, because all information is replicated.
Either use the HAPartition MBean directly or use the DistributedReplicantManager if you want to reference your own services and know on which subset of a cluster they live (aka heterogeneous deployments)
Please let me to reformat my question. Actually I want to cluster 5-6 JBoss servers. Currently i am using only 2 instances of JBoss which are running on seperate systems.
My problem is that I want to create an adminstration page (JSP page) from where I can view the list of avialable servers. Please tell me How I can do this.
Is thers any API for that. Please help me
Thanks for your reply
yes, see my previous answer, that was it.