|
|
| WebLogic Server 7.0 Code Examples, BEA Systems, Inc. |
|
SUMMARY: INNER | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |
examples.wtc.atmi.convsimp
Class Client
java.lang.Object
|
+--examples.wtc.atmi.convsimp.Client
- public class Client
- extends java.lang.Object
This class illustrates calling a stateful SessionBean and performing
the following exercises:
- Create a TuxedoConversation
- Buy some shares using the TuxedoConversation
- Sell some shares using the TuxedoConversation
- Remove the TuxedoConversation
- Author:
- Copyright (c) 1998-2002 by BEA Systems, Inc. All Rights Reserved.
|
Constructor Summary |
Client(int datasize,
int iterations,
java.lang.String url,
java.lang.String user,
java.lang.String password)
|
|
Method Summary |
void |
example()
Runs the 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(int datasize,
int iterations,
java.lang.String url,
java.lang.String user,
java.lang.String password)
throws javax.naming.NamingException
example
public void example()
throws javax.ejb.CreateException,
java.rmi.RemoteException,
javax.ejb.RemoveException,
weblogic.wtc.jatmi.TPException
- Runs the example.
main
public static void main(java.lang.String[] args)
- Runs this example from the command line. Example:
java weblogic.wtc.examples.simpapp.Client string-to-convert "t3://localhost:7001" scott tiger
All parameters except the first one are optional. The options must be
supplied in the order given below:
- Parameters:
string-to-convert - The string to have Tuxedo convert to upper caseurl - URL such as "t3://localhost:7001" of Serveruser - User name, default nullpassword - User password, default null
Copyright © 2002 BEA Systems, Inc. All Rights Reserved.