1 Reply Latest reply on Oct 14, 2006 4:41 PM by Elias Ross

    Timer in JBOSS

    mike golan Newbie

      hello everybody,

      i have a problem:
      i need to make a timer for my application that send one mail to the
      admin at every months end.. so i ahev a timer class that do this.
      my question is...how and where can i define this timer ??
      that when the application is deployed should this timer start to work....
      i was trying at a class that implements the ServletContextListener interface,
      but the timer in this moment still null... so how can i do it??
      should i add something to web.xml or other xml-file?? where and how??


      plz help if u have an idea...

      thank u