Examples of ExampleTimer


Examples of org.jboss.tutorial.timer.bean.ExampleTimer

public class Client
{
   public static void main(String[] args) throws Exception
   {
      InitialContext ctx = new InitialContext();
      ExampleTimer timer = (ExampleTimer) ctx.lookup("ExampleTimerBean/remote");
      timer.scheduleTimer(5000);
      System.out.println("Timer scheduled to trigger after 5 seconds");
   }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.