Java Web Application Configuration Patterns

前端 未结 10 706
夕颜
夕颜 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 19:41

    You can use the Component Configuration Pattern in your language of choice

    It is described in the POSA books (I think that in the 4th volume)

    (in java you can use the commons-configuration component ).

提交回复
热议问题