TOTD #9 explained how to configure JDBC connection pooling for Rails application deployed on GlassFish v2. There are several benefits of using using the JDBC connection pools:
- No need to create a new database connection for each Rails instance.
- No need to specify your password in database.yml or create a hack to hide it.
- No garbage collection of connection after each use.
The only way to deploy a Rails application on GlassFish v2 is to create a WAR file using Warbler. That's a [Read more...]