There are more than one connections.

I have a number of Beans, each bean will have a number of prepared stmts.
For different stmts in one bean (one stmt mapped to one webservice call
indeed), do I need to use different connection ?

My plan was to share an open-connection within a bean, pooled connection
across beans. Will it exhaust the pool ?

On 12/11/06, Edoardo Panfili <[EMAIL PROTECTED]> wrote:

Ran wrote:
> Hi all,
> How does DBCP compare to application managed, single connection which
stays
> open to share ?
Do you realy need only one connection?
If you need more than one connection you must manage something like a
connection pool.

DBCP can help you also in application debug (logging connection not
closed)

Edoardo

--
[EMAIL PROTECTED]
AIM: edoardopn
Jabber: [EMAIL PROTECTED]
tel:075 9142766

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to