A batch can be launched by two ways:
// reading config from the configuration file Properties properties = PropertiesLoader.getProperties(BatchConfiguration.CONFIGURATION_FILENAME); // building of the configuration object BatchConfiguration config = new BatchConfiguration(properties); // initialization and launch of the batch BatchService service = new BatchService(); try { service.init(config); service.launch(); } catch (Exception e) { service.manageFatalError(e); ... }