Quartz vs Java EE 7 scheduler -
i'm java ee developer has used until frameworks quartz schedule tasks. can see java ee 7 features managedscheduledexecutorservice schedule single or repeating tasks. have never used in real projects new features wonder if there still advantages of using quartz (or others) when have portable way ?
thanks!
i believe in future projects, there's no need use third-party libraries. java ee 7 full of scheduling features. besides new managedscheduledexecutorservice
, there's schedule
annotation single , periodic repeating tasks , timeout
annotation create timers programmatically. imo new managed scheduled service better suited single delayed tasks or create job chain delays betweens specific tasks.
you can find more java ee timer service (schedule
, timeout
) java ee 6 or java ee 7.
on side note, if ever try clustering application, it's relatively easy setup schedule
-like timers run globally, instead of once per node - plus.
Comments
Post a Comment