A B C D E F G L M N O P S T U W

A

accountId - Variable in class samples.j2ee.ejb.sequence.jdbc.AutoAccountPK
 
accountId - Variable in class samples.j2ee.ejb.sequence.jdbc.AutoAccountBean
 
accountId - Variable in class samples.j2ee.ejb.sequence.oracle.OracleBean
 
accountId - Variable in class samples.j2ee.ejb.sequence.oracle.OraclePK
 
accountId() - Method in interface samples.j2ee.ejb.sequence.jdbc.AutoAccount
Returns the account ID.
accountId() - Method in class samples.j2ee.ejb.sequence.jdbc.AutoAccountBean
Returns account ID.
accountId() - Method in class samples.j2ee.ejb.sequence.oracle.OracleBean
Returns account ID.
accountId() - Method in interface samples.j2ee.ejb.sequence.oracle.Oracle
Returns the account ID.
AutoAccount - interface samples.j2ee.ejb.sequence.jdbc.AutoAccount.
The methods in this interface are the public face of AccountBean.
AutoAccountBean - class samples.j2ee.ejb.sequence.jdbc.AutoAccountBean.
AutoAccountBean is an EntityBean.
AutoAccountBean() - Constructor for class samples.j2ee.ejb.sequence.jdbc.AutoAccountBean
 
AutoAccountHome - interface samples.j2ee.ejb.sequence.jdbc.AutoAccountHome.
This interface is the home interface for the EJBean AutoAccountBean, which in WLE is implemented by the code-generated container class AutoAccountBeanC.
AutoAccountPK - class samples.j2ee.ejb.sequence.jdbc.AutoAccountPK.
This is the interface of the Primary Key for the EJBean AccountBean.
AutoAccountPK() - Constructor for class samples.j2ee.ejb.sequence.jdbc.AutoAccountPK
 

B

balance - Variable in class samples.j2ee.ejb.sequence.jdbc.AutoAccountBean
 
balance() - Method in interface samples.j2ee.ejb.sequence.jdbc.AutoAccount
Balance in account.
balance() - Method in class samples.j2ee.ejb.sequence.jdbc.AutoAccountBean
Returns current balance.
buy(String, String, int) - Method in class samples.j2ee.ejb.basic.statefulSession.TraderBean
Buys shares of a stock for a named customer.
buy(String, String, int) - Method in interface samples.j2ee.ejb.basic.statefulSession.Trader
Buys shares of a stock for a named customer.
buy(String, String, int) - Method in class samples.j2ee.ejb.basic.statelessSession.TraderBean
Buys shares of a stock for a named customer.
buy(String, String, int) - Method in interface samples.j2ee.ejb.basic.statelessSession.Trader
Buys shares of a stock for a named customer.

C

callParentBean() - Method in interface samples.j2ee.ejb.subclass.child.Child
Calls a method in the parent bean, and sends back a pre-defined message identifying the method.
callParentBean() - Method in class samples.j2ee.ejb.subclass.child.ChildBean
Looks up a parent bean and calls its parentMethodOnly().
Child - interface samples.j2ee.ejb.subclass.child.Child.
The methods in this interface are the public face of ChildBean.
ChildBean - class samples.j2ee.ejb.subclass.child.ChildBean.
ChildBean is a stateless SessionBean.
ChildBean() - Constructor for class samples.j2ee.ejb.subclass.child.ChildBean
 
