[jboss-user] [Clustering/JBoss] - Re: querying ejb proxy stub for available nodes

2008-01-11 Thread [EMAIL PROTECTED]
You can call org.jboss.ha.framework.interfaces.ClusteringTargetsRepositorygetFamilyClusterInfo(String) to get the org.jboss.ha.framework.interfaces.FamilyClusterInfo object for the bean. From there you can call FamilyClusterInfo.getTargets() to get back an array list of targets (i.e. objects

[jboss-user] [Clustering/JBoss] - Re: querying ejb proxy stub for available nodes

2008-01-01 Thread gogoasa
shoeb1981 wrote : Nodes come and go. Thanks for your answer. Of course I mean the nodes at lookup time, I realize that they may change. I should be possible, the load balancing and failover logic is in the smart stub, not on the server. View the original post :

[jboss-user] [Clustering/JBoss] - Re: querying ejb proxy stub for available nodes

2007-12-28 Thread shoeb1981
Nodes come and go. I don't if it is possible to come to know about number of nodes in the cluster from client application. However, if you have 10 nodes that are not active all the time, while some are active other might be sleeping, then you can put their names in the client url string