Subject | Re: [Firebird-Java] Connection Pooling |
---|---|
Author | Roman Rokytskyy |
Post date | 2004-08-15T17:52:34Z |
> Sorry for such a simple question but if I am using J2SE 1.4 what isFBConnectionPoolDataSource is an implementation of the
> the most efficient (i.e. simplest) way to use the connection pool? I
> am currently using my own pool and wanted to try out the JayBird
> pool. FBConnectionPoolDataSource? FBWrappingDataSource? I'm a little
> confused by all the options.
javax.sql.ConnectionPoolDataSource. FBWrappingDataSource is a wrapper around
FBConnectionPoolDataSource and implements javax.sql.DataSource interface.
If you do not know what is ConnectionPoolDataSource and DataSource
interfaces, take the FBWrappingDataSource - it is a bit easier to use. See
the DataSource.java example how to use it.
Roman