求救:J2EE环境已配置好(J2sdkee1.3),但当程序用到ejb时老报错找不到ejb的包
我的java_home,j2ee_home,path都设置好了,运行j2ee时也提示服务已启动。但用javac编译带有以下包的java程序时老提示找不到ejb的包,请问这是为什么?
import java.rmi.RemoteException;
import javax.ejb.SessionBean;
import javax.ejb.SessionContext;
public class ConverterEJB implements SessionBean {
public double dollarToYen(double dollars) {
return dollars * 121.6000;
}