I read the Timer section within the EJB3 specifications and find it very useful to invoke repeated tasks. Just how does one invoke the scheduler on application server / domain startup. Instead of having to call a service of the bean or use the @PostConstruct hook, I would like my Timer to be started on application deployment / server startup.
After some experimentation I though about using a scheduled MBean to fire up my Timer by calling a suitable method on my bean. I am still looking for a solution to package my SAR which contains the MBEAN file and make it dependent on the EAR file being deployed. Alex View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923769#3923769 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3923769 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
