|
WebLogic Server 7.0 Code Examples, BEA Systems, Inc. | |||||
The source code for all the RMI-IIOP examples is in your WL_HOME\samples\server\src\examples\iiop directory.
Before you run the client applications in this directory, be sure
to build the whole example.
This includes building the WebLogic Server (iiop/rmi/server/wls) and the Tuxedo Server (iiop/rmi/server/tux)
as well. It is also crucial that you have your environment set up correctly. Make sure you have run through the set up and building on
the WebLogic Server side first :
Be sure to also take a look at the Tuxedo client code.
TOBJADDR set in your client's environment. Set it to your ip address and port that Tuxedo are running on, for example
set TOBJADDR=//172.17.14.29:2468
build.xml script provided
in the examples\iiop\rmi\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
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.