Wednesday, May 18, 2011

Scheduler Jobs in JBoss AS

If you are interested in scheduling tasks in JBoss AS, there are few pointers that you should look at and choose:

1) Quartz Scheduler
The EJB3 subsystem has quartz integration that you may want to utilize.

http://docs.jboss.org/ejb3/docs/tutorial/1.0.7/html/Quartz_scheduler_integration.html



http://community.jboss.org/wiki/HowtoconfigureaQuartzservice


Reference: http://www.quartz-scheduler.org/

2) Use java.util.Timer
You will need to create your own instances of timer tasks in your application.

3) JBoss Scheduler


http://docs.jboss.org/jbossas/docs/Server_Configuration_Guide/4/html/Additional_Services-
Scheduling_Tasks.html


Section 10.7 and 10.8 of http://docs.jboss.org/jbossas/docs/Server_Configuration_Guide/4/html/index.html