KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
We have a connection pooling component (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.
Tags (comma-separated)
Save Edits
Cancel