RMI Server and database