java Weblogic 配置文件 - weblogic-application.xml、weblogic.xml、application.xml、web.xml
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/31078253/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Weblogic Config Files - weblogic-application.xml, weblogic.xml, application.xml, web.xml
提问by westandy
I am aware of the 4 configuration files we use for WebLogic:
web.xml
weblogic.xml
weblogic-application.xml
application.xml
我知道我们用于 WebLogic 的 4 个配置文件:
web.xml
weblogic.xml
weblogic-application.xml
application.xml
My original question is:
What is the purpose of each of these files?
我最初的问题是:
每个文件的目的是什么?
回答by Brian Ochs
The web.xml is the standard JEE descriptor for a WAR file. The application.xml is for the EAR file. The weblogic.xml and weblogic-appliation are WebLogic specific files for the WAR and EAR respectively. See sections A and B here:
web.xml 是 WAR 文件的标准 JEE 描述符。application.xml 用于 EAR 文件。weblogic.xml 和 weblogic-appliation 分别是 WAR 和 EAR 的 WebLogic 特定文件。请参阅此处的 A 和 B 部分: