generating java rmi code for the distributed aspects of