Research and Comparison of Spring Task Schedule Methods

Xinmei Li · Intelligent Computer and Applications · 2012

Some tasks in web applications are often arranged in a special time.Spring provides various ways for task scheduling such as using by JDK Timer,by the concrete class which implements SchedulingTaskExecutor interface,by Quartz,by TaskScheduler,and by the annotation named @Scheduled.The paper studies and achieves that JDK Timer only supports simple Interval timing task:the concrete class of SchedulingTaskExecutor provides many kinds of execute mode for concurrent task.In additon,Quartz and TaskScheduler support time scheduling with Cron expression,and the latter also supports the definition of @Scheduled annotation.

Read the paper · More papers on PaperTik