examples.cluster.rmi
Class HelloClusterClient
java.lang.Object
|
+--examples.cluster.rmi.HelloClusterClient
- public class HelloClusterClient
- extends java.lang.Object
Client for simple clustered RMI service example.
- Author:
- Copyright (c) 1998-2000 by BEA Systems, Inc. All Rights Reserved.
Constructor Summary |
HelloClusterClient(java.lang.String[] args)
Constructor takes an array of args, gets an initial context, and gets
a remote reference to an RMI object. |
Method Summary |
static int |
getIterations()
|
java.lang.String |
hello()
|
static void |
main(java.lang.String[] inArgs)
Creates a Trade object and performs a specified number of
random trades on it. |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
iterations
public static int iterations
url
public static java.lang.String url
HelloClusterClient
public HelloClusterClient(java.lang.String[] args)
throws javax.naming.NamingException
- Constructor takes an array of args, gets an initial context, and gets
a remote reference to an RMI object.
getIterations
public static int getIterations()
hello
public java.lang.String hello()
throws weblogic.rmi.RemoteException
main
public static void main(java.lang.String[] inArgs)
- Creates a Trade object and performs a specified number of
random trades on it.
Copyright © 2000 BEA Systems, Inc. All Rights Reserved.