aspose file tools*
The moose likes EJB and other Java EE Technologies 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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Help with CalcHome.java interface" Watch "Help with CalcHome.java interface" 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

Since this is an EJB question. I am going to move this thread to the EJB forum.
Thanks and good luck
Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
This probably has nothing to do with your problem, but I'd suggest using lowercase characters in package names as everyone else does. Some J2EE servers have been reported to have problems dealing with CapiTal.paCkage.names...


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3879
Can you please post the code that the exception occurs in and post part of the stack trace too?
Kyle


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
 
 
subject: Help with CalcHome.java interface
 
Similar Threads
j2ee remote interface error
Help with CalcHome.java interface
EJB deployment problem
EJB Home interface
class not found error!!