Dummy example of looping
(3)
Example of looping over asynchronous services. The dummy beanshell scripts represents the operations of an asynchronous submit-status-results style service, such as EBI's InterProScan and NCBI Blast.
createJob creates a temporary file with the content "0". Filename retuirned as a "job ID".
checkStatus reads the job, and return state "RUNNING" as long as the content is less than 10, increasing the number for each call. (As no actual job is being run)
getResults reads the file content, with...
Created: 2010-01-27
| Last updated: 2013-10-08
Credits:
Stian Soiland-Reyes