>>> Varalakshmi Allamaraju <[EMAIL PROTECTED]> 23-May-00
5:02:21 AM >>>

>As long as you don't use any resources maintained by the
>container (request/response objects, session objects,
>context etc.), you're safe.
>This is because, all these resources are not guaranteed to
>be available outside the context of a request.

That is not true.

1. request/response object can be kept if you want (but I can't see
why you would want)
2. once a handle to a session has been obtained it is quite legal to
manipulate it outside of a request
3. the servlet context is specifically available for things olike sub
threads to use


>Keeping the original intent of servlets in mind- I would not
implement
>such things. The rest is a matter of choice.

You may have to... some requirements force you to use a thread.

Just because you haven't come up against the problems don't dismisss
the solutions.



Nic Ferrier

___________________________________________________________________________
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