package Bank;
import java.rmi.RemoteException;
import javax.ejb.EJBHome;
import javax.ejb.CreateException;
public interface BankHome extends EJBHome
{
Banking create()throws RemoteException,CreateException;
}
package Bank;
import java.rmi.RemoteException;
import javax.ejb.EJBObject;
public interface Banking extends EJBObject
{
public int withdraw(int a, int amt)throws RemoteException;
public int deposit(int b, int amt)throws RemoteException;
public int balance(int amt)throws RemoteException;
}
google Ads
Thursday, February 4, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment