>>> T Panton <[EMAIL PROTECTED]> 06/03/01 09:28:01 >>>

>We'd like to see some support for this in
>the servlet container, with threads started at
>startup an (possibly) serialized at shutdown.

There is support there if you really need to do it. Use init() and
destroy() to create and kill the thread.

In API 2.3 you should probably use a context attribute and context
lifecycle events (as Chris St.John  is recommending in his draft FAQ
on the subject).


In general it's frowned upon because the large number of people who
ask how to do this do so because they haven't understood how Servlets
or Threads work. When one has been asked the question about 50 times
one starts to get a bit wary of the questioner. As long as people know
what they're doing it's fine.


Nic

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to