All Examples This Package
java.lang.Object | +----examples.rmi.multihello.HelloImpl
The main() method registers 10 instances of this class in the RMI registry of the WebLogic Server. For this example, you should register this class as a startupClass in the weblogic.properties file, with the property:
weblogic.system.startupClass.multihello=examples.rmi.multihello.HelloImpl This will cause main() to be invoked when you start the WebLogic Server, and thus will instantiate 10 instances and register them in the RMI registry. In this example, the ClientApp Java application invokes the sayHello() remote methods on each of the remote instances of this calss multiple times via different protocols with WebLogic RMI.
public HelloImpl(String s) throws RemoteException
public String sayHello() throws RemoteException
public static void main(String args[])
All Examples This Package