userinfobean.txt
来自「ejb的学习资料」· 文本 代码 · 共 19 行
TXT
19 行
import java.rmi.*;
import javax.ejb.*;
public abstract class UserinfoBean implements EntityBean {
EntityContext entityContext;
String customerName;
public Customer ejbCreate(String customerName, String customerPassword,
String customerGender,String customerDepartment,String customerInfo)
throws RemoteException,CreateException {
this.customerName = customerName;
}
public void ejbRemove() throws RemoveException {}
//其他回调方法。
public String getCustomerName(){
return customerName;
}
//其他商务方法。
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?