|
WebLogic Server 7.0 Code Examples, BEA Systems, Inc. | |||||
See:
Description
| Class Summary | |
| Client | This class illustrates calling a stateless Session Bean and performing the following exercises: Create a Trader Buy some shares using the Trader Sell some shares using the Trader Remove the Trader |
This directory contains an RMI java client which can be used to call a stateless session bean from WebLogic and then make an outbound
call to Tuxedo using underlying WebLogic Tuxedo Connector technology. The source code for all the RMI-IIOP examples is in your WL_HOME\samples\wlserver7.0\src\examples\iiop directory.
Before you run the client applications in this directory, be sure to build the full example. This includes building the WebLogic Server and, if you wish to run an outbound call to the Tuxedo Server, the Tuxedo Server (WL_HOME/samples/examples/iiop/stateless/server/tux) as well.
Be sure to also take a look at the RMI client code.
set TOBJADDR=//172.17.14.29:2468
build.xml script provided
in the examples\iiop\ejb\stateless\rmiclient 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
build.xml. The client will run by executing
by executing:
java -Djava.security.manager -Djava.security.policy=java.policy examples.iiop.ejb.stateless.rmiclient.Client iiop://ip_address:7001 true
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/docs70 |
|||||