public int mkAccount(String account, double initialBalance) public void transfer(int from, int to, double amt) public String getBalances()
mkAccount()
transfer()
getBalances()
import javax.ejb.EJBObject; import java.rmi.RemoteException; public interface BankAccount extends EJBObject { public double getBalance() throws RemoteException; public void credit(double amount) throws RemoteException; public void debit(double amount) throws RemoteException, NSFException; public String getInfo() throws RemoteException; }
EJB-part2/skeletons/project-1
BankAccount.java NSFException.java compileClient.bat BankAccountBean.java Teller.java compileEJB.bat BankAccountHome.java TellerBean.java runClient.bat BankCustomer.java TellerHome.java
String
BankTellerApp
deploytool
Teller
BankAccount
NSFException.class
runClient
TellerBean.java