55. Batch Design Sequence Diagram batch Client batch Client J2EE Container J2EE Container Database Database 1: Start the Batch process 3: Get no.of threads and no.of jobs per thread parameters 5: returns 6: Get the list of SPRs/Jobs to be processed 8: returns a list of SPRs / Job Ids 9: Create No.of threads and pass the 'job list' as parameter 10: Each thread makes a call to a Bean method by sending the ' job list' as parameter 12: On completion, each thread ends here 11: Loop through each SPR/ Job Id within the 'job list' to process them 4: Retrieve the parameters 7: Retrive the SPRs/Job Ids 2: Create a Batch record with Start time 13: Update the Batch record with Status, end time