package examples.cluster.ejb.teller; import javax.ejb.*; import java.rmi.RemoteException; /** * This interface is the home interface for the TellerBean.java, * which in WebLogic is implemented by the code-generated container * class TellerBeanC. A home interface may support one or more create * methods, which must correspond to methods named "ejbCreate" in the EJBean. * * @author Copyright (c) 1999 by BEA WebXpress, Inc. All Rights Reserved. */ public interface TellerHome extends EJBHome { /** * This method corresponds to the ejbCreate method in the bean * "TellerBean.java". * The parameter sets of the two methods are identical. When the client calls * TellerHome.create(), the container * allocates an instance of the EJBean and calls ejbCreate(). * * @return Teller * @exception RemoteException if there is * a communications or systems failure * @exception CreateException if there is * problem creating the bean * @see examples.ejb.cluster.TellerBean */ Teller create() throws CreateException, RemoteException; }