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

📄 shopcommodityprocremoteint.java

📁 java EJB 编程源代码。
💻 JAVA
字号:
package NetCommodityOrder.scejb;

import java.util.*;
import javax.ejb.*;
import java.rmi.RemoteException;
import NetCommodityOrder.ejbtools.*;

//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
//这是EntityBean(ShopCommodityProcEJB)的一个Remote接口
//这个EntityBean(ShopCommodityProcEJB)用来处理定单的事项
//它是一个Container managed persistence EntityBean
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

public interface ShopCommodityProcRemoteint extends EJBObject
  {
   //- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
   //建立三个business方法,这三个business方法
   //必须与Bean Class中的business方法相对应
   //- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

   public void setCommodityInfomation(String commodityname,int unitprice) throws RemoteException;
   public void setUnitprice(int unitprice) throws RemoteException; 
   public void setCommodityname(String commodityname) throws RemoteException; 

   //- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
   //建立三个business方法,这四个business方法必须与Bean Class中的business方法相对应
   //- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

   public ShopCommodity getCommodityInfomation() throws RemoteException; 
   public int getUnitprice() throws RemoteException; 
   public String getCommodityname() throws RemoteException; 
  }

⌨️ 快捷键说明

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