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: 17234
posted Dec 01, 2003 14:04:00
0
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
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