----- Original Message -----
From: Li Xu <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 18, 1999 7:40 PM
Subject: session & thread


> Hi, all,
> there's been some discussion about servlet session these days on this
mailing
> list. I am confused with the difference between session and thread. Can
anybody
> explain it to me?
> thanks.
> li
>
A servlet session is an object that is created, maintained and destroyed by
the Servlet Engine
usually during the lifetime of a series of related requests from a client.

A thread is a path of execution that executes in isolation from other
threads and is encapsulated
in a Java Thread object. Interactions between threads via side effects are
possible, happen all too frequently and
are a major cause of insanity in developers.

Andy Bailey

___________________________________________________________________________
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