📄 application-client_1_3.dtd
字号:
<!--Copyright (c) 2000 Sun Microsystems, Inc.,901 San Antonio Road,Palo Alto, California 94303, U.S.A.All rights reserved.Sun Microsystems, Inc. has intellectual property rights relating totechnology embodied in the product that is described in this document.In particular, and without limitation, these intellectual propertyrights may include one or more of the U.S. patents listed athttp://www.sun.com/patents and one or more additional patents orpending patent applications in the U.S. and in other countries.This document and the product to which it pertains are distributedunder licenses restricting their use, copying, distribution, anddecompilation. This document may be reproduced and distributed but maynot be changed without prior written authorization of Sun and itslicensors, if any.Third-party software, including font technology, is copyrighted andlicensed from Sun suppliers.Sun, Sun Microsystems, the Sun logo, Java, JavaServer Pages, JavaNaming and Directory Interface, JDBC, JDK, JavaMail and andEnterprise JavaBeans are trademarks or registered trademarks of SunMicrosystems, Inc. in the U.S. and other countries.Federal Acquisitions: Commercial Software - Government Users Subject toStandard License Terms and Conditions.DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIEDCONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIEDWARRANTY OF MERCHANTABILITY, FITNESS FOR FOR A PARTICULAR PURPOSE ORNON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCHDISCLAIMERS ARE HELD TO BE LEGALLY INVALID._________________________________________________________________________Copyright (c) 2000 Sun Microsystems, Inc.,901 San Antonio Road,Palo Alto, California 94303, E'tats-Unis.Tous droits re'serve's.Sun Microsystems, Inc. a les droits de proprie'te' intellectuelsrelatants a` la technologie incorpore'e dans le produit qui est de'critdans ce document. En particulier, et sans la limitation, ces droits deproprie'te' intellectuels peuvent inclure un ou plus des brevetsame'ricains e'nume're's a` http://www.sun.com/patents et un ou lesbrevets plus supple'mentaires ou les applications de brevet en attentedans les E'tats-Unis et dans les autres pays.Ce produit ou document est prote'ge' par un copyright et distribue'avec des licences qui en restreignent l'utilisation, la copie, ladistribution, et la de'compilation. Ce documention associe n peute^tre reproduite et distribuer, par quelque moyen que ce soit, sansl'autorisation pre'alable et e'crite de Sun et de ses bailleurs delicence, le cas e'che'ant.Le logiciel de'tenu par des tiers, et qui comprend la technologierelative aux polices de caracte`res, est prote'ge' par un copyright etlicencie' par des fournisseurs de Sun.Sun, Sun Microsystems, le logo Sun, Java, JavaServer Pages, JavaNaming and Directory Interface, JDBC, JDK, JavaMail et andEnterprise JavaBeans sont des marques de fabrique ou des marquesde'pose'es de Sun Microsystems, Inc. aux E'tats-Unis et dans d'autrespays.LA DOCUMENTATION EST FOURNIE "EN L'E'TAT" ET TOUTES AUTRES CONDITIONS,DECLARATIONS ET GARANTIES EXPRESSES OU TACITES SONT FORMELLEMENTEXCLUES, DANS LA MESURE AUTORISEE PAR LA LOI APPLICABLE, Y COMPRISNOTAMMENT TOUTE GARANTIE IMPLICITE RELATIVE A LA QUALITE MARCHANDE, AL'APTITUDE A UNE UTILISATION PARTICULIERE OU A L'ABSENCE DECONTREFAC,ON.--><!--This is the XML DTD for the J2EE 1.3 application client deploymentdescriptor. All J2EE 1.3 application client deployment descriptorsmust include a DOCTYPE of the following form: <!DOCTYPE application-client PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application Client 1.3//EN" "http://java.sun.com/dtd/application-client_1_3.dtd">--><!--The following conventions apply to all J2EE deployment descriptorelements unless indicated otherwise.- In elements that contain PCDATA, leading and trailing whitespace in the data may be ignored.- In elements whose value is an "enumerated type", the value is case sensitive.- In elements that specify a pathname to a file within the same JAR file, relative filenames (i.e., those not starting with "/") are considered relative to the root of the JAR file's namespace. Absolute filenames (i.e., those starting with "/") also specify names in the root of the JAR file's namespace. In general, relative names are preferred. The exception is .war files where absolute names are preferred for consistency with the servlet API.--><!--The application-client element is the root element of an applicationclient deployment descriptor. The application client deploymentdescriptor describes the EJB components and external resourcesreferenced by the application client.--><!ELEMENT application-client (icon?, display-name, description?, env-entry*, ejb-ref*, resource-ref*, resource-env-ref*, callback-handler?)><!--The callback-handler element names a class provided by theapplication. The class must have a no args constructor and mustimplement the javax.security.auth.callback.CallbackHandler interface.The class will be instantiated by the application client container andused by the container to collect authentication information from theuser.Used in: application-client--><!ELEMENT callback-handler (#PCDATA)><!--The description element is used to provide text describing the parentelement. The description element should include any information thatthe application client jar file producer wants to provide to the consumer ofthe application client jar file (i.e., to the Deployer). Typically, the toolsused by the application client jar file consumer will display the descriptionwhen processing the parent element that contains the description.Used in: application-client, ejb-ref, env-entry, resource-env-ref,resource-ref--><!ELEMENT description (#PCDATA)><!--The display-name element contains a short name that is intended to bedisplayed by tools. The display name need not be unique.Used in: application-clientExample:<display-name>Employee Self Service</display-name>--><!ELEMENT display-name (#PCDATA)><!--The ejb-link element is used in the ejb-ref elementto specify that an EJB reference is linked to anenterprise bean.The name in the ejb-link element is composed of apath name specifying the ejb-jar containing the referenced enterprisebean with the ejb-name of the target bean appended and separated fromthe path name by "#". The path name is relative to the jar filecontaining the application client that is referencing the enterprise bean.This allows multiple enterprise beans with the same ejb-name to beuniquely identified.Used in: ejb-refExamples: <ejb-link>EmployeeRecord</ejb-link> <ejb-link>../products/product.jar#ProductEJB</ejb-link>--><!ELEMENT ejb-link (#PCDATA)><!--The ejb-ref element is used for the declaration of a reference toan enterprise bean's home. The declaration consists of: - an optional description - the EJB reference name used in the code of the application client that's referencing the enterprise bean - the expected type of the referenced enterprise bean - the expected home and remote interfaces of the referenced enterprise bean - optional ejb-link information, used to specify the referenced enterprise beanUsed in: application-client--><!ELEMENT ejb-ref (description?, ejb-ref-name, ejb-ref-type, home, remote, ejb-link?)><!--The ejb-ref-name element contains the name of an EJB reference. TheEJB reference is an entry in the application client's environment and isrelative to the java:comp/env context. The name must be uniquewithin the application client.It is recommended that name is prefixed with "ejb/".Used in: ejb-refExample:<ejb-ref-name>ejb/Payroll</ejb-ref-name>--><!ELEMENT ejb-ref-name (#PCDATA)><!--The ejb-ref-type element contains the expected type of thereferenced enterprise bean.The ejb-ref-type element must be one of the following: <ejb-ref-type>Entity</ejb-ref-type> <ejb-ref-type>Session</ejb-ref-type>Used in: ejb-ref--><!ELEMENT ejb-ref-type (#PCDATA)><!--The env-entry element contains the declaration of an application client'senvironment entry. The declaration consists of an optionaldescription, the name of the environment entry, and an optionalvalue. If a value is not specified, one must be suppliedduring deployment.Used in: application-client--><!ELEMENT env-entry (description?, env-entry-name, env-entry-type, env-entry-value?)><!--The env-entry-name element contains the name of an application client'senvironment entry. The name is a JNDI name relative to thejava:comp/env context. The name must be unique within an application client.Used in: env-entryExample:<env-entry-name>minAmount</env-entry-name>--><!ELEMENT env-entry-name (#PCDATA)><!--The env-entry-type element contains the fully-qualified Java type ofthe environment entry value that is expected by the application client's
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -