Standalone example on jberet (jsr352)

前端 未结 3 1250
野趣味
野趣味 2021-01-24 18:50

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

All the time getting samples on using along with WildFly.

Surprised to see it looks fo

3条回答
  •  悲&欢浪女
    2021-01-24 19:49

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

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

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

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

提交回复
热议问题