FileDocCategorySizeDatePackage
StatelessRun.javaAPI DocJBoss 4.2.11471Fri Jul 13 20:54:42 BST 2007org.jboss.tutorial.clustering.client

StatelessRun

public class StatelessRun extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

      InitialContext ctx = new InitialContext();
      Session remote = (Session) ctx.lookup("SessionBean/remote");
      while (true)
      {
         remote.test();
         Thread.sleep(1000);
      }