carthome.java
来自「一个java写的加密算法」· Java 代码 · 共 40 行
JAVA
40 行
/* * Copyright 2004-2005 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */package samples.ejb.stateful.simple.ejb;import java.io.Serializable;import java.rmi.RemoteException;import javax.ejb.CreateException;import javax.ejb.EJBHome;/** * Home interface for the <code>CartBean</code>. Clients generally use home interface * to obtain references to the bean's remote interface, <code>Cart</code>. * * @see Cart * @see CartBean */public interface CartHome extends EJBHome { /** * Gets a reference to the remote interface of the <code>CartBean</code>. * @param person name of the person. * @exception throws CreateException and RemoteException. * */ Cart create(String person) throws RemoteException, CreateException; /** * Gets a reference to the remote interface of the <code>CartBean</code>. * @param person name of the person. * @param id id of the person. * @exception throws CreateException and RemoteException. * */ Cart create(String person, String id) throws RemoteException, CreateException; }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?