|
WebLogic Server 6.0 Code Examples, BEA Systems, Inc. | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--examples.ejb20.relationships.one2many.Client
This class demonstrates CMP relationships and EJB-QL by performing the following:
Finally, remove all newly created accounts.
This class also illustrates how to lookup an EJB home in the JNDI tree.
Constructor Summary | |
Client(java.lang.String url)
|
Method Summary | |
static void |
main(java.lang.String[] args)
Runs this example from the command line. |
void |
runExample()
Create 5 new accounts and customers, with different initial balances and type. |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public Client(java.lang.String url) throws javax.naming.NamingException
Method Detail |
public static void main(java.lang.String[] args)
java examples.ejb20.relationships.one2many.Client "t3://localhost:7001"
The parameters are optional, but if any are supplied, they are interpreted in this order:
url
- URL such as "t3://localhost:7001" of Serverpublic void runExample() throws javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException, javax.ejb.RemoveException
|
Documentation is available at http://e-docs.bea.com/wls/docs60 |
|||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |