----------------------------------------------------------------
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!!!
----------------------------------------------------------------

Nicolas Leroy wrote:
> 
> Hello,
> I'm OK that STM is a bad solution, but how can I use
> the multi-threaded functionnalities of JServ?
> 
Hello,

just write thread-safe servlets, use connection pools, and put
synchronization only where needed.
With that your servlet will be safely used by as many concurrent threads
as needed.
That's all you need to benefit from Java's MT.
You should really read Jason Hunter's excellent book "Java Servlet
Programming" (see http://www.servlets.com) and be sure to understand
servlet life cycle.

Jean-Luc


--
--------------------------------------------------------------
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]

Reply via email to