carthome.java

来自「java编程最好的书籍,感觉对初学者或者中级java人员帮助很大」· Java 代码 · 共 22 行

JAVA
22
字号
package examples;

import javax.ejb.*;
import java.rmi.RemoteException;
/**
 * This is the home interface for CartBean.  This interface
 * is implemented by the EJB Server's glue-code tools - the
 * implemented object is called the Home Object, and serves
 * as a factory for EJB Objects.
 *
 * One create() method is in this Home Interface, which
 * corresponds to the ejbCreate() method in CartBean.
 */

public interface CartHome extends javax.ejb.EJBHome {
    /*
     * Creates a shopping cart with a named string owner
     */
    Cart create(String owner) throws java.rmi.RemoteException,
        javax.ejb.CreateException;
}

⌨️ 快捷键说明

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