What is the simplest way to to wait for all tasks of ExecutorService to finish? My task is primarily computational, so I just want to run a large number of jobs
ExecutorService
A simple alternative to this is to use threads along with join. Refer : Joining Threads