I have a standalone program, which needs to be converted into a windows service flavor. I know I can make a thread schedular which continiously runs into memory and runs particular query(my requirement) every minute or so. I am trying to gather ideas here for the best implementation/approach.
No, but then you asked for a "Windows Service" type application, so I don't think Ulas Ergin is out of place suggesting it.
If you want a cross platform approach to writing a daemon process that you can background (by whatever method your particular OS supports) you could just use a java.util.Timer. [ January 26, 2006: Message edited by: Paul Sturrock ]