Milleniumlegend
IS-IT--Management
- Dec 16, 2003
- 135
I am writing an application that would perform a set of tasks such as FTP then email if the FTP is successful as well as Archiving of the Files if successful.
I am thinking of writing a thread which uses the methods from these class to FTP, Email, Archive and Log Events.
What is the best option to use using a Thread pool or a create a new thread for everytime these sequence of tasks is generated.
The workflow is such that whenever there is a new file submitted to the directory these tasks need to be performed.
Does these threads die after they are executed or do they remain in an inactive state?
Many Thanks
I am thinking of writing a thread which uses the methods from these class to FTP, Email, Archive and Log Events.
What is the best option to use using a Thread pool or a create a new thread for everytime these sequence of tasks is generated.
The workflow is such that whenever there is a new file submitted to the directory these tasks need to be performed.
Does these threads die after they are executed or do they remain in an inactive state?
Many Thanks