|
WebLogic Server 7.0 Code Examples, BEA Systems, Inc. | |||||
See:
Description
| Interface Summary | |
| Hello | This interface is the remote interface. |
| Class Summary | |
| HelloClient | This client uses the remote HelloServer methods. |
| HelloImpl | This simple example is available as part of Sun's distribution package. |
This package takes the simple "HelloWorld" RMI example that is supplied in the RMI distribution from Sun to illustrate how easy it is to convert your RMI classes to use WebLogic RMI.
In this package the Remote interface "Hello," is implemented by the "HelloImpl" class. The "HelloClient" class invokes the Remote class from a simple java client.
Also included in this directory are build scripts for NT, Microsoft SDK for Java, and UNIX. The script compiles the files in this directory and runs the WebLogic RMI compiler on the implementation class.
There are detailed instructions on converting Sun RMI classes to use WebLogic RMI in the Developers Guide. The instructions here are brief and assume that you have or will look at the Developers Guide.
The following section describes how to build and run the examples:
We provide a build script for you to build the example:
The build script is build.xml.
Run the build script using the following Java ant command:
prompt>
ant
The script will build the example and place the files in the correct locations in your WebLogic Server distribution:
prompt> ant run
|
Documentation is available at http://e-docs.bea.com/wls/docs70 |
|||||