Hi there ! Iam stack with this code: package Beans; import javax.ejb.EJBObject; import java.rmi.RemoteException; import javax.ejb.EJBHome; import javax.ejb.*; import java.rmi.*;
public interface CalcHome extends EJBHome { Calc create( ) throws CreateException, RemoteException ; } I can't use the method Calc create( ) throws CreateException, RemoteException ; because it gives me the following error:
cannot resolve symbol class Calc. here is the interface Calc: package Beans; import javax.ejb.EJBObject; import java.rmi.RemoteException;
public interface Calc extends EJBObject { public double calcBonus(int multiplier, double bonus) throws RemoteException; } can anybody help ??? Pleaseeeeeeeeee.. Jose
Jose, this is a duplicate post with one in the Servlets forum. Actually your question would be better answered in the EJB forum. Since I have the ability to move the one from ther Servlets forum, that is what I am going to do. I will have a bartender or sheriff close this thread. Thanks Mark