package examples.ejb.sequence.jdbc; import java.rmi.RemoteException; import javax.ejb.*; /** * The methods in this interface are the public face of AccountBean. * The signatures of the methods are identical to those of the bean, * except that these methods throw a java.rmi.RemoteException. * Note that the EJBean does not implement this interface. * The corresponding code-generated EJBObject implements this interface * and delegates to the EJBean. * * @author Copyright (c) 1998 by WebLogic, Inc. All Rights Reserved. * @author Copyright (c) 1998-1999 by BEA WebXpress. All Rights Reserved. */ public interface AutoAccount extends EJBObject { /** * Returns the account ID. * * @return String Account ID * @exception java.rmi.RemoteException if there is * a communications or systems failure */ public String accountId() throws RemoteException; /** * Balance in account. * * @return double Account Balance * @exception java.rmi.RemoteException if there is * a communications or systems failure */ public double balance() throws RemoteException; }