Package examples.wtc.atmi.simpserv
This example demonstrates the ability of WTC to allow Tuxedo to interoperate with a WLS application.See:
Class Summary
TolowerBean ToupperBean is a stateful SessionBean. Package examples.wtc.atmi.simpserv Description
This example demonstrates the ability of WTC to allow Tuxedo to interoperate with a WLS application.
A service called
Tolower
is implemented by an EJB in WLS. The client for thetolower
service runs on Tuxedo.
Configure the example
simpserv
uses the same configuration that is required forsimpapp
.If you have completed the simpapp
example, you are ready runsimpserv
.Otherwise, complete the simpapp
example.Run the example
Run the tolower client to invoke the Tolower EJB and return the results to the client.
- Change directories to the Tuxedo
simpapp
directory- Execute the
tolower
client followed by a space and string of characters.
- Example:
tolower ALLSMALLThe WLS service replys to your Tuxedo client with:Returned string is: allsmall- Untarget the WTCsimpapp Mbean from the examplesServer.
Use TraceLevel
If you have a problem running thesimpserv
example, use the WTC tracing feature. Add the TraceLevel attribute to yourstartWebLogic
script.Example: -Dweblogic.wtc.TraceLevel=20000A TraceLevel of 20000 traces all of the calls to the Tuxedo object in the client.
There's more...
You are ready to run the
qsample
example.For more information about WebLogic Server WebLogic Tuxedo Connector, see:
- WebLogic Tuxedo Connector Administration Guide
- WebLogic Tuxedo Connector Programmer's Guide
- WebLogic Tuxedo Connector Examples
- Javadocs for the WebLogic Tuxedo Connector