Bookmark Topic Watch Topic
  • New Topic

Help with CalcHome.java interface

 
Jose Cardoso
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
 
Mark Spritzler
ranger
Sheriff
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
 
I agree. Here's the link: http://aspose.com/file-tools
    Bookmark Topic Watch Topic
  • New Topic