WebLogic Server 6.1 Code Examples, BEA Systems, Inc.

Package examples.iiop.ejb.entity.tuxclient

Note: This example does not work with the current release of Tuxedo, but a forthcoming Rolling Patch or Service Pack is expected to fix the problems.

This directory contains the tuxedo client which can be used to call an entity session bean from WebLogic. It demonstrates passing more complex valuetypes than the stateless session bean RMI-IIOP examples.

Before you run the client applications in this directory, be sure to build the whole example. Build and deploy the entity bean on WebLogic Server first. The following link will take you through the necessary steps:

  • iiop.ejb.entity.server.wls

    Be sure to also take a careful look at the Tuxedo client code to see what's going on.

    Build the example

    1. Set up your development shell as described in Setting up your environment. Also, make sure you have set your Tuxedo environment variables. Set TUXDIR to the appropriate directory where Tuxedo resides on your machine. In addition, include the tuxedo8.0/bin and tuxedo 8.0/lib directories in your path.

    2. Execute the build script provided for this example in the samples\examples\iiop\ejb\entity\tuxclient directory of your WebLogic Server installation.

    Run the Example

    1. Open a separate command-line window in which you will run the client.

    2. Set up the environment for your client as described in Setting up your environment for building and running the examples. Make sure you have the proper settings that include the necessary Tuxedo directories in your PATH; make sure you have TUXDIR set to your installation of Tuxedo 8.0 and that you have included the tuxedo8.0/bin and tuxedo8.0/lib directories in your PATH.

    3. Run the client by executing the Client.exe application:
       Client.exe -ORBid BEA_IIOP -ORBInitRef NameService=corbaloc:iiop:localhost:7001/NameService

      Enter the correct hostname and port for your particular configuration

    There's more...

    Read more about WebLogic RMI over IIOP in the Developer Guide, Using WebLogic RMI over IIOP.

    Read more about WebLogic EJB in the Developer Guide, BEA WebLogic Server Enterprise JavaBeans.

    Read more about WebLogic RMI in the Developer Guide, Using WebLogic RMI.
    Documentation is available at
    http://e-docs.bea.com/wls/docs61


    Copyright © 2001 BEA Systems, Inc. All Rights Reserved.