Results 1 to 2 of 2
- 07-18-2009, 05:09 AM #1
Member
- Join Date
- Jul 2009
- Posts
- 2
- Rep Power
- 0
Preserving web application configuration
Hello,
For the web applications I developed before I stored application setting (database connection information, logging parameters, etc) under WEB-INF directory. But because of that I cannot just redeploy the application when it needs to be updated, I have to either save these files, redeploy, and then restore them, or update manually, file by file, keeping application settings intact. I'm starting another web application and trying to figure out, maybe there is a better way? The application is supposed to be run under Tomcat but if there is a way to keep it application server agnostic - even better. Does anyone knows how application settings can be kept more easily?
Thank you,
Andrey
- 10-24-2009, 02:30 AM #2
Member
- Join Date
- Oct 2008
- Location
- US
- Posts
- 58
- Rep Power
- 0
Anythig inside WEB-INF dir is app specific. If you are looking for db connection which can be shared acrross apps then use app server connection pools using datasource.
Not sure if there is similar for logging exists.Have fun....
JAVA FAQs
Similar Threads
-
Deployment of JRE 6 u7 to desktop pc / Configuration
By rrathbun in forum New To JavaReplies: 0Last Post: 09-12-2008, 08:37 PM -
svn and configuration files
By caffeine in forum New To JavaReplies: 1Last Post: 08-21-2008, 04:14 AM -
How to use XML-based configuration metadata shortcuts
By JavaBean in forum Java TipReplies: 0Last Post: 09-26-2007, 08:38 PM -
How to set null value in Springs configuration file
By JavaBean in forum Java TipReplies: 0Last Post: 09-26-2007, 08:35 PM -
save configuration
By Peter in forum XMLReplies: 2Last Post: 07-04-2007, 07:40 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks