J2EE deployment files (application.xml)

application|j2ee|xml

<application>
The application element is the root element of a J2EE application deployment descriptor.

<icon>
The icon element contains a small-icon and a large-icon element which specify the location within the application for a small and large image used to represent the application in a GUI tool.

<small-icon>path/to/icon.gif</small-icon>
The small-icon element contains the location within the application of a file containing a small (16x16 pixel) icon image. The image must be either GIF or JPEG format and the filename must end with the extension of ".gif" or ".jpg".

<large-icon>path/to/icon.gif</large-icon>
The large-icon element contains the location within the application of a file containing a large (32x32 pixel) icon image. The image must be either GIF or JPEG format and the filename must end with the extension of ".gif" or ".jpg".

<display-name>The name.</display-name>
The display-name element specifies an application name. The application name is assigned to the application by the application assembler and is used to identify the application to the deployer at deployment time.

<description>A description.</description>
The description element provides a human readable description of the application. The description element should include any information that the application assembler wants to provide the deployer.

<module>
The module element represents a single J2EE module and contains an ejb, java, or web element, which indicates the module type and contains a path to the module file, and an optional alt-dd element, which specifies an optional URI to the post-assembly version of the deployment descriptor. The application deployment descriptor must have one module element for each J2EE module in the application package.

<ejb>pathToEJB.jar</ejb>
The ejb element specifies the URI of a ejb-jar, relative to the top level of the application package.

<java>pathToClient.jar</java>
The java element specifies the URI of a java application client module, relative to the top level of the application package.

<web>
The web element contains the web-uri and context-root of a web application module.

<web-uri>pathTo.war</web-uri>
The web-uri element specifies the URI of a web application file, relative to the top level of the application package.

<context-root>thedir/</context-root>
The context-root element specifies the context root of a web application.

<alt-dd>path/to/dd</alt-dd>
The alt-dd element specifies an optional URI to the post-assembly version of the deployment descriptor file for a particular J2EE module. The URI must specify the full pathname of the deployment descriptor file relative to the application's root directory. If alt-dd is not specified, the deployer must read the deployment descriptor from the default location and file name required by the respective component specification.

<security-role>
The security-role element contains the definition of a security role which is global to the application. The definition consists of a description of the security role, and the security role name. The descriptions at this level override those in the component level security-role definitions and must be the descriptions tool display to the deployer.

<description>A description.</description>
The description element provides a human readable description of the application. The description element should include any information that the application assembler wants to provide the deployer.

<role-name>nameOfRole</role-name>
The name of the role.

时间: 2024-11-02 10:42:17

J2EE deployment files (application.xml)的相关文章

J2EE deployment files (ejb-jar.xml)

j2ee|xml <ejb-jar> The ejb-jar element is the root element of the EJB deployment descriptor. It contains an optional description of the ejb-jar file, optional display name, optional small icon file name, optional large icon file name, mandatory stru

J2EE deployment files(web.xml)

j2ee|web|xml <web-app> This file contains the configuration for a web-application. <icon> The icon element contains a small-icon and a large-icon element which specify the location within the web application for a small and large image used to

J2EE deployment files(application-client.xml)

application|client|j2ee|xml <application-client> The application-client element is the root element of an application client deployment descriptor. The application client deployment descriptor describes the EJB components and external resources refe

J2EE deployment files(ejb-jar2.0.xml)

j2ee|xml <ejb-jar> The ejb-jar element is the root element of the EJB deployment descriptor. It contains an optional description of the ejb-jar file, optional display name, optional small icon file name, optional large icon file name, mandatory stru

ssh框架 application.xml中一个错误说我没有设着setter

问题描述 ssh框架 application.xml中一个错误说我没有设着setter 这是我的xml文件一部分 userdailService的get/set都写好了啊 下面是Useraction代码 package com.holy.action; import javax.servlet.http.HttpSession; import com.holy.service.*; import com.holy.modle.*; import org.apache.struts2.Servle

application xml- 关于在配置Application.xml文件报错

问题描述 关于在配置Application.xml文件报错 Application.xml文件报错 在网上搜了很多种解决方式,但是就是不管用. 错误如下: Class 'org.springframework.orm.hibernate4.LocalSessionFactoryBean' not found

springMVC项目,application.xml springmvc-servlet.xml

上一篇写的是web.xml配置文件. 现在说剩下的两个配置文件. application.xml    springmvc-servlet.xml 在controller中配置,@controller注解, 在配置文件中,需要配置  扫描注解. 扫描注解的配置,在 springmvc-servlet.xml 中.     在applicationContext.xml中配置 ,不起作用. <!-- 自动搜索@Controller标注的类 --> <context:component-sc

eclipse-javaweb 在配application.xml报错,tx跟aop无法识别

问题描述 javaweb 在配application.xml报错,tx跟aop无法识别 新建web工程报错The matching wildcard is strict, but no declaration can be found for element 'tx:advic <?xml version="1.0" encoding="UTF-8"?> xmlns:xsi="http://www.w3.org/2001/XMLSchema-i

J2EE Enterprise Beans(原文)

enterprise|j2ee Enterprise beans are the J2EE components that implement Enterprise JavaBeans (EJB) technology. Enterprise beans run in the EJB container, a runtime environment within the J2EE server (see Figure 1-5). Although transparent to the appli