We have a connection pooling comeponent(jar file) for one of our application. As of now the application connection details are bundled with-in the jar file(in .properties file).
Can we make it more generic? Can we have the client tell the properties file details(both the path and the file name) and use the jar to get the connection?
Does it make sense to have something like this in the client code..
XyzConnection con = connectionIF.getConnection(uname, pwd);
along with this, the client will specify(somehow???) the properties file details that has - the URLs to connect, timeout etc.