title: using EJB 3.1 @Startup anotation in Tomcat 7.X.X
body: <pre><code>@Startup
  @Singleton
  public class TestTimer {
      private static int count = 0;
      @Schedule(second="*/10", minute="*", hour="*", info="MyTimer")
      public void execute() {
         System.out.println("its running count..."+count);
         count++;
      }
  }
  </code></pre>
  
  <p>I want this code run on Tomcat 7.x.x, please let me know what configuration is needed for in web.xml or ejb-jar.xml to run at startup.</p>