📄 carthome.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -