pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John Lister <john.lister-ps@kickstone.com>
To: pgsql-jdbc@postgresql.org
Subject: Recommended resource type and settings for J2EE/Glassfish connection pool
Date: Wed, 6 Apr 2011 22:51:46 +0100
Message-ID: <02A1185E68DA479596BD9F56FD0CB637@squarepi.com> (raw)

Hi, what is the recommended/supported/best resource type to use with a J2EE server eg Glassfish for the connection pool? I'm currently using javax.sql.ConnectionPoolDataSource with PGSimpleDataSource as the class, however I would have thought an XADataSource would be better?

I seem to remember a while ago trying it but having quite a few problems so gave up, but want to look at this again from a performance point of view.


Also, what settings/parameters would anyone recommend either to the connection pool or the driver itself such as statement caching?

Thanks

John
--

Got needs? Get Goblin'! - http://www.pricegoblin.co.uk/

view thread (2+ messages)  latest in thread

Message-ID: <02A1185E68DA479596BD9F56FD0CB637@squarepi.com>
Permalink:  ../02A1185E68DA479596BD9F56FD0CB637@squarepi.com/
Also on:    postgresql.org/message-id/02A1185E68DA479596BD9F56FD0CB637@squarepi.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: john.lister-ps@kickstone.com
  Subject: Re: Recommended resource type and settings for J2EE/Glassfish connection pool
  In-Reply-To: <02A1185E68DA479596BD9F56FD0CB637@squarepi.com>
  References: <02A1185E68DA479596BD9F56FD0CB637@squarepi.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox