----------------------------------------------------------------
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
Further to my previous comments.. you need to use JDBC connection pooling
to get the most effective Db access from servlets, and if implemented
correctly it is thread safe. Personally I prefer DBConnectionBroker
(JavaExchange).
Jon and others will nag you that it is singleton and the rest of it and of
course you could use Turbine if you have all week to familiarise yourself
with it and work around the currently broken examples.
hth
Chris
On Mon, 28 Aug 2000 17:33:48 +0400, 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?
>
>
>
>--
>--------------------------------------------------------------
>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]