I have code where I schedule a task using
java.util.Timer. I was looking around and saw
ExecutorService can do the same. So this question here, have you used
ExecutorService to schedule tasks, what is the benefit of one using over another?
Also wanted to check if anyone had used the
Timer class and ran into any issues which the
ExecutorService solved for them.