Re: load balancing and fail over services using jboss4.0.2
Posted By:
Christopher_Koenigsberg
Posted On:
Monday, October 9, 2006 03:29 PM
I think (?) the load balancing and failover services are handled "under the covers" by the application server cluster, perhaps affected by some configuration file settings.
I don't think you will find an API to explicitly address these things at runtime in your client code though? (the load balancer will just choose a server itself, based on the algorithm specified e.g. least loaded or least recently used, session affinity etc., and the failover will either automatically happen or not, depending on the config, etc.)
Maybe they're exposed as MBeans, so you could write some sort of management console with the MBeans available for tweaking at runtime, in case it makes a difference?