0

I have an application in Java. Each time a new database is added we have to make changes in java file which reads from properties file and compile it
I want to make a property file and each time a new database is added just change in that file and application will run without recompiling it.
How is it possible, give me an example with sample code please

2
Contributors
1
Reply
2
Views
9 Years
Discussion Span
Last Post by stultuske
0

creating and maintaining a .properties file can be done in notepad. if it's a web application, you'll still need to re-create the .ear/.war / .. file and deploy it to your webserver

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.