jberet上的独立示例(jsr352) [英] Standalone example on jberet (jsr352)

查看:126
本文介绍了jberet上的独立示例(jsr352)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

反正有使用jberet作为独立模块执行批处理作业吗?

Is there anyway to use jberet as standalone module to execute Batch Jobs?

一直在获取与WildFly一起使用的样本.

All the time getting samples on using along with WildFly.

惊讶地看到它在尝试一些示例时正在寻找要加载实现的容器.

Surprised to see it looks for container to load implementations while trying some samples.

关于为什么/为什么没有帮助的任何见解

Any insights on why/why not would be helpful

推荐答案

这是一个如何在独立应用程序中使用jberet的教程: http://www.mastertheboss.com/batch-api/running-batch-jobs-in-j2se应用程序

Here is a tutorial how to use jberet in a standalone application: http://www.mastertheboss.com/batch-api/running-batch-jobs-in-j2se-applications

您需要包括各种jboss依赖项才能使其工作. 此外,您需要使用单独的jberet.properties配置jberet.

You'll need to include various jboss dependencies for it to work. Furthermore you need to configure jberet with a separate jberet.properties.

我已经根据教程构建了一个(希望)最小的示例应用程序. 您可以在这里找到它: https://github.com/kaape/jberet-standalone-example

I've build a (hopefully) minimal example application according to the tutorial. You can find it here: https://github.com/kaape/jberet-standalone-example

更多信息可以在jberet github存储库中找到: https://github.com/jberet

More information can be found in the jberet github repository: https://github.com/jberet

这篇关于jberet上的独立示例(jsr352)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