我正在使用jboss5.1.x,EJB3.0
我需要在我的应用程序中安排任务。 根据我下面使用的版本,您建议我采用哪种方式?
我听说过 SAR,但我不确定现在是否有更合适或更新的方法来做到这一点
谢谢
射线。
最佳答案
我会推荐Quartz
Quartz is a full-featured, open source job scheduling service that can be integrated with, or used along side virtually any Java EE or Java SE application - from the smallest stand-alone application to the largest e-commerce system. Quartz can be used to create simple or complex schedules for executing tens, hundreds, or even tens-of-thousands of jobs; jobs whose tasks are defined as standard Java components that may execute virtually anything you may program them to do. The Quartz Scheduler includes many enterprise-class features, such as JTA transactions and clustering.
关于java - 安排任务,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4863074/