dcsimg

RMI Server and static variable

srinath mandalapu

Just declare this method (changes the static variable of RMI server) like any other remote method in the remote interface supported by RMI server and implement this method in RMI Server implementation (Remote object implementation). This method must be synchronized. (RMI runtime may service remote client requests on a remote object concurrently in multiple threads)