By jsugrue
via java.dzone.com
Published: Jan 12 2009 / 14:24
In a project I’m currently working on, I need to make some parameters configurable, and they need to be outside the .war file that I’m deploying. For example, let’s say I’m creating a service which reads data from some other RESTful service. And let’s say that the other RESTful service has two URLs, one for test and one for production. I’d like to be able to deploy my .war, and then edit a file outside of that .war file to configure which URL my service should be using.
Comments
whatelse replied ago:
Wouldn't it be better to just use JMX to modify 'properties' then? So that you aren't tied to any specific container?
Voters For This Link (8)
Voters Against This Link (0)