用jb9编绎这小小的ejb也出错,郁闷!!!!!!!!!!!!
出错如下
"qq.jar": <2003-12-7 下午23时40分49秒 CST> <Warning> <EJB> <BEA-010054> <EJB Deployment: be has a class qq.beBean that is in the classpath. This class should only be located in the ejb-jar file.> "qq.jar": <2003-12-7 下午23时40分50秒 CST> <Warning> <EJB> <BEA-010202> <Call-by-reference is not enabled for the EJB 'be'. The server will have better performance if it is enabled. To enable call-by-reference, set the enable-call-by-reference element to True in the weblogic-ejb-jar.xml deployment descriptor for this EJB.>
"qq.jar": [J2EE:160121]Errors encountered while compiling module 'H:\qq\qq.jar.jar':
EJB的实现如下:package qq;
import javax.ejb.*;
public class beBean implements SessionBean {
SessionContext sessionContext;
public bbb s;
public void ejbCreate() throws CreateException {
/**@todo Complete this method*/
}
public void ejbRemove() {
/**@todo Complete this method*/
}
public void ejbActivate() {
/**@todo Complete this method*/
}
public void ejbPassivate() {
/**@todo Complete this method*/
}
public void setSessionContext(SessionContext sessionContext) {
this.sessionContext = sessionContext;
}
public void set(bbb s) {
this.s=s;
}
public bbb get() {
/**@todo Complete this method*/
return s;
}
public class bbb implements java.io.Serializable{
public int []s;
}
}