Re: Jdbc connection pooling without app/J2ee server
From: Joe Weinstein (joeNOSPAM_at_bea.com)
Date: 04/02/04
- Next message: Sue Purkis: "Re: SQL Server 2k JDBC Driver for Win NT"
- Previous message: John Harkin: "Jdbc connection pooling without app/J2ee server"
- In reply to: John Harkin: "Jdbc connection pooling without app/J2ee server"
- Next in thread: John Harkin: "Re: Jdbc connection pooling without app/J2ee server"
- Reply: John Harkin: "Re: Jdbc connection pooling without app/J2ee server"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 02 Apr 2004 07:00:07 -0800 To: John Harkin <john.harkin@singularity.co.uk>
John Harkin wrote:
> Hi,
> I'm pretty new to JDBC so bare with me.
> If using Jdbc outside of an application/J2ee server with the Microsoft
> Jdbc driver what is teh correct procedure/code for ensuring
> connections are pooled.
> I've seen quite a few posts about this but to be honest mostly of
> little use.
> A code snippet would be great.
>
> Some of my colleagues have saud you don't get pooling without a
> application/J2ee server , is this correct?
>
> Regards
Hi.
Some drivers will offer an internal pooling feature, which can be
useful for long-running applications that use lots of connections,
opening and closing them frequently. If the app's JVM process is
short-lived, or just opens connections and keeps them until it exits,
then pooling in the driver won't be able to help.
In any case, the free MS driver has no internal connection pooling.
Joe Weinstein at BEA
- Next message: Sue Purkis: "Re: SQL Server 2k JDBC Driver for Win NT"
- Previous message: John Harkin: "Jdbc connection pooling without app/J2ee server"
- In reply to: John Harkin: "Jdbc connection pooling without app/J2ee server"
- Next in thread: John Harkin: "Re: Jdbc connection pooling without app/J2ee server"
- Reply: John Harkin: "Re: Jdbc connection pooling without app/J2ee server"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|