I am trying to make a java application using netbeans. I want to enter the JDBC connection details(class name, hostname, username and password) at runtime, so that the application is more effective. Is there any way to do that?
If not in netbeans, then can it be done in eclipse?
By dynamically entering, the hostname, I mean the JDBC class name, hostname&port and username, password. My main aim is to enter these values from the frontend(java application itself). Can it be done? or I heard configuration files, if its not possible from front end, can anyone please tell how to use these create and use these configuration files?