1 22 package org.jboss.test.bank.interfaces; 23 24 import java.rmi.*; 25 import javax.ejb.*; 26 27 33 public interface Teller 34 extends EJBObject 35 { 36 38 40 42 44 public void transfer(Account from, Account to, float amount) 46 throws RemoteException, BankException; 47 48 public Account createAccount(Customer customer, float balance) 49 throws RemoteException, BankException; 50 51 public Account getAccount(Customer customer, float balance) 52 throws RemoteException, BankException; 53 54 public Customer getCustomer(String name) 55 throws RemoteException, BankException; 56 57 public void transferTest(Account from, Account to, float amount, int iter) 58 throws java.rmi.RemoteException , BankException; 59 } 60 61 81 | Popular Tags |