3.5.1.1. Session Bean Home Interface Example (EJB 2)

public interface ASessionBeanHome extends javax.ejb.EJBHome
{
  public ASessionBean createOneWay (int iArgument)
    throws RemoteException, CreateException;
  public ASessionBean createAnotherWay (int iArgument, String sArgument)
    throws RemoteException, CreateException;
}

public interface EJBHome extends Remote
{
  public void remove (Handle handle) throws RemoteException, RemoveException;
  ...
}