Example synchronous of RMI