📄 application-client_1_3.dtd
字号:
code.The following are the legal values of env-entry-type: java.lang.Boolean java.lang.Byte java.lang.Character java.lang.String java.lang.Short java.lang.Integer java.lang.Long java.lang.Float java.lang.DoubleUsed in: env-entryExample:<env-entry-type>java.lang.Boolean</env-entry-type>--><!ELEMENT env-entry-type (#PCDATA)><!--The env-entry-value element contains the value of an application client'senvironment entry. The value must be a String that is valid for theconstructor of the specified type that takes a single Stringparameter, or for java.lang.Character, a single character.Used in: env-entryExample:<env-entry-value>100.00</env-entry-value>--><!ELEMENT env-entry-value (#PCDATA)><!--The home element contains the fully-qualified name of the enterprisebean's home interface.Used in: ejb-refExample:<home>com.aardvark.payroll.PayrollHome</home>--><!ELEMENT home (#PCDATA)><!--The icon element contains small-icon and large-icon elements thatspecify the file names for small and a large GIF or JPEG icon imagesused to represent the parent element in a GUI tool.Used in: application-client--><!ELEMENT icon (small-icon?, large-icon?)><!--The large-icon element contains the name of a filecontaining a large (32 x 32) icon image. The filename is a relative path within the application client'sjar file.The image may be either in the JPEG or GIF format.The icon can be used by tools.Used in: iconExample:<large-icon>employee-service-icon32x32.jpg</large-icon>--><!ELEMENT large-icon (#PCDATA)><!--The remote element contains the fully-qualified name of the enterprisebean's remote interface.Used in: ejb-refExample:<remote>com.wombat.empl.EmployeeService</remote>--><!ELEMENT remote (#PCDATA)><!--The res-auth element specifies whether the application client code signson programmatically to the resource manager, or whether the Containerwill sign on to the resource manager on behalf of the application client. In thelatter case, the Container uses information that is supplied by theDeployer.The value of this element must be one of the two following: <res-auth>Application</res-auth> <res-auth>Container</res-auth>Used in: resource-ref--><!ELEMENT res-auth (#PCDATA)><!--The res-ref-name element specifies the name of a resource managerconnection factory reference. The name is a JNDI name relative to thejava:comp/env context. The name must be unique within an application client.Used in: resource-ref--><!ELEMENT res-ref-name (#PCDATA)><!--The res-sharing-scope element specifies whether connections obtainedthrough the given resource manager connection factory reference can beshared. The value of this element, if specified, must be one of thetwo following: <res-sharing-scope>Shareable</res-sharing-scope> <res-sharing-scope>Unshareable</res-sharing-scope>The default value is Shareable.Used in: resource-ref--><!ELEMENT res-sharing-scope (#PCDATA)><!--The res-type element specifies the type of the data source. The typeis specified by the fully qualified Java language class or interfaceexpected to be implemented by the data source.Used in: resource-ref--><!ELEMENT res-type (#PCDATA)><!--The resource-env-ref element contains a declaration of an application client'sreference to an administered object associated with a resourcein the application client's environment. It consists of an optionaldescription, the resource environment reference name, and anindication of the resource environment reference type expected bythe application client code.Used in: application-clientExample:<resource-env-ref> <resource-env-ref-name>jms/StockQueue</resource-env-ref-name> <resource-env-ref-type>javax.jms.Queue</resource-env-ref-type></resource-env-ref>--><!ELEMENT resource-env-ref (description?, resource-env-ref-name, resource-env-ref-type)><!--The resource-env-ref-name element specifies the name of a resourceenvironment reference; its value is the environment entry name used inthe application client code. The name is a JNDI name relative to thejava:comp/env context and must be unique within an application client.Used in: resource-env-ref--><!ELEMENT resource-env-ref-name (#PCDATA)><!--The resource-env-ref-type element specifies the type of a resourceenvironment reference. It is the fully qualified name of a Javalanguage class or interface.Used in: resource-env-ref--><!ELEMENT resource-env-ref-type (#PCDATA)><!--The resource-ref element contains a declaration of an application client'sreference to an external resource. It consists of an optionaldescription, the resource manager connection factory reference name,the indication of the resource manager connection factory typeexpected by the application client code, the type of authentication(Application or Container), and an optional specification of theshareability of connections obtained from the resource (Shareable orUnshareable).Used in: application-clientExample: <resource-ref> <res-ref-name>jdbc/EmployeeAppDB</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth> <res-sharing-scope>Shareable</res-sharing-scope> </resource-ref>--><!ELEMENT resource-ref (description?, res-ref-name, res-type, res-auth, res-sharing-scope?)><!--The small-icon element contains the name of a filecontaining a small (16 x 16) icon image. The filename is a relative path within the application client'sjar file.The image may be either in the JPEG or GIF format.The icon can be used by tools.Used in: iconExample:<small-icon>employee-service-icon16x16.jpg</small-icon>--><!ELEMENT small-icon (#PCDATA)><!--The ID mechanism is to allow tools that produce additional deploymentinformation (i.e., information beyond the standard deploymentdescriptor information) to store the non-standard information in aseparate file, and easily refer from these tool-specific files to theinformation in the standard deployment descriptor.Tools are not allowed to add the non-standard information into thestandard deployment descriptor.--><!ATTLIST application-client id ID #IMPLIED><!ATTLIST callback-handler id ID #IMPLIED><!ATTLIST description id ID #IMPLIED><!ATTLIST display-name id ID #IMPLIED><!ATTLIST ejb-link id ID #IMPLIED><!ATTLIST ejb-ref id ID #IMPLIED><!ATTLIST ejb-ref-name id ID #IMPLIED><!ATTLIST ejb-ref-type id ID #IMPLIED><!ATTLIST env-entry id ID #IMPLIED><!ATTLIST env-entry-name id ID #IMPLIED><!ATTLIST env-entry-type id ID #IMPLIED><!ATTLIST env-entry-value id ID #IMPLIED><!ATTLIST home id ID #IMPLIED><!ATTLIST icon id ID #IMPLIED><!ATTLIST large-icon id ID #IMPLIED><!ATTLIST remote id ID #IMPLIED><!ATTLIST res-auth id ID #IMPLIED><!ATTLIST res-ref-name id ID #IMPLIED><!ATTLIST res-sharing-scope id ID #IMPLIED><!ATTLIST res-type id ID #IMPLIED><!ATTLIST resource-env-ref id ID #IMPLIED><!ATTLIST resource-env-ref-name id ID #IMPLIED><!ATTLIST resource-env-ref-type id ID #IMPLIED><!ATTLIST resource-ref id ID #IMPLIED><!ATTLIST small-icon id ID #IMPLIED>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -