|
WebLogic Server 6.1 Code Examples, BEA Systems, Inc. |
See:
Description
Class Summary | |
PingClient | This client uses the remote PingServer methods. |
This directory contains the RMI client which can be used to demonstrate connectivity to a WebLogic Server, as well as server to server connectivity with Tuxedo.
Before you run the client applications in this directory, be sure
to build the whole example.
This includes building the WebLogic Server and, if you wish to run through the
Tuxedo Server, the Tuxedo Server (iiop/rmi/server/tux
)
as well.
It is also crucial that you have your environment set up correctly as detailed in the steps to configure the WebLogic and Tuxedo Servers. If you run into problems, make sure to check your environment; check especially your PATH and CLASSPATH as well as the BDMCONFIG, TOBJADDRESS , and TUXCONFIG variables that are used by Tuxedo. In this example, you will not connect to Tuxedo directly; however, you can make an outbound call to Ping! Tuxedo if you have your Tuxedo Server running.
WL_HOME/samples/examples/iiop/rmi/server/wls
instructions.
java examples.iiop.rmi.rmiclient.PingClient iiop://localhost:7001
Enter the correct hostname and port for your particular configuration
Note: To demonstrate server to server connectivity add true to the end of the command (i.e.
java examples.iiop.rmi.rmiclient.PingClient iiop://localhost:7001 true
. If you have set up both your environments
correctly, the WebLogic Server you have called will make an outbound call to the Tuxedo Server and you should see Ping!
in the most current ULOG (located in the directory in which you have 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 about WebLogic Server WebLogic Tuxedo Connector, see:
|
Documentation is available at http://e-docs.bea.com/wls/docs61 |