I want to have a background thread that is crunching data in the
background of my web app.
I am aware of <load-on-startup/> in the deployment descriptor of a web
app. I could start the thread in one of these servlets that load on
startup. But this doesn't seem proper... the servlet will handle
requests when I know that there will never be any. It is extra
overhead that goes to waste.
It seems that there would be hooks some where in the web container
that I could use to create POJOs and they could in turn start the
thread. Are there any, especially specified in web.xml?
_______________________________________________
ajug-members mailing list
ajug-members@...
http://www.ajug.org/mailman/listinfo/ajug-members