samples.j2ee.ejb.sequence.oracle
Interface Oracle
- public interface Oracle
- 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.
Note that the EJBean does not implement this interface.
The corresponding code-generated EJBObject implements this interface
and delegates to the EJBean.
|
Method Summary |
java.lang.Integer |
accountId()
Returns the account ID. |
double |
salary()
Salary in account. |
| Methods inherited from interface javax.ejb.EJBObject |
getEJBHome,
getHandle,
getPrimaryKey,
isIdentical,
remove |
accountId
public java.lang.Integer accountId()
throws java.rmi.RemoteException
- Returns the account ID.
- Returns:
- Integer Account ID
- Throws:
- java.rmi.RemoteException - if there is
a communications or systems failure
salary
public double salary()
throws java.rmi.RemoteException
- Salary in account.
- Returns:
- double Salary
- Throws:
- java.rmi.RemoteException - if there is
a communications or systems failure