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 the tolower service runs on Tuxedo.

Configure the example

simpserv uses the same configuration that is required for simpapp.
  • If you have completed the simpapp example, you are ready run simpserv.
  • Otherwise, complete the simpapp example.

    Run the example

    Run the tolower client to invoke the Tolower EJB and return the results to the client.
    1. Change directories to the Tuxedo simpapp directory
    2. Execute the tolower client followed by a space and string of characters.

      Example:
         tolower ALLSMALL
      The WLS service replys to your Tuxedo client with:
         Returned string is: allsmall
    3. Untarget the WTCsimpapp Mbean from the examplesServer.

    Use TraceLevel

    If you have a problem running the simpserv example, use the WTC tracing feature. Add the TraceLevel attribute to your startWebLogic script.
    Example:
       -Dweblogic.wtc.TraceLevel=20000
    A 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: