Alex Rivera | Logout

How do you maintain java webapps in different staging environments?

Asked 2008-09-18T16:05:09.000
12

You might have a set of properties that is used on the developer machine, which varies from developer to developer, another set for a staging environment, and yet another for the production environment.

In a Spring application you may also have beans that you want to load in a local environment but not in a production environment, and vice versa.

How do you handle this? Do you use separate files, ant/maven resource filtering or other approaches?

Edit
Report

1 Answer

0

Don't forget to investigate PropertyPlaceholderConfigurer - this is especially useful in environments where JNDI is not available

answered 2008-09-27T08:35:39.123

Your Answer