I have a question about threading.
I have an application that needs to have the ability to start a number of threads, all doing the same thing with different parameters. These parameters are defined in an external configuration file. I do not know how many threads I will need to start until I read the configuration file that defines this.
How might I solve this problem with spring? In a Spring-less application, I would simply create an object that implements runnable, pass my Task object to it and start the Thread. Should I do it the same way, or is there a more Spring like way of doing this.
Thank you for any help you can give.