}
public static void main(String[] args)
{
try {
IBalie nb = new Balie(PersistentBank.getSingleton());
java.rmi.registry.LocateRegistry.createRegistry(2005);
java.rmi.Naming.rebind("rmi://localhost:2005/balie", nb);
} catch (Exception ex) {
Logger.getLogger(Balie.class.getName()).log(Level.SEVERE, null, ex);
}