Cron syntax with Java EE 5?

Posted by marabol on Stack Overflow See other posts from Stack Overflow or by marabol
Published on 2010-02-01T11:51:17Z Indexed on 2010/03/25 1:53 UTC
Read the original article Hit count: 506

Filed under:
|
|
|
|

Timer Tasks in Java EE are not very comfortable. Is there any util, to configure timer with cron syntax like "0 20 20 * * "?

I wonder, if it would be a good way to use Quartzinside (clustered) JEE application. According to http://www.prozesse-und-systeme.de/serverClustering.html (german page) there limits with Quartz and Java EE clustering:

  • JDBC must be used as job store for Quartz
  • Only cluster associated Quartz instances are allowed to use this JDBC job store
  • All cluster nodes must be synchronized to the split second
  • All cluster nodes must use the same quartz.properties file

I would prefer an easier way for configuration of timer service, instead an not Java EE managed scheduler.

© Stack Overflow or respective owner

Related posts about jee5

Related posts about timer