----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
I'm no Apache guru, however to synchronise data access you use the
"sychronised" function keyword
Also I am not sure about Apache but in the case of JavaWebServer, even though my
servlet is STM it loads a number of instances of the servlet but will only execute one
thread at a time. Sun have info on this on there web site in the developer section.
I can't test this on my Apache cos I can't get darn JServ running yet:P aaaah!!
hth
Chris
On Thu, 27 Apr 2000 12:24:26 +0530, [EMAIL PROTECTED] wrote:
>----------------------------------------------------------------
>BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
>WHEN YOU POST, include all relevant version numbers, log files,
>and configuration files. Don't make us guess your problem!!!
>----------------------------------------------------------------
>
>Hi,
>
>I am using Apache 1.3.9, Jserv on Redhat 6.0.
>As I understand, Single thread model means only one single therad wil
>process all the requests in teh webserver.
>But even though I make my servlet to implement STM, I see different thread
>ids for each request - what does this mean?
>Also what do the single thread model - number of threads mean in
>zone.properties file!!
>
>What do i have to do to have a completely serial access to my data??
>Where do I specify the number of connections that the server can acept
>while waiting to fulfill previous request?
>
>Thanks in advance
>Parul
>
>
>
>
>--
>--------------------------------------------------------------
>Please read the FAQ! <http://java.apache.org/faq/>
>To subscribe: [EMAIL PROTECTED]
>To unsubscribe: [EMAIL PROTECTED]
>Archives and Other: <http://java.apache.org/main/mail.html>
>Problems?: [EMAIL PROTECTED]
>
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]