12. A computer-implemented method of batch processing with a batch container of a batch component model in a distributed object environment, the computer-implemented method comprising: forming a contractual relationship between a batch component and the batch container; wrapping the contractual relationship between the batch component and the batch container to form an adapter, wherein the adapter isolates the batch component from different implementations of the batch container; computing, by the batch container on a processor of a data processing system, for each use of a checkpoint interval, a size of the checkpoint interval for a batch component of a batch job based on a set of deployment descriptors and other processing workloads, wherein the set of deployment descriptors is a set of declarative policies for the batch component; running the batch component within the checkpoint interval, by the processor; and upon completion of the checkpoint interval, committing by the batch container, data updated during the checkpoint interval and at least one checkpoint cursor to a storage of the data processing system, wherein context information, including the size of the checkpoint interval and resource dependencies, is persisted and passed to downstream batch containers.
12. A computer-implemented method of batch processing with a batch container of a batch component model in a distributed object environment, the computer-implemented method comprising: forming a contractual relationship between a batch component and the batch container; wrapping the contractual relationship between the batch component and the batch container to form an adapter, wherein the adapter isolates the batch component from different implementations of the batch container; computing, by the batch container on a processor of a data processing system, for each use of a checkpoint interval, a size of the checkpoint interval for a batch component of a batch job based on a set of deployment descriptors and other processing workloads, wherein the set of deployment descriptors is a set of declarative policies for the batch component; running the batch component within the checkpoint interval, by the processor; and upon completion of the checkpoint interval, committing by the batch container, data updated during the checkpoint interval and at least one checkpoint cursor to a storage of the data processing system, wherein context information, including the size of the checkpoint interval and resource dependencies, is persisted and passed to downstream batch containers. 16. The computer-implemented method of claim 12 , further comprising: before running the batch component within the checkpoint interval, allocating resources to be used by the batch component during the checkpoint interval and locking the resources by the batch container.