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.

Constructor Index

 o HelloImpl(String)
Creates a HelloImpl with the specified string.

Method Index

 o main(String[])
Creates and binds 10 HelloImpl objects in the WebLogic Server and binds each to a unique name.
 o sayHello()
Returns the string message for a HelloImpl.

Constructors

 o 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

Methods

 o sayHello
 public String sayHello() throws RemoteException
Returns the string message for a HelloImpl.

Returns:
String message
Throws: RemoteException
if there is an error
 o 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