« FireStorm/DAO 2.4 Release Candidate 1 | Main | Support for Apache Derby Embedded Database »

ResourceManager and Connection Pooling

FireStorm/DAO generates a ResourceManager.java source file which is responsible for connecting the database at runtime.

There are two different ResourceManager templates that ship with FireStorm/DAO - once based on JDBC (located in templates/jdbc) and one based on JNDI (located in templates/j2ee).

Both of these templates can be fully customizable. For example, you can modify the JDBC template to use a connection pooling library.

In the 2.4 GA release we will provide a choice of ResourceManager templates, including examples of connection pooling.

Please note that it is often simpler to use a version of your JDBC driver that already supports connection pooling.

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)