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.
And because of the above mentioned (and other reasons) an
improved application performance, scalability and
efficiency.
The only way to deploy a Rails application on GlassFish v2
is to create a WAR file using …