Changes for deploying two appication which reads from same properties file

Reply

Join Date: Feb 2008
Posts: 5
Reputation: sr0867 is an unknown quantity at this point 
Solved Threads: 0
sr0867 sr0867 is offline Offline
Newbie Poster

Changes for deploying two appication which reads from same properties file

 
0
  #1
Oct 21st, 2008
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
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 706
Reputation: stultuske is a jewel in the rough stultuske is a jewel in the rough stultuske is a jewel in the rough 
Solved Threads: 84
stultuske's Avatar
stultuske stultuske is offline Offline
Master Poster

Re: Changes for deploying two appication which reads from same properties file

 
0
  #2
Oct 21st, 2008
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC