spring orm and rmi