SQL database parameters should save at where?



Share on Google+Share on Google+

AxE Law
SQL database parameters should save at where?
0 Answer(s)      5 years and 4 months ago
Posted in : JSP-Servlet


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?

View Answers

Related Tutorials/Questions & Answers: