2 Replies Latest reply on Nov 7, 2005 10:43 AM by Denis Souza

    Running code on deployment

    Denis Souza Newbie


      I'm trying to get my application to set a timer to run whenever it's deployed. The timer will trigger a bean that does some periodic background work. I know how to set the timer, but I don't know how I can get the timer setting code to run upon deployment. Anyone know how this can be done?
      I'm thinking maybe there's even a better way to create a background process running in JBOSS but I don't know how to do it either. Any ideas?