jakarta-eejava-batch

Java EE Batch API add batch dynamically


You can add batchs dynamically on a java application ee 7 batch? I.e.: upload the jar batch and application to add the new jar to the classpath and run it...


Solution

  • I think you could achieve this with JBeret witch is implementation of JSR 352 provided in JBoss WildFly.

    You can achieve add batchs dynamically simply by CDI and build jobs/batchs programatically: https://jberet.gitbooks.io/jberet-user-guide/content/programmatic_job_definition_with_java/index.html

    To manage like start, stop, view status I recommend JBeret: