WebLogic Server 6.0 Code Examples, BEA Systems, Inc.

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.

Field Summary
static int iterations
           
static java.lang.String url
           
 
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
 

Field Detail

iterations

public static int iterations

url

public static java.lang.String url
Constructor Detail

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.
Method Detail

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.

Documentation is available at
http://e-docs.bea.com/wls/docs60

Copyright © 2000 BEA Systems, Inc. All Rights Reserved.