WebLogic Server 6.1 Code Examples, BEA Systems, Inc.

examples.iiop.ejb.stateless.rmiclient
Class Client

java.lang.Object
  |
  +--examples.iiop.ejb.stateless.rmiclient.Client

public class Client
extends java.lang.Object

This class illustrates calling a stateless Session Bean and performing the following exercises:

Author:
Copyright (c) 1998 by WebLogic, Inc. All Rights Reserved., Copyright (c) 1998-2001 by BEA Systems, Inc. All Rights Reserved.

Constructor Summary
Client(java.lang.String url)
           
 
Method Summary
 void example()
          Runs this example.
static void main(java.lang.String[] args)
          Runs this example from the command line.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Client

public Client(java.lang.String url)
       throws javax.naming.NamingException
Method Detail

example

public void example()
             throws javax.ejb.CreateException,
                    java.rmi.RemoteException,
                    javax.ejb.RemoveException
Runs this example.

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Runs this example from the command line. Example:

java examples.iiop.ejb.stateless.rmiclient.Client iiop://hostname:port

The parameters are optional, but if any are supplied, they are interpreted in this order:

Parameters:
url - URL such as "iiop://localhost:7001" of Server

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

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