chat with java and RMI