Developing EJBs (continued)...Define the Remote Interface
import javax.ejb.*;
import java.rmi.*;
public interface Account extends EJBObject
{
void credit(double amount) throws
RemoteException;
void debit(double amount)throws
RemoteException;
double getBalance() throws RemoteException;
}
Previous slide
Next slide
Back to first slide
View graphic version