ChildHome - interface samples.j2ee.ejb.subclass.child.ChildHome.
This interface is the home interface for the ChildBean.java, which in WebLogic is implemented by the code-generated container class ChildBeanC.
childSaysHello() - Method in interface samples.j2ee.ejb.subclass.child.Child
Sends back a pre-defined message identifying the method.
childSaysHello() - Method in class samples.j2ee.ejb.subclass.child.ChildBean
Returns a message identifying the method.
Client - class samples.j2ee.ejb.basic.statefulSession.Client.
This class illustrates using a stateful SessionBean: It creates a trader, and perform repeated buying and selling of shares Persistence of state between calls to the SessionBean; the client does not do anything to maintain state between calls How to search the JNDI tree for an appropriate container Application-defined exceptions
Client - class samples.j2ee.ejb.basic.statelessSession.Client.
This class illustrates using a stateless SessionBean: It creates a trader, and perform repeated buying and selling of shares Persistence of state between calls to the SessionBean; client must maintain state between calls Application-defined exceptions
Client - class samples.j2ee.ejb.subclass.parent.Client.
This class is used with the "Child" EJBean to illustrate using an EJBean that subclasses from a another bean.
Client - class samples.j2ee.ejb.subclass.child.Client.
This class illustrates using an EJBean that subclasses from a another bean.
Client - class samples.j2ee.ejb.sequence.jdbc.Client.
This class demonstrates calling an entity EJBean, followed by creating two new accounts with an opening balance and an automatically generated primary key.
Client - class samples.j2ee.ejb.sequence.oracle.Client.
This class demonstrates calling an entity EJBean, followed by creating two new employees with a salary and an automatically generated primary key.
Client() - Constructor for class samples.j2ee.ejb.basic.statefulSession.Client
 
Client() - Constructor for class samples.j2ee.ejb.basic.statelessSession.Client
 
Client() - Constructor for class samples.j2ee.ejb.subclass.parent.Client
 
Client() - Constructor for class samples.j2ee.ejb.subclass.child.Client
 
Client() - Constructor for class samples.j2ee.ejb.sequence.jdbc.Client
 
Client() - Constructor for class samples.j2ee.ejb.sequence.oracle.Client
 
create() - Method in interface samples.j2ee.ejb.basic.statelessSession.TraderHome
This method corresponds to the ejbCreate method in the bean "TraderBean.java".
create() - Method in interface samples.j2ee.ejb.subclass.parent.ParentHome
This method corresponds to the ejbCreate method in the bean "ParentBean.java".
create() - Method in interface samples.j2ee.ejb.subclass.child.ChildHome
This method corresponds to the ejbCreate method in the bean "ChildBean.java".
create(double) - Method in interface samples.j2ee.ejb.sequence.jdbc.AutoAccountHome
This method corresponds to the ejbCreate method in the bean "AutoAccountBean.java".
create(double) - Method in interface samples.j2ee.ejb.sequence.oracle.OracleHome
This method corresponds to the ejbCreate method in the bean "OracleBean.java".
create(Integer, double) - Method in interface samples.j2ee.ejb.sequence.oracle.OracleHome
This method corresponds to the ejbCreate method in the bean "OracleBean.java".
create(String) - Method in interface samples.j2ee.ejb.basic.statefulSession.TraderHome
This method corresponds to the ejbCreate method in the bean "TraderBean.java".
create(String, double) - Method in interface samples.j2ee.ejb.sequence.jdbc.AutoAccountHome
This method corresponds to the ejbCreate method in the bean "AutoAccountBean.java".

D

deposit(double) - Method in class samples.j2ee.ejb.sequence.jdbc.AutoAccountBean
Adds amount to balance.

E

