hi
I'm using jsdk1.4. The code for my remote interface is giving me this error. the code is as follows:
import javax.ejb.EJBObject;
import javax.rmi.RemoteException;
public interface song extends EJBObject
{
// Defining the business method
public
String getsongID() throws RemoteException;
public String getcategory() throws RemoteException;
public String gettitle() throws RemoteException;
public String getartist() throws RemoteException;
}
The Error that it throws is:
song.java:3: package javax.ejb does not exist
import javax.ejb.EJBObject;
^
song.java:4: cannot resolve symbol
symbol : class RemoteException
location: package rmi
import javax.rmi.RemoteException;
^
song.java:6: cannot resolve symbol
symbol : class EJBObject
location: interface song
public interface song extends EJBObject
^
song.java:9: cannot resolve symbol
symbol : class RemoteException
location: interface song
public String getsongID() throws RemoteException;
^
song.java:10: cannot resolve symbol
symbol : class RemoteException
location: interface song
public String getcategory() throws RemoteException;
^
song.java:11: cannot resolve symbol
symbol : class RemoteException
location: interface song
public String gettitle() throws RemoteException;
^
song.java:12: cannot resolve symbol
symbol : class RemoteException
location: interface song
public String getartist() throws RemoteException;
^
7 errors