CustomerEntity内容如下:
package vce.ejb3_0.interfaces;import java.rmi.RemoteException;import javax.ejb.EJBObject;public interface CustomerEntity extends EJBObject {

public int getUid() throws RemoteException;

public String getrealName() throws RemoteException;

public void setrealName(String realname) throws RemoteException;

public String getquestion() throws RemoteException;

public void setquestion(String question) throws RemoteException;

public String getanswer() throws RemoteException;

public void setanswer(String answer) throws RemoteException;

public Integer getsex() throws RemoteException;

public void setsex(Integer sex) throws RemoteException;

}