Hi:
I am looking for any ideas/comments/suggestions on how a Windows
Service kind of functionality can be acheived from a web application
which which will run under IIS or for that matter any application
server say Tomcat. I have a Windows service which should run every half
hour and call four different methods in a Web Service in serial mode.
The methods will have to wait for the previous one to finish and if the
previous one is a really long process (say 15 minutes) the subsequent
method will not get invoked till the previous one gets finished. That
leaves us to either implement a Windows Service for each method (which
might be tough maintaining services as the number of methods increase)
or a MultiThreaded application so that each method will run in Parallel
in its own thread in the same service.
But, what we are particularly looking for is " Do we really need a
Windows Service to achieve this task?". Can it not be an application
that will start and run along with an Application Server since ASP.Net
has it own Timers Class and all of these scheduling activities can be
achieved using that? I am looking for any tips/suggestions or even if
this is possible at all?
Thanks.