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 referenced by the application client.

<icon>
The icon element contains a small-icon and large-icon element which specify the URIs for a small and a large GIF or JPEG icon image used to represent the application client in a GUI tool.

<small-icon>lib/images/employee-service-icon16x16.jpg</small-icon>
The small-icon element contains the name of a file containing a small (16 x 16) icon image. The file name is a relative path within the application-client jar file. The image must be either in the JPEG or GIF format, and the file name must end with the suffix ".jpg" or ".gif" respectively. The icon can be used by tools.

<large-icon>lib/images/employee-service-icon32x32.jpg</large-icon>
The large-icon element contains the name of a file containing a large (32 x 32) icon image. The file name is a relative path within the application-client jar file. The image must be either in the JPEG or GIF format, and the file name must end with the suffix ".jpg" or ".gif" respectively. The icon can be used by tools.

<display-name>The name</display-name>
The display-name element contains a short name that is intended to be displayed by tools.

<description>The description.</description>
A short description.

<env-entry>
The env-entry element contains the declaration of an enterprise bean's environment entries. The declaration consists of an optional description, the name of the environment entry, and an optional value.

<description>The description.</description>
A short description.

<env-entry-name>minAmount</env-entry-name>
The env-entry-name element contains the name of an enterprise bean's environment entry.

<env-entry-type>java.lang.String</env-entry-type>
The env-entry-type element contains the fully-qualified Java type of the environment entry value that is expected by the enterprise bean's code. The following are the legal values of env-entry-type: java.lang.Boolean, java.lang.String, java.lang.Integer, java.lang.Double, java.lang.Byte, java.lang.Short, java.lang.Long, and java.lang.Float.

<env-entry-value>100.00</env-entry-value>
The env-entry-value element contains the value of an enterprise bean's environment entry.

<ejb-ref>
The ejb-ref element is used for the declaration of a reference to an enterprise bean's home. The declaration consists of an optional description; the EJB reference name used in the code of the referencing application client; the expected type of the referenced enterprise bean; the expected home and remote interfaces of the referenced enterprise bean; and an optional ejb-link information. The optional ejb-link element is used to specify the referenced enterprise bean.

<description>The description.</description>
A short description.

<ejb-ref-name>ejb/Payroll</ejb-ref-name>
The ejb-ref-name element contains the name of an EJB reference. The EJB reference is an entry in the enterprise bean's environment. It is recommended that name is prefixed with "ejb/".

<ejb-ref-type>Entity/Session</ejb-ref-type>
The ejb-ref-type element contains the expected type of the referenced enterprise bean. The ejb-ref-type element must be one of the following: Entity Session

<home>com.aardvark.payroll.PayrollHome</home>
The home element contains the fully-qualified name of the enterprise bean's home interface.

<remote>com.wombat.empl.EmployeeService</remote>
The remote element contains the fully-qualified name of the enterprise bean's remote interface.

<ejb-link>EmployeeRecord</ejb-link>
The ejb-link element is used in the ejb-ref element to specify that an EJB reference is linked to an enterprise bean in the encompassing J2EE Application package. The value of the ejb-link element must be the ejb-name of an enterprise bean in the same J2EE Application package.

<resource-ref>
The resource-ref element contains a declaration of enterprise bean's reference to an external resource. It consists of an optional description, the resource factory reference name, the indication of the resource factory type expected by the enterprise bean code, and the type of authentication (bean or container).

<description>The description.</description>
A short description.

<res-ref-name>name</res-ref-name>
The res-ref-name element specifies the name of a resource factory reference.

<res-type>javax.sql.DataSource</res-type>
The res-type element specifies the type of the data source. The type is specified by the Java interface (or class) expected to be implemented by the data source.

<res-auth>Application/Container</res-auth>
The res-auth element specifies whether the enterprise bean code signs on programmatically to the resource manager, or whether the Container will sign on to the resource manager on behalf of the bean. In the latter case, the Container uses information that is supplied by the Deployer. The value of this element must be one of the two following: Application or Container

时间: 2024-12-10 21:03:02

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

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 applicatio

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

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标准的web application + web.xml

首先,提出一个问题,到底符合j2ee标准的web 应用程序是什么样的? 其实,我们看到的,就是一个目录.而他的目录结构是基本固定的: 1.WEB-INF  --这是对这个web的描述.在此目录下,会有如下文件:             web.xml   此文件必须的,该web app的配置文件.             lib     此文件可以有,该web app需要的库文件.             classes     可以有,存放编译好的servlet 文件. 2.META-INF

C# 调用cxf的webservice上传附件返回消息格式Content-Type: application/xop+xml;

问题描述 cxf服务器设置了<entrykey="mtom-enabled"value="true"/>属性来接收附件客户端是java的时候调用返回信息正常但是使用c#调用的时候返回信息中多了些前缀下面是完整信息------=_Part_0_9129144.1427966967432Content-Type:application/xop+xml;charset=UTF-8;type="text/xml";Content-Transf

XML和J2EE的完美结合

j2ee|xml 当前,Java 2平台企业版(J2EE)架构在厂商市场和开发者社区中倍受推崇.作为一种工具,可扩展标记语言(XML)简化了数据交换.进程间消息交换这一类的事情,因而对开发者逐渐变得有吸引力,并开始流行起来.自然,在J2EE架构中访问或集成XML解决方案的想法也很诱人.因为这将是强大系统架构同高度灵活的数据管理方案的结合.  XML的应用似乎是无穷无尽的,但它们大致上可以分为三大类:  ●简单数据的表示和交换(针对XML的简单API(SAX)和文档对象模型(DOM)语法解析,不同

XML和J2EE的组合技术

j2ee|xml 当前,Java 2平台企业版(J2EE)架构在厂商市场和开发者社区中倍受推崇.作为一种工具,可扩展标记语言(XML)简化了数据交换.进程间消息交换这一类的事情,因而对开发者逐渐变得有吸引力,并开始流行起来.自然,在J2EE架构中访问或集成XML解决方案的想法也很诱人.因为这将是强大系统架构同高度灵活的数据管理方案的结合.     XML的应用似乎是无穷无尽的,但它们大致上可以分为三大类:    * 简单数据的表示和交换(针对XML的简单API(SAX)和文档对象模型(DOM)语

J2EE and XML Development -Ebook download

J2EE and XML DevelopmentJ2EE and XML are important technologies in their own right, but applications that use them together benefit from their synergy. Java and J2EE make a powerful platform for building robust application logic. XML facilitates flex