All Examples This Package
Class examples.rmi.multihello.HelloImpl
java.lang.Object
|
+----examples.rmi.multihello.HelloImpl
- public class HelloImpl
- extends Object
- implements Hello
This remote class is can be invoked to print
"Hello" multiple times, by calling the main()
in the sayHello class.
- Author:
- Copyright (c) 1997-99 by BEA Systems. All Rights Reserved.
-
HelloImpl(String)
- Creates a HelloImpl with the specified string.
-
main(String[])
- Creates and binds 10 HelloImpl objects in the WebLogic Server
and binds each to a unique name.
-
sayHello()
- Returns the string message for a HelloImpl.
HelloImpl
public HelloImpl(String s) throws RemoteException
- Creates a HelloImpl with the specified string.
- Parameters:
- s - String message
- Throws: RemoteException
- if the impl cannot be created
sayHello
public String sayHello() throws RemoteException
- Returns the string message for a HelloImpl.
- Returns:
- String message
- Throws: RemoteException
- if there is an error
main
public static void main(String args[])
- Creates and binds 10 HelloImpl objects in the WebLogic Server
and binds each to a unique name.
All Examples This Package