当前位置:编程学习 > JSP >>

J2EE deployment files (application.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>
补充:Jsp教程,J2EE/EJB/服务器 
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,