zoukankan      html  css  js  c++  java
  • application.xml

    application.xml Deployment Descriptor Elements

    The following sections describe the application.xml file.

    The application.xml file is the deployment descriptor for Enterprise Application Archives. The file is located in the META-INF subdirectory of the application archive. It must begin with the following DOCTYPE declaration:

    <!DOCTYPE application PUBLIC "-//Sun Microsystems, 
    Inc.//DTD J2EE Application 1.2//EN" 
    "http://java.sun.com/j2ee/dtds/application_1_2.dtd">
    

    The following diagram summarizes the structure of the application.xml deployment descriptor.

      application element icon element
     

    The following sections describe each of the elements that can appear in the file.


    application

    application is the root element of the application deployment descriptor. The elements within the application element are described in the following sections.

    icon

    The icon element specifies the locations of small and large images that represent the application in a GUI tool. This element is not currently used by WebLogic Server.

    small-icon

    Optional. Specifies the location for a small (16x16 pixel) .gif or .jpg image used to represent the application in a GUI tool. Currently, this is not used by WebLogic Server.

    large-icon

    Optional. Specifies the location for a large (32x32 pixel) .gif or .jpg image used to represent the application in a GUI tool. Currently, this element is not used by WebLogic Server.

    display-name

    Optional. The display-name element specifies the application display name, a short name that is intended to be displayed by GUI tools.

    description

    The optional description element provides descriptive text about the application.

    module

    The application.xml deployment descriptor contains one module element for each module in the Enterprise Archive file. Each module element contains an ejbjava, or web element that indicates the module type and location of the module within the application. An optional alt-dd element specifies an optional URI to the post-assembly version of the deployment descriptor.

    ejb

    Defines an EJB module in the application file. Contains the path to an EJB JAR file in the application.

    Example:

    <ejb>petStore_EJB.jar</ejb>
    

    java

    Defines a client application module in the application file.

    Example:

    <java>client_app.jar</java>
    

    web

    Defines a Web application module in the application file. The web element contains a web-uri element and a context-root element.

    web-uri

    Defines the location of a Web module in the application file. This is the name of the .war file.

    context-root

    Required. Specifies a context root for the Web application.

    Example:

    <web>
        <web-uri>petStore.war</web-uri>
        <context-root>estore</context-root>
    </web>
    

    security-role

    The security-role element contains the definition of a security role which is global to the application. Each security-role element contains an optional description element, and a role-name element.

    description

    Optional. Text description of the security role.

    role-name

    Required. Defines the name of a security role or principal that is used for authorization within the application. Roles are mapped to WebLogic Server users or groups in the application.xml deployment descriptor.

    Example:

    <security-role>
        <description>the gold customer role</description>
        <role-name>gold_customer</role-name>
    </security-role>
    <security-role>
        <description>the customer role</description>
        <role-name>customer</role-name>
    </security-role>
  • 相关阅读:
    自定义注解!绝对是程序员装逼的利器!!
    Java集合总结大全史上最强
    年轻人不讲武德,竟然还搞不懂JVM?求你们来看阿里Java开发岗的招聘要求吧!
    基于VisualStudio11开发Windows8的Direct2DMetro应用程序范例(2) 国际化文字展示
    现实世界的Windows Azure:采访SIVECO Romania的高级电子教学部门经理Florin Anton
    Microsoft Research和Windows Azure合作伙伴对数据发现和共享的影响
    Windows Azure安全信任中心启动了
    Windows Azure ISV博客系列:Tribe of Noise PRO
    基于Visual Studio2012实现Windows8的metro界面笔迹手写识别文档
    基于VisualStudio11开发Windows8的Metro sample讲解(1)MessageBox
  • 原文地址:https://www.cnblogs.com/kakaisgood/p/9681462.html
Copyright © 2011-2022 走看看