When you create a connection pool that uses JDBC technology (a JDBC connection pool) in the Enterprise Server, you can define many of the characteristics of your database connections.
You can create a JDBC connection pool in one of these ways:
Use the asadmin create-jdbc-connection-pool command. For details, see the Sun GlassFish Enterprise Server v2.1.1 Reference Manual.
For a complete description of JDBC connection pool features, see the Sun GlassFish Enterprise Server v2.1.1 Administration Guide