samples.j2ee.ejb.sequence.jdbc
Interface AutoAccount
- public interface AutoAccount
- extends javax.ejb.EJBObject
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.
|
Method Summary |
java.lang.String |
accountId()
Returns the account ID. |
double |
balance()
Balance in account. |
| Methods inherited from interface javax.ejb.EJBObject |
getEJBHome,
getHandle,
getPrimaryKey,
isIdentical,
remove |
accountId
public java.lang.String accountId()
throws java.rmi.RemoteException
- Returns the account ID.
- Returns:
- String Account ID
- Throws:
- java.rmi.RemoteException - if there is
a communications or systems failure
balance
public double balance()
throws java.rmi.RemoteException
- Balance in account.
- Returns:
- double Account Balance
- Throws:
- java.rmi.RemoteException - if there is
a communications or systems failure