FileDocCategorySizeDatePackage
Client_81b.javaAPI DocExample846Mon May 13 05:35:30 BST 2002com.titan.clients

Client_81b

public class Client_81b 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("Test81HomeRemote");
         Test81HomeRemote home = (Test81HomeRemote)obj; 
         Test81Remote tester = home.create();
         String output = tester.test81b();
         System.out.println(output);
      }
      catch (Exception ex)
      {
         ex.printStackTrace();
      }