|
|
| WebLogic Server 7.0 Code Examples, BEA Systems, Inc. |
|
SUMMARY: INNER | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |
examples.jta.oracle
Class Client
java.lang.Object
|
+--examples.jta.oracle.Client
- public class Client
- extends java.lang.Object
This class demonstrates calling an entity EJBean.
This class also illustrates how to lookup an EJB home in the JNDI tree.
- Author:
- Copyright (c) 1998-2002 by BEA Systems, Inc. All Rights Reserved.
|
Constructor Summary |
Client(java.lang.String url)
|
|
Method Summary |
void |
example()
|
static void |
main(java.lang.String[] args)
Runs this example from the command line. |
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Client
public Client(java.lang.String url)
throws javax.naming.NamingException
example
public void example()
throws java.lang.Exception
main
public static void main(java.lang.String[] args)
throws javax.naming.NamingException
- Runs this example from the command line. Example:
java examples.jta.oracle.Client "t3://localhost:7001"
The parameters are optional, but if any are supplied,
they are interpreted in this order:
- Parameters:
url - URL such as "t3://localhost:7001" of Server
Copyright © 2002 BEA Systems, Inc. All Rights Reserved.