Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa JSP-Servlet SQL database parameters should save at where?

Have Programming Question? Ask it here!
 
 
 


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


Hi,

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?


Advertisement
View Answers

Related Tutorials/Questions & Answers:
Advertisements
Advertisements
 

 

 

DMCA.com