Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Help with CalcHome.java interface

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
If a regular clown is funny, then a larger clown would be funnier. Math. Verified by this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
    Bookmark Topic Watch Topic
  • New Topic