External properties file with Weblogic

前端 未结 5 633
我寻月下人不归
我寻月下人不归 2020-12-16 21:33

I\'m looking for the best way to use an external properties file with an application that is going to be deployed on Weblogic 10.3 server. I read a number of articles on the

5条回答
  •  [愿得一人]
    2020-12-16 22:10

    Approach #2

    Use Weblogic shared library

    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/programming/libraries.html

    Follow below steps

    • Package all your configuration as separate JAR during the build process
    • Deploy configuration JAR as shared library
    • Reference above shared library from your EAR/WAR
    • Deploy EAR/WAR (Configurations will be available in classpath)

提交回复
热议问题