A distributed batch processing implementation using java threads