java - 安排任务

标签 java jboss jakarta-ee ejb-3.0 jboss5.x

我正在使用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/

相关文章:

java - 基本 Netty 回显服务器 - 字符串编码器错误?

java - 控制台应用程序中出现延迟加载错误

java - 使用类名 Java 获取对象的引用

java - 无法处理部署的 POST_MODULE 阶段

java - JBoss bean 验证需要调用 EJB

Java REST/SOAP服务技术栈

java - 保持交易状态

java.lang.ClassNotFoundException : org. springframework.beans.factory.access.BeanFactoryReference

java - 如何从Redis客户端获取ttl Redisson键值

java - HashMap 有什么问题?