lilian-benoit / jberet-support

Reusable Components for Common Batch Processing Tasks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overview

This module provides reusable batch components for common batch tasks. To use a jberet-support batch component, you will typically need to do the following:

  • include dependencies needed by the component;
  • reference the component in job XML in either of the following ways:
    • by its CDI bean name, typically the short class name de-capitalized;
    • by the name declared for the component in batch.xml in your application;
    • by the fully-qualified class name of the component.
  • configure any batch properties in job XML for the component.

The following is a list of reusable components in jberet-support:

Documentation

JBeret Docs contains JBeret User Guide and jberet-support Java Docs, which describes how to use and configure jberet-support batch components.

Build and Test

All tests in this module run batch jobs in Java SE environment, and therefore no application server is needed. There are 2 maven profiles for different testing setup:

  • allTests: include tests that need MongoDB server running, and so users will need to start MongoDB server before running these tests;
  • default: exclude all tests that need additional server running.

To clean, build, and run the default maven profile:

mvn clean install

To clean, build, and run allTests maven profile:

[in a separate terminal]
$MONGO_HOME/bin/mongod

mvn clean install -PallTests

Other Examples

About

Reusable Components for Common Batch Processing Tasks

License:Eclipse Public License 2.0


Languages

Language:Java 100.0%