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

StatefulRun

public class StatefulRun extends Object

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

      InitialContext ctx = new InitialContext();
      StatefulRemote remote = (StatefulRemote) ctx.lookup("StatefulBean/remote");
      while (true)
      {
         remote.increment();
         Thread.sleep(10000);
      }