This content has been marked as final.
Show 2 replies
-
1. Re: Running code on deployment
euvitudo Nov 6, 2005 1:45 AM (in response to dsouza)I don't know if this is the best solution, but the way I do it is to instantiate the bean using a servlet. This way I can also allow dynamic configuration (stopping, starting, modifying the interval of, etc.) the timer through the same servlet. In the web.xml, include the load-on-startup tag with a 1.
-
2. Re: Running code on deployment
dsouza Nov 7, 2005 10:43 AM (in response to dsouza)Sounds good. Thanks! I'll try that.