|
WebLogic Server 7.0 Code Examples, BEA Systems, Inc. | |||||
Before you run the client applications in this directory, be sure
to build the whole example.
This includes building the EJB for WebLogic Server and, if you wish to run through the Tuxedo Server, the necessary files for the
Tuxedo Server (iiop/stateless/server/tux)
as well.
Trader bean and configuring WebLogic Server
Setting up and configuring Tuxedo Server
Be sure to also take a look at the Tuxedo client code.
All source files are located in the WL_HOME\samples\server\src directory.
tuxedo8.0/bin and tuxedo8.0/lib directories in your PATH.
build.xml script provided
in the examples\iiop\ejb\stateless\tuxclient directory to make sure it is using your correct port and
hostname. The last section of this xml file contains the run command. Run the client by entering:
ant run
examples/iiop/ejb/stateless/server/wls and
samples/examples/iiop/ejb/stateless/server/tux). Then run
the Client.exe
application with the following command by editing the build.xml file:
Client.exe -ORBid BEA_IIOP -ORBInitRef NameService=corbaloc:iiop:Tuxedo_ip_address:Tuxedo_Port/NameService
Enter the correct ip address and port for your particular Tuxedo configuration. After running the example view the Tuxedo's ULOG. The information there may be helpful.
build.xml:
Client.exe -ORBid BEA_IIOP -ORBInitRef NameService=corbaloc:iiop://localhost:7001/NameService true
If you have set up both your environments correctly, the server you have called will make an outbound call to the other server (either Tuxedo or WebLogic) and you should see output in that servers log. In the Tuxedo case, this will be the ULOG from the directory where you booted your Tuxedo Server.
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.
For more information on how to provide interoperability between WebLogic Server applications and Tuxedo services, see WebLogic Tuxedo Connector.
|
Documentation is available at http://e-docs.bea.com/wls/docs61 |
|||||