ejbActivate() - Method in class samples.j2ee.ejb.basic.statefulSession.TraderBean
This method is required by the EJB Specification, but is not used by this example.
ejbActivate() - Method in class samples.j2ee.ejb.basic.statelessSession.TraderBean
This method is required by the EJB Specification, but is not used by this example.
ejbActivate() - Method in class samples.j2ee.ejb.subclass.parent.ParentBean
This method is required by the EJB Specification, but is not used by this example.
ejbActivate() - Method in class samples.j2ee.ejb.sequence.jdbc.AutoAccountBean
This method is required by the EJB Specification, but is not used by this example.
ejbActivate() - Method in class samples.j2ee.ejb.sequence.oracle.OracleBean
This method is required by the EJB Specification, but is not used by this example.
ejbCreate() - Method in class samples.j2ee.ejb.basic.statelessSession.TraderBean
This method corresponds to the create method in the home interface "TraderHome.java".
ejbCreate() - Method in class samples.j2ee.ejb.subclass.parent.ParentBean
This method corresponds to the create method in the home interface "ParentHome".
ejbCreate(double) - Method in class samples.j2ee.ejb.sequence.jdbc.AutoAccountBean
This method corresponds to the create method in the home interface "AutoAccountHome.java".
ejbCreate(double) - Method in class samples.j2ee.ejb.sequence.oracle.OracleBean
This method corresponds to the create method in the home interface "OracleHome.java".
ejbCreate(Integer, double) - Method in class samples.j2ee.ejb.sequence.oracle.OracleBean
This method corresponds to the create method in the home interface "OracleHome.java".
ejbCreate(String) - Method in class samples.j2ee.ejb.basic.statefulSession.TraderBean
This method corresponds to the create method in the home interface "TraderHome.java".
ejbCreate(String, double) - Method in class samples.j2ee.ejb.sequence.jdbc.AutoAccountBean
This method corresponds to the create method in the home interface "AutoAccountHome.java".
ejbLoad() - Method in class samples.j2ee.ejb.sequence.jdbc.AutoAccountBean
This method is required by the EJB Specification, but is not used by this example.
ejbLoad() - Method in class samples.j2ee.ejb.sequence.oracle.OracleBean
This method is required by the EJB Specification, but is not used by this example.
ejbPassivate() - Method in class samples.j2ee.ejb.basic.statefulSession.TraderBean
This method is required by the EJB Specification, but is not used by this example.
ejbPassivate() - Method in class samples.j2ee.ejb.basic.statelessSession.TraderBean
This method is required by the EJB Specification, but is not used by this example.
ejbPassivate() - Method in class samples.j2ee.ejb.subclass.parent.ParentBean
This method is required by the EJB Specification, but is not used by this example.
ejbPassivate() - Method in class samples.j2ee.ejb.sequence.jdbc.AutoAccountBean
This method is required by the EJB Specification, but is not used by this example.
ejbPassivate() - Method in class samples.j2ee.ejb.sequence.oracle.OracleBean
This method is required by the EJB Specification, but is not used by this example.
ejbPostCreate(double) - Method in class samples.j2ee.ejb.sequence.jdbc.AutoAccountBean
This method is required by the EJB Specification, but is not used by this example.
ejbPostCreate(double) - Method in class samples.j2ee.ejb.sequence.oracle.OracleBean
This method is required by the EJB Specification, but is not used by this example.
ejbPostCreate(Integer, double) - Method in class samples.j2ee.ejb.sequence.oracle.OracleBean
This method is required by the EJB Specification, but is not used by this example.
ejbPostCreate(String, double) - Method in class samples.j2ee.ejb.sequence.jdbc.AutoAccountBean
This method is required by the EJB Specification, but is not used by this example.
ejbRemove() - Method in class samples.j2ee.ejb.basic.statefulSession.TraderBean
This method is required by the EJB Specification, but is not used by this example.
ejbRemove() - Method in class samples.j2ee.ejb.basic.statelessSession.TraderBean
This method is required by the EJB Specification, but is not used by this example.
ejbRemove() - Method in class samples.j2ee.ejb.subclass.parent.ParentBean
This method is required by the EJB Specification, but is not used by this example.
ejbRemove() - Method in class samples.j2ee.ejb.sequence.jdbc.AutoAccountBean
This method is required by the EJB Specification, but is not used by this example.
ejbRemove() - Method in class samples.j2ee.ejb.sequence.oracle.OracleBean
This method is required by the EJB Specification, but is not used by this example.
ejbStore() - Method in class samples.j2ee.ejb.sequence.jdbc.AutoAccountBean
This method is required by the EJB Specification, but is not used by this example.
ejbStore() - Method in class samples.j2ee.ejb.sequence.oracle.OracleBean
This method is required by the EJB Specification, but is not used by this example.

F

findAccount(double) - Method in interface samples.j2ee.ejb.sequence.jdbc.AutoAccountHome
Finds an EJBean with a balance equal to a given amount.
findAccount(double) - Method in interface samples.j2ee.ejb.sequence.oracle.OracleHome
Finds an EJBean with a salary equal to a given amount.
findByPrimaryKey(AutoAccountPK) - Method in interface samples.j2ee.ejb.sequence.jdbc.AutoAccountHome
Given a Primary Key, refreshes the EJBean from the persistent storage.
findByPrimaryKey(OraclePK) - Method in interface samples.j2ee.ejb.sequence.oracle.OracleHome
Given a Primary Key, refreshes the EJBean from the persistent storage.

G

