Currently the information regarding the SQL databases are hard coded into the script, Assuming the script will be running for very long time, I like to move the SQL database parameters to the file and read using JAVA I/O
and allow user to edit the file, if there is a database changed (hostname, username or password)
It should not have any problem, but with this changes. it meant this file will be read for every loading of servlet...
Is this the smarter way to use in the "real system" and will the reading on the local file shorten the disk scetor life span?
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.