Dynamic Aspect-Oriented Load Balancing in Java RMI
Source: University of Waterloo
Load balancing is the process of distributing client requests over a set of servers, and is a key element of obtaining good performance in a distributed application. Java RMI extends Java with distributed objects whose methods can be called from remote clients. In some Java RMI programs, there may be multiple replicas of a given object that can be the receiver of a remote method invocation. Effectively distributing these requests across these replicas requires either an extra balancer process or additional code on the client for this distribution. This paper demonstrates the use of dynamic aspects in JAC to solve this problem.