getBalance() - Method in class samples.j2ee.ejb.basic.statefulSession.TraderBean
Returns the current balance of a trading session.
getBalance() - Method in interface samples.j2ee.ejb.basic.statefulSession.Trader
Returns the current balance of a trading session.
getStockPrice(String) - Method in class samples.j2ee.ejb.basic.statefulSession.TraderBean
Returns the stock price for a given stock.
getStockPrice(String) - Method in class samples.j2ee.ejb.basic.statelessSession.TraderBean
Returns the stock price for a given stock.
getTradeLimit() - Method in class samples.j2ee.ejb.basic.statelessSession.TraderBean
This method retrieves the tradeLimit environment property from the deployment descriptor.
getTraderName() - Method in class samples.j2ee.ejb.basic.statefulSession.TraderBean
Returns the name of this Trader.
getTraderName() - Method in interface samples.j2ee.ejb.basic.statefulSession.Trader
Returns the name of this Trader.

L

lastKey - Static variable in class samples.j2ee.ejb.sequence.jdbc.AutoAccountBean
 
lastKey - Static variable in class samples.j2ee.ejb.sequence.oracle.OracleBean
 

M

main(String[]) - Static method in class samples.j2ee.ejb.basic.statefulSession.Client
Runs this example from the command line.
main(String[]) - Static method in class samples.j2ee.ejb.basic.statefulSession.MultiClient
Runs this example from the command line.
main(String[]) - Static method in class samples.j2ee.ejb.basic.statelessSession.Client
Runs this example from the command line.
main(String[]) - Static method in class samples.j2ee.ejb.subclass.parent.Client
Runs this example from the command line.
main(String[]) - Static method in class samples.j2ee.ejb.subclass.child.Client
Run this sample from the command line.
main(String[]) - Static method in class samples.j2ee.ejb.sequence.jdbc.Client
Runs this example from the command line.
main(String[]) - Static method in class samples.j2ee.ejb.sequence.oracle.Client
Runs this example from the command line.
maxKey - Static variable in class samples.j2ee.ejb.sequence.jdbc.AutoAccountBean
 
maxKey - Static variable in class samples.j2ee.ejb.sequence.oracle.OracleBean
 
MultiClient - class samples.j2ee.ejb.basic.statefulSession.MultiClient.
This class demonstrates calling an statefulsession EJBean using multiple colocated clients: Each thread is a trader, and perform repeated buying and selling of shares Persistence of state between calls to the SessionBean; the client does not do anything to maintain state between calls How to search the JNDI tree for an appropriate container Application-defined exceptions
MultiClient() - Constructor for class samples.j2ee.ejb.basic.statefulSession.MultiClient
 

N

newInitialContext() - Static method in class samples.j2ee.ejb.basic.statefulSession.Client
Gets an initial context.
newInitialContext() - Static method in class samples.j2ee.ejb.basic.statefulSession.MultiClient
Gets an initial context.
newInitialContext() - Static method in class samples.j2ee.ejb.basic.statelessSession.Client
Creates an initial context.
newInitialContext() - Static method in class samples.j2ee.ejb.subclass.parent.Client
Gets an initial context.
newInitialContext() - Static method in class samples.j2ee.ejb.subclass.child.Client
Gets an initial context.
newInitialContext() - Static method in class samples.j2ee.ejb.subclass.child.ChildBean
 
newInitialContext() - Static method in class samples.j2ee.ejb.sequence.jdbc.Client
Gets an initial context for the current user, password and url.
newInitialContext() - Static method in class samples.j2ee.ejb.sequence.oracle.Client
Gets an initial context for the current user, password and url.
numberTraded - Variable in class samples.j2ee.ejb.basic.statefulSession.TradeResult
 
numberTraded - Variable in class samples.j2ee.ejb.basic.statelessSession.TradeResult
 

O

Oracle - interface samples.j2ee.ejb.sequence.oracle.Oracle.
The methods in this interface are the public face of AccountBean.
OracleBean - class samples.j2ee.ejb.sequence.oracle.OracleBean.
OracleBean is an EntityBean.
OracleBean() - Constructor for class samples.j2ee.ejb.sequence.oracle.OracleBean
 
