The DataLoader offer some capabilities that are not present in the other aspects of the REST API, including support for processing of durable queues, compressed files, recursive processing of directories, etc. Many of these features only work on files that can be read on the server's file system.
- Write a servlet wrapper for DataLoader main (lines 2192 to end of finally in DataLoader main())
- Write the output to the http response stream and log file.
- Consider ways of expressing the options to the data loader. The easiest is to just replicate the main() interface with URL query parameters, but we could also POST an XML description of the work to be performed.
Note: The data loader will block concurrent writers, but readers will not be blocked.