Back to Summer Batch home page

Job

A job represents a batch as a whole. It contains one or several steps that must run together as a flow. It can be launched, it can succeed or fail, and it may be restarted on failure. It is described in an XML document which specifies its name and its step flow.

Example 3.1. XML Job Configuration

<job id="PayorReport">
		<step id="CleanDatabase" next="GenerateReport">
				<batchlet ref="CleanDatabaseBatchlet" />
		</step>
		<step id="GenerateReport">
				<batchlet ref="GenerateReportBatchlet" />
		</step>
</job>

			

Back to Summer Batch home page