wood burning stoves 2.0*
The moose likes Java in General and the fly likes Help with  CalcHome.java  interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

Help with CalcHome.java interface

Jose Cardoso
Greenhorn

Joined: Aug 05, 2003
Posts: 2
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

Joined: Feb 05, 2001
Posts: 17249
    
    6

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
wood burning stoves
 
subject: Help with CalcHome.java interface
 
Similar Threads
Help with CalcHome.java interface
j2ee remote interface error
EJB deployment problem
EJB Home interface
class not found error!!