See examples/async/Client6.java and examples/async/README.txt for dynamic load balancing as an example.