----------------------------------------------------------------
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!!!
----------------------------------------------------------------
Alexey Maksakov 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!!!
> ----------------------------------------------------------------
>
> Is subj. still takes place in ApacheJSSI?
>
> If it so, can anybody advice how to organize correct work with database
> connections
> (using JDBC2.1) when you plan to have heavy request load on your servlets.
> With general servlets I found SingleThreadModel convinient to run concurrent
> database queries
> (from different servlets) (By the way - is this approach correct? or I will
> have perfomance/stability problems?), however, I fear that such a way is
> impossible in JSSI.
>
> Any ideas?
Use a connection pooler for JDBC and make all your servlets re-entrant (use
procedural non-object-oriented code only, no static or instance variables, or
use factories)
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Search Archives:
> <http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
> Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]