SQL database parameters should save at where?

SQL database parameters should save at where?

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?

View Answers









Related Tutorials/Questions & Answers:
SQL database parameters should save at where?
code save word file in 10g database - SQL
Advertisements
what is proper way to save pictures in SQl database and call it through JSP ?
SQL IN Parameters
Why Should I Learn SQL?
Why Should I Learn SQL?
Why Should I Learn SQL?
Why Should I Learn SQL?
In and Out parameters - SQL
Should I learn SQL or MySQL first
Should I learn SQL or MySQL first
Save Table - SQL
sql database
supplying values to in parameters of stored procedure in ms sql and displaying out parameters
database(sql)
database - SQL
database - SQL
database - SQL
DataBase connection with sql - Struts
How to save database data into excelsheet using hibernate
Transfer Data to Sql Database
What should I learn first SQL or Java?
Database Sql question? - WebSevices
how to import excel sheet into mysql database and save it as a table in database
how to save uploaded image in database using javascript
Should I learn SQL or Python first?
Save JRadioButton Text in to database - Java Beginners
Insert image from user using and save in database
database connection - SQL
Import Data to SQL database in Java
creation of database - SQL
save switch data into database - Java Beginners
MySql database - SQL
Database - mysql - SQL
SQL Alter Database
Creating Database - SQL
Create Database in SQL,SQL Tutorial
Save profile and image to mysql database, and view the image in another jsp page
How to save excel sheet into mysql database using blob or clob
Migrating sql database to Access through coding
How to save form fields into the MySql Database without submit button in jsp?
How save,get picture from database in my jsp page?
i want to save image on server folder. and i want to save URL of this folder and name of image in database
ModuleNotFoundError: No module named 'sql-database-service'
Java save file to database
How i upload file and save that record in database using JSP?
SQL Database Analyst
DataBase connectivity in java with Microsoft sql server2000 - JDBC
save multiple records into database using jsp/servlet mvc
Database connection sql server 2005 - JDBC

Ads