OracleHome - interface samples.j2ee.ejb.sequence.oracle.OracleHome.
This interface is the home interface for the EJBean OracleBean, which in WebLogic is implemented by the code-generated container class OracleBeanC.
OraclePK - class samples.j2ee.ejb.sequence.oracle.OraclePK.
This is the interface of the Primary Key for the EJBean AccountBean.
OraclePK() - Constructor for class samples.j2ee.ejb.sequence.oracle.OraclePK
 

P

Parent - interface samples.j2ee.ejb.subclass.parent.Parent.
The methods in this interface are the public face of ParentBean.
ParentBean - class samples.j2ee.ejb.subclass.parent.ParentBean.
ParentBean is a stateless SessionBean.
ParentBean() - Constructor for class samples.j2ee.ejb.subclass.parent.ParentBean
 
ParentHome - interface samples.j2ee.ejb.subclass.parent.ParentHome.
This interface is the home interface for the ParentBean.java, which in WebLogic is implemented by the code-generated container class ParentBeanC.
parentMethodOnly() - Method in class samples.j2ee.ejb.subclass.parent.ParentBean
Sends back a pre-defined message identifying the method.
parentMethodOnly() - Method in interface samples.j2ee.ejb.subclass.parent.Parent
Sends back a pre-defined message identifying the method.
parentSaysHello() - Method in class samples.j2ee.ejb.subclass.parent.ParentBean
Sends back a pre-defined message identifying the method.
parentSaysHello() - Method in interface samples.j2ee.ejb.subclass.parent.Parent
Sends back a pre-defined message identifying the method.
parentSaysHello() - Method in class samples.j2ee.ejb.subclass.child.ChildBean
Returns a message identifying the method.
priceSoldAt - Variable in class samples.j2ee.ejb.basic.statefulSession.TradeResult
 
priceSoldAt - Variable in class samples.j2ee.ejb.basic.statelessSession.TradeResult
 
ProcessingErrorException - exception samples.j2ee.ejb.basic.statefulSession.ProcessingErrorException.
This class is used with the samples.j2ee.ejb.statefulSession package.
ProcessingErrorException - exception samples.j2ee.ejb.basic.statelessSession.ProcessingErrorException.
This class is used with the samples.j2ee.ejb.statefulSession package.
ProcessingErrorException - exception samples.j2ee.ejb.sequence.jdbc.ProcessingErrorException.
ProcessingErrorException is thrown if the caller attempts to withdraw more than a certain preset limit from the account.
ProcessingErrorException - exception samples.j2ee.ejb.sequence.oracle.ProcessingErrorException.
ProcessingErrorException is thrown if the caller attempts to withdraw more than a certain preset limit from the account.
ProcessingErrorException() - Constructor for class samples.j2ee.ejb.basic.statefulSession.ProcessingErrorException
Catches exceptions without a specified string
ProcessingErrorException() - Constructor for class samples.j2ee.ejb.basic.statelessSession.ProcessingErrorException
Catches exceptions without a specified string
ProcessingErrorException() - Constructor for class samples.j2ee.ejb.sequence.jdbc.ProcessingErrorException
Catches exceptions without a specified string
ProcessingErrorException() - Constructor for class samples.j2ee.ejb.sequence.oracle.ProcessingErrorException
Catches exceptions without a specified string
ProcessingErrorException(String) - Constructor for class samples.j2ee.ejb.basic.statefulSession.ProcessingErrorException
Constructs the appropriate exception with the specified string
ProcessingErrorException(String) - Constructor for class samples.j2ee.ejb.basic.statelessSession.ProcessingErrorException
Constructs the appropriate exception with the specified string
ProcessingErrorException(String) - Constructor for class samples.j2ee.ejb.sequence.jdbc.ProcessingErrorException
Constructs the appropriate exception with the specified string
ProcessingErrorException(String) - Constructor for class samples.j2ee.ejb.sequence.oracle.ProcessingErrorException
Constructs the appropriate exception with the specified string

S

salary - Variable in class samples.j2ee.ejb.sequence.oracle.OracleBean
 
salary() - Method in class samples.j2ee.ejb.sequence.oracle.OracleBean
Returns current salary.
salary() - Method in interface samples.j2ee.ejb.sequence.oracle.Oracle
Salary in account.
samples.j2ee.ejb.basic.statefulSession - package samples.j2ee.ejb.basic.statefulSession
 
samples.j2ee.ejb.basic.statelessSession - package samples.j2ee.ejb.basic.statelessSession
 
