Is it possible to make a serialized connection object more secure? Currently it takes about 1.5 seconds to locate the userid, password, and such.
For security, the recommended approach would be to create the JNDI store with anonymous ConnectionFactories -- i.e. without the username or password stored. The application that retrieves the ConnectionFactory would add the username and password to the factory when they create the connection.