Java Web Application Configuration Patterns

前端 未结 10 721
夕颜
夕颜 2020-12-22 18:58

Are there any patterns or best practices that can be used to simplify changing configuration profiles for java web applications across multiple environments. e.g. JDBC URLs,

10条回答
  •  爱一瞬间的悲伤
    2020-12-22 20:01

    Please take a look at this URL: http://issues.apache.org/jira/browse/CONFIGURATION-394

    The Configuration framework which we're looking for it is something on top of Apache Commons Configuration and must support Concurrency Issues, JMX issues and most of stores(e.g .properties file, .xml files or PreferencesAPI).

    What weblogic team provides on 'Administration Console' is intersting which through it you can have transactional(atomic) updates on configurations so that are registered listeners be notified.

    The Apache guys insist that this project is out of scopes of Commons Configuration, maybe!

    I've attached a simple configuration framework, take look please.

提交回复
热议问题