1 3 package org.objectweb.clusterDemo; 4 5 import java.rmi.RemoteException ; 6 import javax.ejb.EJBObject ; 7 8 import java.util.*; 9 10 13 public interface BankSession extends EJBObject { 14 17 public void credit(Integer accountId, String clientName, int value, String reason) throws RemoteException ; 18 19 22 public void debit(Integer accountId, String clientName, int value, String reason) throws RemoteException ; 23 24 27 public Integer createAccount(String clientName, int value) throws RemoteException ; 28 29 } 30 | Popular Tags |