⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 memberorderprocremoteint.java

📁 使用EJB + JSP + JavaBean + Servlet开发的一个远程销售通用平台
💻 JAVA
字号:
package flowershoporder.ejb;import java.util.*;import javax.ejb.*;import java.rmi.RemoteException;//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -//这是EntityBean(MemberOrderProcEJB)的一个Remote接口//这个EntityBean(MemberOrderProcEJB)用来处理定单的事项//它是一个Bean managed persistence EntityBean//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -public interface MemberOrderProcRemoteint extends EJBObject  {   //- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   //建立二个business方法:setTotalprice(),setCommodityporder()   //这二个business方法必须与Bean Class中的business方法相对应   //- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   public void setTotalprice(int totalprice) throws RemoteException;   public void setCommodityOrder(ArrayList commodityorder) throws RemoteException;   //- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   //建立四个business方法,这四个business方法必须与Bean Class中的business方法相对应   //- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   public ArrayList getCommodityOrder() throws RemoteException;   public String getOrderid() throws RemoteException;   public String getMemberid() throws RemoteException;   public int getTotalprice() throws RemoteException;  }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -