FileDocCategorySizeDatePackage
Client_71b.javaAPI DocExample846Sun Apr 14 02:57:20 BST 2002com.titan.clients

Client_71b

public class Client_71b extends Object

Fields Summary
Constructors Summary
Methods Summary
public static javax.naming.ContextgetInitialContext()

      return new InitialContext();
   
public static voidmain(java.lang.String[] args)

      try
      {
         // obtain CustomerHome
         Context jndiContext = getInitialContext();
         Object obj = jndiContext.lookup("Test71HomeRemote");
         Test71HomeRemote home = (Test71HomeRemote)obj; 
         Test71Remote tester = home.create();
         String output = tester.test71b();
         System.out.println(output);
      }
      catch (Exception ex)
      {
         ex.printStackTrace();
      }