Link Details

Link 148071 thumbnail
User 185351 avatar

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.
  • 8
  • 0
  • 883
  • 182

Comments

Add your comment
User 353867 avatar

whatelse replied ago:

0 votes Vote down Vote up Reply

Wouldn't it be better to just use JMX to modify 'properties' then? So that you aren't tied to any specific container?

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (8)



Voters Against This Link (0)