samples.j2ee.ejb.sequence.jdbc - package samples.j2ee.ejb.sequence.jdbc
 
samples.j2ee.ejb.sequence.oracle - package samples.j2ee.ejb.sequence.oracle
 
samples.j2ee.ejb.subclass.child - package samples.j2ee.ejb.subclass.child
 
samples.j2ee.ejb.subclass.parent - package samples.j2ee.ejb.subclass.parent
 
samples.j2ee.ejb.utils - package samples.j2ee.ejb.utils
 
sell(String, String, int) - Method in class samples.j2ee.ejb.basic.statefulSession.TraderBean
Sells shares of a stock for a named customer.
sell(String, String, int) - Method in interface samples.j2ee.ejb.basic.statefulSession.Trader
Sells shares of a stock for a named customer.
sell(String, String, int) - Method in class samples.j2ee.ejb.basic.statelessSession.TraderBean
Sells shares of a stock for a named customer.
sell(String, String, int) - Method in interface samples.j2ee.ejb.basic.statelessSession.Trader
Sells shares of a stock for a named customer.
setEntityContext(EntityContext) - Method in class samples.j2ee.ejb.sequence.jdbc.AutoAccountBean
Sets the EntityContext for the EJBean.
setEntityContext(EntityContext) - Method in class samples.j2ee.ejb.sequence.oracle.OracleBean
Sets the EntityContext for the EJBean.
setSessionContext(SessionContext) - Method in class samples.j2ee.ejb.basic.statefulSession.TraderBean
Sets the session context.
setSessionContext(SessionContext) - Method in class samples.j2ee.ejb.basic.statelessSession.TraderBean
Sets the session context.
setSessionContext(SessionContext) - Method in class samples.j2ee.ejb.subclass.parent.ParentBean
Sets the session context.

T

Trader - interface samples.j2ee.ejb.basic.statefulSession.Trader.
The methods in this interface are the public face of TraderBean.
Trader - interface samples.j2ee.ejb.basic.statelessSession.Trader.
The methods in this interface are the public face of TraderBean.
TraderBean - class samples.j2ee.ejb.basic.statefulSession.TraderBean.
TraderBean is a stateful SessionBean.
TraderBean - class samples.j2ee.ejb.basic.statelessSession.TraderBean.
TraderBean is a stateless SessionBean.
TraderBean() - Constructor for class samples.j2ee.ejb.basic.statefulSession.TraderBean
 
TraderBean() - Constructor for class samples.j2ee.ejb.basic.statelessSession.TraderBean
 
TradeResult - class samples.j2ee.ejb.basic.statefulSession.TradeResult.
This class reflects the results of a buy/sell transaction.
TradeResult - class samples.j2ee.ejb.basic.statelessSession.TradeResult.
This class reflects the results of a buy/sell transaction.
TradeResult(int, double) - Constructor for class samples.j2ee.ejb.basic.statefulSession.TradeResult
Returns the number of shares and sales price for a buy or sell transaction in a TradeResult object.
TradeResult(int, double) - Constructor for class samples.j2ee.ejb.basic.statelessSession.TradeResult
Returns the number of shares and sales price for a buy or sell transaction in a TradeResult object.
TraderHome - interface samples.j2ee.ejb.basic.statefulSession.TraderHome.
This interface is the home interface for the TraderBean.java, which in WebLogic is implemented by the code-generated container class TraderBeanC.
TraderHome - interface samples.j2ee.ejb.basic.statelessSession.TraderHome.
This interface is the home interface for the TraderBean.java.
traderName - Variable in class samples.j2ee.ejb.basic.statefulSession.TraderBean
 
tradingBalance - Variable in class samples.j2ee.ejb.basic.statefulSession.TraderBean
 

U

unsetEntityContext() - Method in class samples.j2ee.ejb.sequence.jdbc.AutoAccountBean
Unsets the EntityContext for the EJBean.
unsetEntityContext() - Method in class samples.j2ee.ejb.sequence.oracle.OracleBean
Unsets the EntityContext for the EJBean.

W

withdraw(double) - Method in class samples.j2ee.ejb.sequence.jdbc.AutoAccountBean
Subtracts amount from balance.

A B C D E F G L M N O P S T U W