Example from http://www.ccs.neu.edu/home/kenb/com3337/rmi_tut.html#client