Distributed ATM system using RMI