simple code for Home Interface gives compilation error.code is as follows-
import java.io.Serializable;
import java.rmi.RemoteException;
import javax.ejb.CreateException;
import javax.ejb.EJBHome;
public interface DemoHome extends EJBHome
{
public Demo create() throws CreateException, RemoteException;
}
this code when compiled gives following Error:-
DemoHome.java:7: cannot resolve symbol
symbol : class Demo
location : interface Demohome
public Demo create() throws CreateException,
/\
RemoteException;
any solution pls.thanX in adv.
import java.io.Serializable;
import java.rmi.RemoteException;
import javax.ejb.CreateException;
import javax.ejb.EJBHome;
public interface DemoHome extends EJBHome
{
public Demo create() throws CreateException, RemoteException;
}
this code when compiled gives following Error:-
DemoHome.java:7: cannot resolve symbol
symbol : class Demo
location : interface Demohome
public Demo create() throws CreateException,
/\
RemoteException;
any solution pls.thanX in adv.