I found something at http://www.postgresql.org/docs/7.3/static/jdbc-datasource.html
Your suggestion is similar to what Struts In Action suggests, on page 125:
If your database management system provides its own DataSource that can be
used with Struts, you should consider using that implementation instead.
- Original Message -
From: "David Graham" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, November 03, 2003 3:10 AM
Subject: [OT] Re: What's the best choice for connection pooling with Struts and
PostgreSQL
>
> --- ZYD <[EMAIL PROTECTED]> wrote:
> > Dear all,
> >
> > I'm writing my Struts application using PostgreSQL as the backend
> > database. Could you give me some advice on choosing the connection
> > pooling framework/methods?
> >
> > I wrote my own connection pooling classes, but if there are some good
> > frameworks from jakarta, it definitely worth a try.
>
> Postgres provides its own implementation of the DataSource interface. You
> can find it here:
>
> http://jdbc.postgresql.org/
>
> David
>
> >
> > Any response is greatly appreciated.
> >
> > bruce
>