|
WebLogic Server 6.1 Code Examples, BEA Systems, Inc. | |||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Object | +--examples.ejb20.sequence.oracle.Client
This class illustrates how to set up a CMP EJBean to automatically generate the primary key upon insert.
Create accounts and deposit some money into them. The primary key will be retrieved and printed after each creation.
| 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()
Deposit and print the primary key of the newly created Account. |
| 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.sequence.oracle.Client "t3://localhost:7001"
The parameter is optional. If none is passed in, it t3://localhost:7001 will be used.
url - URL such as "t3://localhost:7001" of Serverpublic void runExample()
|
Documentation is available at http://e-docs.bea.com/wls/docs61 |
|||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||