除了 Quartz(FOSS) 和 Flux(Commercial) 之外还有其他 Java 调度器吗
我有兴趣了解除了 Quartz 和 Flux 之外的其他作业调度包。鉴于网络框架过多,我发现实际上只有一个调度程序很奇怪。还有其他可能不那么出名或不受欢迎的吗?
SpringBatch:并不是真正的调度解决方案,而是而是批处理作业协调员等。
Spring Batch 与 Quartz 有何不同?解决方案中是否有两者兼备的地方?
Spring Batch 和 Quartz 有不同的目标。 Spring Batch 提供的功能 处理大量数据,Quartz 提供了调度任务的功能。 因此,Quartz 可以补充 Spring Batch,但并不排除技术。一个常见的 组合将使用 Quartz 作为使用 Cron 的 Spring Batch 作业的触发器 表达式和 Spring Core 便捷的 SchedulerFactoryBean。
I am interested in finding out about other job scheduling packages besides Quartz and Flux. Given the plethora of web frameworks i find it peculiar that there is really only one scheduler. Are there others that perhaps are not as well-known or popular?
SpringBatch: Not really a scheduling solution but rather a batch job coordinator etc.
How does Spring Batch differ from Quartz? Is there a place for them both in a solution?
Spring Batch and Quartz have different goals. Spring Batch provides functionality for
processing large volumes of data and Quartz provides functionality for scheduling tasks.
So Quartz could complement Spring Batch, but are not excluding technologies. A common
combination would be to use Quartz as a trigger for a Spring Batch job using a Cron
expression and the Spring Core convenience SchedulerFactoryBean.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
还有其他一些,只是不一定众所周知:
http://java-source.net/ open-source/job-schedulers
另外,正如我上面提到的,TimerTask 可以方便地执行简单的任务。
但我不得不承认 Quartz 做得很好——这也是它们最终被“收购”的原因之一。 jquery 是一种类似的众所周知的解决方案,您可能认为它比实际的要多。
There are others, just not as well known necessarily:
http://java-source.net/open-source/job-schedulers
Also, as I mentioned above, TimerTask can be handy for simple tasks.
But I have to admit Quartz did a great job - it's one of the reasons they were ultimately "bought". jquery is a similar type of well-known solution when you might think there'd be more than there actually are.
Quartz 很好,但只是一个 API。 Flux 的功能非常丰富,但更多的是关于工作流程而不是硬编码调度。另一个作业调度替代方案是 JobServer 及其开源 SDK soafaces。 soafaces 是一种构建模块化服务器端 java Tasklet 的方法。它还有很多调度规则和作业报告/监控 UI 内容。
Quartz is nice but just an API. Flux is pretty feature rich but more about workflow than hard-code scheduling. Another job scheduling alternative is JobServer with its open source SDK, soafaces. soafaces is a way to build modular server-side java Tasklets. It has lots of scheduling rules and job reporting/monitoring UI stuff also.