catalog.java

来自「一本关于EJB的书」· Java 代码 · 共 30 行

JAVA
30
字号
package examples;import javax.ejb.*;import java.rmi.RemoteException;import java.rmi.Remote;import java.util.*;/** * This is the Catalog remote interface. * * This interface is what clients operate on when * they interact with EJB objects.  The container * vendor will implement this interface; the * implemented object is the EJB object, which * delegates invocations to the actual bean. */public interface Catalog extends EJBObject {	/**     * Returns a list of productitems     */    public Vector getProductItemList()throws RemoteException;    /**     * Returns a productitem for the given product id.     */    public ProductItem getProductItem(String productId) throws RemoteException;        }

⌨️ 快捷键说明

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