Application wide configuration [message #936971] |
Mon, 08 October 2012 14:31 |
Seth Helstrip Messages: 22 Registered: September 2012 |
Junior Member |
|
|
Bit of a OSGi application design type question here.
I was thinking about creating a configuration module, for use by our application. The idea being that this configuration module, contains, all the name/value pairs, used by the application. Things like, db connection details, server name, webservice end-points, etc. I was thinking that we could build a different module for each environment, Integration, UAT, SIT, Prod, etc. And that way, switch the applications deployment environment, simply by changing the deployed configuration module.
Had a hunt through the docs, but nothing really focusing on architecture there. Realatively new to this OSGi game - so was wondering whether maybe blueprint provides something like this, out-of-the-box, or whether this is generally regarded as a good or bad approach to the problem. I can see arguments for both.
What's your opinion?
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03445 seconds