Calculator based on Java RMI