best place to put properties file in IBM websphere 8.5?

后端 未结 6 729
说谎
说谎 2020-12-31 16:06

In our existing application properties file is embedded in a jar file ,we decided to move properties file outside of ear(application) , what is the best place to put propert

6条回答
  •  甜味超标
    2020-12-31 16:40

    Database is the best place to put the properties if the property values are not specific to one node of the cluster or the property value is a password. For properties like passwords I would suggest you set up the property values as jndi properties in the WAS. Use commons configuration to read from both the sources. Have a .property file in your codebase that will override the values from both db and jndi. That way your developers can override the db/jndi values in development.

提交回复
热议问题