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

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -