I follow <master
ejb> chapter 4
first: I complie the Remote interface(Count.java) and complie successfully
code is follow::
package examples;
import javax.ejb.*;
import java.rmi.RemoteException;
public interface Count extends EJBObject {
public int count() throws RemoteException;
}
scoend ::
when I use javac.exe to compile Home interface(CountHome.java)
package examples;
import javax.ejb.*;
import java.rmi.RemoteException;
public interface CountHome extends EJBHome{
Count create(int val)throws RemoteException,CreateException;
}
third::
it cannot compile sucessfully and give me the follow error message:
CountHome.java:5: cannot resolve symbol
symbol : class Count
location: interface examples.CountHome
Count create(int val)throws RemoteException,CreateException
How can I do to resove the problem??? thanks alll