posted 23 years ago
Hello, guys. I have a problem compiling a simple interface:
import java.rmi.*;
import javax.ejb.*;
public interface Balance extends EJBObject
{
/* All methods here must have matching methods in BalanceBean.java */
void save(int value) throws RemoteException;
void spend(int value) throws RemoteException;
}
The following error is being shown:
Package javax.ejb.* cannot be found.
Class EJBObject cannot be found.
But JRun should have it, shouldn't it? In fact, I copied this code from JRun's documentation. Thanks for your help.