FileDocCategorySizeDatePackage
Client_82g.javaAPI DocExample846Thu May 16 07:44:26 BST 2002com.titan.clients

Client_82g

public class Client_82g 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("Test82HomeRemote");
         Test82HomeRemote home = (Test82HomeRemote)obj; 
         Test82Remote tester = home.create();
         String output = tester.test82g();
         System.out.println(output);
      }
      catch (Exception ex)
      {
         ex.printStackTrace();
      }