How to define Remote Interface in EJB?
package Bank; import javax.ejb.*; import java.rmi.*; public interface Checking extends EJBObject { void credit (double amount) throws RemoteException; void debit (double amount) throws RemoteException; double getBalance () throws RemoteException; public String getCustomerName () throws RemoteException; }
Re: How to define Remote Interface in EJB?
package Bank;
import javax.ejb.*;
import java.rmi.*;
public interface Checking extends EJBObject {
void credit (double amount) throws RemoteException;
void debit (double amount) throws RemoteException;
double getBalance () throws RemoteException;
public String getCustomerName () throws RemoteException;
}