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?