1 /*
2  * @(#) $Id: HelloHome.java,v 1.2 2003/07/08 08:13:52 pankaj Exp $
3  *
4  * Copyright (c) 2002-03 by Pankaj Kumar (http://www.pankaj-k.net). 
5  * All rights reserved.
6  *
7  * The license governing the use of this file can be found in the 
8  * root directory of the containing software.
9  */
10package rba;
11
12import java.rmi.RemoteException;
13import javax.ejb.CreateException;
14import javax.ejb.EJBHome;
15
16/**
17 * This interface is the home interface for the TraderBean.java,
18 * which in WebLogic is implemented by the code-generated container
19 * class TraderBeanC. A home interface may support one or more create
20 * methods, which must correspond to methods named "ejbCreate" in the EJBean.
21 *
22 * @author Copyright (c) 1998-2002 by BEA Systems, Inc. All Rights Reserved.
23 */
24public interface HelloHome extends EJBHome {
25
26  /**
27   * This method corresponds to the ejbCreate method in the bean
28   * "TraderBean.java".
29   * The parameter sets of the two methods are identical. When the client calls
30   * <code>TraderHome.create()</code>, the container
31   * allocates an instance of the EJBean and calls <code>ejbCreate()</code>.
32   *
33   * @return                  Trader
34   * @exception               RemoteException if there is
35   *                          a communications or systems failure
36   * @exception               CreateException
37   *                          if there is a problem creating the bean
38   * @see                     examples.ejb20.basic.statelessSession.TraderBean
39   */
40  Hello create() throws CreateException, RemoteException;
41}
42