Sacha Labourey
Mon, 16 Apr 2001 10:02:21 -0700
Hello, Here is the first release of HA for SLSB. Before commiting anything, I would prefer some of you test it so we can correct/modify/improve/... it first. Instructions, download, ... are located here : http://194.38.95.241/jboss/ (or here for direct download : http://194.38.95.241/jboss/JBossHA.zip) I will take time to write more detailed documentation (about the implementation itself for example) when this code is accepted in the JBoss core (do not want to write dead doco! ;) ) In short, this "patch" provide HA and load balancing features for SLSB (remote and home proxies) thanks to dynamic proxies and the JavaGroups framework. HA Proxies load-balance calls sequentially to any known target and when a target fails, silentely attempt to bind another target. Furthermore, proxies will attempt to asynchronously refresh their knowledge of available targets from a JBoss server (to take in account newly started nodes for example). A test bean and GUI is provided (GUI must be started from a computer running a node). The output may be too verbose as the code may have some System.out.println remaining ;) Feedback welcome. Cheers, Sacha P.S.: "easy" improvments include: - nodes settings replicated (instead of manually setting them on each node) - more independant from the JNDI location/properties Other improvment could be: - HA descriptors in the beans read at runtime - dynamically created sub-MBEAN for each HA-Bean (so we can modify it personnaly through JMX) - ... - - - - - - - - - - - - - - - - - - - - - - Sacha Labourey Cogito Informatique Ing. Inf. Dipl. EPF 4, Verger l'Ecuyer Tél +41 32 754 36 41 CH - 2068 Hauterive http://cogito-info.ch/ Fax +41 32 754 36 42 _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development