成功部署了一个cmp,但访问拒绝? weblogic在\bea\wlserver6.1\config\mydomain\startWebLogic.cmd中 WLS_PW=password 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 客户测试程序中,我把 Context.SECURITY...删掉了,不出现访问拒绝的Exception了,但是有:java.lang.ArrayIndexOutOfBoundsException: 13"怎麽会呢?我的mysql数据库中有两条纪录,我的查寻方法也没错啊,Integer primary=new Integer(1);我的Home 接口是://///////////////////////////////////////////////////////////public interface CustomerHomeRemote extends EJBHome{ public CustomerRemote create(Integer id)throws CreateException,RemoteException; public CustomerRemote findByPrimaryKey(Integer id)throws FinderException,CreateException,RemoteException;//////////////////////////////////////////////////////////////Bean 类;///////////////////////////////////////////////public abstract class CustomerBean implements EntityBean{ public Integer ejbCreate(Integer id){ this.setId(id); return null; } public void ejbPostCreate(Integer id){} /* Lyo create ejb method*/ public abstract Integer getId(); public abstract void setId(Integer id); public abstract String getFirstName(); public abstract void setFirstName(String fname); public abstract String getLastName(); public abstract void setLastName(String lname); /* End Lyo create*/........................................................................................远程接口‘/////////////////////////////////////////////////public interface CustomerRemote extends EJBObject{ public void setFirstName(String fname)throws RemoteException; public String getFirstName()throws RemoteException; public void setLastName(String lname)throws RemoteException; public String getLastName()throws RemoteException;}没有错啊?请帮忙!多谢 struts2 + xloadtree 动态树显示如何做 java 取字段名 看看下面的问题你注意过没有(高手进来) axis下的webservice问题 请问连接数据库JAVA什么版本好用啊? socket与门禁通讯的问题 推荐一本学习java基础的书 简单问题!!!20分易得!!! Hibernate手册中 第一章 提到的那个quickstart应用是在哪个文件夹里面 ------向jtable中添加滚动条的问题------ jb8中类找不到了??? 有没有Struts学习的资料!
java.lang.ArrayIndexOutOfBoundsException: 13"
怎麽会呢?我的mysql数据库中有两条纪录,我的查寻方法也没错啊,Integer primary=new Integer(1);
我的Home 接口是:
/////////////////////////////////////////////////////////////
public interface CustomerHomeRemote extends EJBHome{
public CustomerRemote create(Integer id)throws CreateException,RemoteException;
public CustomerRemote findByPrimaryKey(Integer id)throws FinderException,CreateException,RemoteException;
//////////////////////////////////////////////////////////////
Bean 类;
///////////////////////////////////////////////
public abstract class CustomerBean implements EntityBean{
public Integer ejbCreate(Integer id){
this.setId(id);
return null;
}
public void ejbPostCreate(Integer id){}
/* Lyo create ejb method*/
public abstract Integer getId();
public abstract void setId(Integer id);
public abstract String getFirstName();
public abstract void setFirstName(String fname);
public abstract String getLastName();
public abstract void setLastName(String lname);
/* End Lyo create*/
...........................................
.............................................
远程接口‘
/////////////////////////////////////////////////
public interface CustomerRemote extends EJBObject{
public void setFirstName(String fname)throws RemoteException;
public String getFirstName()throws RemoteException;
public void setLastName(String lname)throws RemoteException;
public String getLastName()throws RemoteException;
}没有错啊?请帮忙!多谢