tried to implement RMI server,like works