Spring Task Scheduler vs Quartz


Platform/Language: Java
Components Versions: Spring 3.0, Quartz 1.8.4

Go for Spring’s light weight task scheduler implementation, if you’ve just SIMPLE requirements..

  • run tasks once after specified time
  • schedule tasks to run repeatedly (fixed-rate as well as fixed delay)
  • scheduling tasks based on simple cron expressions, etc.

On the other hand, if you’ve COMPLEX requirements – say, you’ve promised to deliver enterprise-class features like Persistent triggers, Clustering, JTA Transactions, etc.Quartz scheduler is what you need.

About these ads

About this entry