1. A computer-implemented method of batch processing in a batch component model within a distributed object environment, the computer-implemented method comprising: instantiating a batch component by a processor of a data processing system, for use with a batch job within the distributed object environment; initializing the batch component with a set of deployment descriptors and an instance of a batch container to form a contractual relationship between the batch component and the batch container, wherein the set of deployment descriptors is a set of declarative policies for the batch component; 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; dynamically computing by the batch container, for each use of a checkpoint interval, a size of the checkpoint interval for the batch job based on the set of deployment descriptors and other processing workloads; managing operation of the batch component in the batch component model by the batch container in accordance with the set of deployment descriptors and the other processing workloads; and committing, by the batch container on the processor, at an end of the checkpoint interval, checkpoint cursors and data of the batch job that are updated during the batch processing 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.
4. The computer-implemented method of claim 1 , further comprising computing the size of the checkpoint interval by the batch container based on a number of records in the checkpoint interval.