2 Replies Latest reply on Mar 26, 2008 5:40 PM by rocco82

    Seam Job scheduling on startup

    rocco82

      Hello,


      I want to implement a method, which does a particular job at a specific time. Therefor one can use the java TimerTask or Quartz, dunno which is better for me, but my question is: how can these methods can be triggert automatically?
      I don't want a button or some other ui stuff, the users should not start or stop the threads. They should be started when the application ist deployed and startet in the webserver (Jboss) and run until the server is shutted down.
      I thought about an onLoad function, but it doesn't make sense, because it would only start the threads when a page is loaded. Is there a good solution for this?
      Thanks for reading :-)