Hi

I recently noticed that some of my servlets have a strange behaviour
when concurential requests are made to them (mainly becase there are
some variables defined in those servlets).

I also recently found that by using "implements SingleThreadModel" i
avoid this problem (pretty much by synchronizing the doGet and doPost).
But this raises to me the problem that i won't be able to serve more
request from that servlet at (almost) the same time. The second request
will wait for the first one to completelly finish ...

Due to this, i'd like to combine "implements SingleThreadModel" with the
ability to somehow have multiple servlet instances, instead of just one.

By surfing the Interned i was driven to the conclusion that some servlet
engines have some configurations available in order to specify the max
number of instances for a single servlet class.

My question is if there is any version of Tomcat that have such a
feature available or not. If not, a simple answer saying so would be
good enough for me. If yes, i would apreciate a lot any guidelines that
you could have to drive me to the right direction.

Thanks in advance
    Razvan Dani
--
Razvan Dani
ARoBS Transilvania Software
- the outsourcing solution for your company !

11 Donath Str , M4 - 28
3400 Cluj-Napoca, Romania

Main:   +40 264 198 204
Fax:     +40 264 198 426
email:  [EMAIL PROTECTED]
www.ARoBS.com



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to