See the attached example.
It is mostly untested and you will need to modify it based on your specific requirements.
The idea is to have a map of RDCConnectors instead of a single connector.
All requests should include a DBName parameter which is the connector key.
The jdbc url is set like this:
Dim jdbc As String = config.Get("JdbcUrl")
jdbc = jdbc.Replace("$DB$", mDBName)
pool.Initialize(config.Get("DriverClass"), jdbc , config.Get("User"), _
config.Get("Password"))
Things to consider:
1. Security - how to prevent one account from accessing database of a different account.
2. Maintenance - how to update the list of accounts preferably without resetting the server.