You could check if the thread is running when the web service is called and if not, start it.
This also has the advantage that if your thread finishes its work it can exit and next time you call the web service it will be re-started, to check whether there's any more work to do.
stephen
William Lee wrote:
Is it possible to start up a background process when the web service is first initialized? Most of the documentation I looked through just mention axis as a stub or front end to the application server. What I want to do is to start a scheduler background thread before my web service gets initialized. How do I do so?
Will
--
William (Will) Lee Email: [EMAIL PROTECTED]
Computer Science, University of Illinois at Urbana-Champaign
