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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic