|
WebLogic Server 6.1 Code Examples, BEA Systems, Inc. | |||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
The methods in this interface are the public face of TraderBean. The signatures of the methods are identical to those of the EJBean, except that these methods throw a java.rmi.RemoteException. Note that the EJBean does not implement this interface. The corresponding code-generated EJBObject, TraderBeanE, implements this interface and delegates to the bean.
| Method Summary | |
TradeResult |
buy(java.lang.String stockSymbol,
int shares)
Buys shares of a stock. |
TradeResult |
buyRemote(java.lang.String stockSymbol,
int shares)
Buys shares of a stock remotely. |
TradeResult |
sell(java.lang.String stockSymbol,
int shares)
Sells shares of a stock. |
TradeResult |
sellRemote(java.lang.String stockSymbol,
int shares)
Sells shares of a stock remotely. |
| Methods inherited from interface javax.ejb.EJBObject |
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
| Method Detail |
public TradeResult buy(java.lang.String stockSymbol,
int shares)
throws java.rmi.RemoteException
stockSymbol - String Stock symbolshares - int Number of shares to buyjava.rmi.RemoteException - if there is
a communications or systems failure
public TradeResult buyRemote(java.lang.String stockSymbol,
int shares)
throws java.rmi.RemoteException,
javax.ejb.CreateException
stockSymbol - String Stock symbolshares - int Number of shares to buyjava.rmi.RemoteException - if there is
a communications or systems failure
public TradeResult sell(java.lang.String stockSymbol,
int shares)
throws java.rmi.RemoteException
stockSymbol - String Stock symbolshares - int Number of shares to selljava.rmi.RemoteException - if there is
a communications or systems failure
public TradeResult sellRemote(java.lang.String stockSymbol,
int shares)
throws java.rmi.RemoteException,
javax.ejb.CreateException
stockSymbol - String Stock symbolshares - int Number of shares to selljava.rmi.RemoteException - if there is
a communications or systems failure
|
Documentation is available at http://e-docs.bea.com/wls/docs61 |
|||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||