fail to import javax.ejb.* ???
843829May 13 2003 — edited May 14 2003Hello All,
I am trying to do my very first HelloWorld in EJB. In my Hello.java (the remote interface), I have an import statement for the javax.ejb.EJBObject. When I compile the whole thing using ant, I got error message that it cannot resolve symbol at the aforementioned import statement. Am I missing a library or something?
By the way, I have installed the followings:
JDK 1.3.1
J2EE 1.3.1
JBoss-3.2.1_tomcat-4.1.24 bundle
I didn't have any problem with JSP using the same setup. The following is the code of Hello.java:
//code begin-----------------------------------------------------------
package com.mypackage.HelloEJBClasses;
import javax.ejb.EJBObject;
import java.rmi.RemoteException;
public interface Hello extends EJBObject{
public String sayHello(String greeting) throws RemoteException;
}
//code end-------------------------------------------------------------
Any help will be very much appreciated.