Re: Threads in Servlet2.3 container

2003-03-28 Thread Maksimenko Alexander
Actually, that's yes and yes. A single thread is used to process a single HTTP request (including all the filters on the filter chain, the ultimate call to the servlet, and any recursive calls via a RequestDispatcher). Quotes are from Servlet 2.4 PFD2, but it's the same in 2.3: *

RE: Threads in Servlet2.3 container

2003-03-27 Thread Shapira, Yoav
Howdy, Can I expect that the one thread is picked out for processing of the one user request ? For example can I hope that filters from the filter chain are invoked by the same thread? No and no. Do not make your design depend on these assumptions. How can I use JAAS as access controller for

Re: Threads in Servlet2.3 container

2003-03-27 Thread Maksimenko Alexander
Depends on which JAAS login module you use. I want to use JAAS for authorization purposes but not for authentification. So I don't plan to use login module. Do you say that it is impossible to use JAAS as access controller in servlet containers?

RE: Threads in Servlet2.3 container

2003-03-27 Thread Shapira, Yoav
Howdy, Do you say that it is impossible to use JAAS as access controller in servlet containers? Nope, I didn't say that. Anything is possible. I did ask that you start a new thread for this off-topic discussion. Yoav Shapira Millennium ChemInformatics This e-mail, including any

RE: Threads in Servlet2.3 container

2003-03-27 Thread Craig R. McClanahan
On Thu, 27 Mar 2003, Shapira, Yoav wrote: Date: Thu, 27 Mar 2003 09:28:40 -0500 From: Shapira, Yoav [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Threads in Servlet2.3 container Howdy, Can I expect that the one

RE: Threads in Servlet2.3 container

2003-03-27 Thread Shapira, Yoav
Howdy, Actually, that's yes and yes. A single thread is used to process a single HTTP request (including all the filters on the filter chain, the ultimate call to the servlet, and any recursive calls via a RequestDispatcher). Really?!? This is a guarantee of the spec, not a tomcat

RE: Threads in Servlet2.3 container

2003-03-27 Thread klute
-0500 From: Shapira, Yoav [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Threads in Servlet2.3 container Howdy, Can I expect that the one thread is picked out for processing of the one user request

Re: Threads in Servlet2.3 container

2003-03-27 Thread Erik Price
klute wrote: Interesting.. What about the following scenario: say you have a base servlet that implements some interface for your app. it has validate() and forward() methods which encapsulates some logic used by all servlets in your app. doGet() and doPost() are different though. so, say my

RE: Threads in Servlet2.3 container

2003-03-27 Thread Craig R. McClanahan
On Thu, 27 Mar 2003, Shapira, Yoav wrote: Date: Thu, 27 Mar 2003 12:10:40 -0500 From: Shapira, Yoav [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Threads in Servlet2.3 container Howdy, Actually, that's yes and yes

RE: Threads in Servlet2.3 container

2003-03-27 Thread Craig R. McClanahan
On Thu, 27 Mar 2003, klute wrote: Date: Thu, 27 Mar 2003 09:10:55 -0800 (PST) From: klute [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Threads in Servlet2.3 container Interesting.. What about the following scenario