home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2003 October / INTERNET108.ISO / pc / software / windows / building / xmlspy / xmlspyentcomplete5.exe / Data1.cab / _DD0BB57527074DA68DA64EE88A12A83D < prev    next >
Encoding:
Text File  |  2002-08-22  |  16.3 KB  |  521 lines

  1. <!--
  2. Copyright (c) 2000 Sun Microsystems, Inc.,
  3. 901 San Antonio Road,
  4. Palo Alto, California 94303, U.S.A.
  5. All rights reserved.
  6.  
  7. Sun Microsystems, Inc. has intellectual property rights relating to
  8. technology embodied in the product that is described in this document.
  9. In particular, and without limitation, these intellectual property
  10. rights may include one or more of the U.S. patents listed at
  11. http://www.sun.com/patents and one or more additional patents or
  12. pending patent applications in the U.S. and in other countries.
  13.  
  14. This document and the product to which it pertains are distributed
  15. under licenses restricting their use, copying, distribution, and
  16. decompilation.  This document may be reproduced and distributed but may
  17. not be changed without prior written authorization of Sun and its
  18. licensors, if any.
  19.  
  20. Third-party software, including font technology, is copyrighted and
  21. licensed from Sun suppliers.
  22.  
  23. Sun,  Sun Microsystems,  the Sun logo,  Java,  JavaServer Pages,  Java
  24. Naming and Directory Interface,  JDBC,  JDK,  JavaMail and  and
  25. Enterprise JavaBeans are trademarks or registered trademarks of Sun
  26. Microsystems, Inc. in the U.S. and other countries.
  27.  
  28. Federal Acquisitions: Commercial Software - Government Users Subject to
  29. Standard License Terms and Conditions.
  30.  
  31. DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED
  32. CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED
  33. WARRANTY OF MERCHANTABILITY, FITNESS FOR FOR A PARTICULAR PURPOSE OR
  34. NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH
  35. DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.
  36.  
  37.  
  38. _________________________________________________________________________
  39.  
  40. Copyright (c) 2000 Sun Microsystems, Inc.,
  41. 901 San Antonio Road,
  42. Palo Alto, California 94303, E'tats-Unis.
  43. Tous droits re'serve's.
  44.  
  45. Sun Microsystems, Inc. a les droits de proprie'te' intellectuels
  46. relatants a` la technologie incorpore'e dans le produit qui est de'crit
  47. dans ce document. En particulier, et sans la limitation, ces droits de
  48. proprie'te' intellectuels peuvent inclure un ou plus des brevets
  49. ame'ricains e'nume're's a` http://www.sun.com/patents et un ou les
  50. brevets plus supple'mentaires ou les applications de brevet en attente
  51. dans les E'tats-Unis et dans les autres pays.
  52.  
  53. Ce produit ou document est prote'ge' par un copyright et distribue'
  54. avec des licences qui en restreignent l'utilisation, la copie, la
  55. distribution, et la de'compilation.  Ce documention associe n peut
  56. e^tre reproduite et distribuer, par quelque moyen que ce soit, sans
  57. l'autorisation pre'alable et e'crite de Sun et de ses bailleurs de
  58. licence, le cas e'che'ant.
  59.  
  60. Le logiciel de'tenu par des tiers, et qui comprend la technologie
  61. relative aux polices de caracte`res, est prote'ge' par un copyright et
  62. licencie' par des fournisseurs de Sun.
  63.  
  64. Sun,  Sun Microsystems,  le logo Sun,  Java,  JavaServer Pages,  Java
  65. Naming and Directory Interface,  JDBC,  JDK,  JavaMail et  and
  66. Enterprise JavaBeans sont des marques de fabrique ou des marques
  67. de'pose'es de Sun Microsystems, Inc. aux E'tats-Unis et dans d'autres
  68. pays.
  69.  
  70. LA DOCUMENTATION EST FOURNIE "EN L'E'TAT" ET TOUTES AUTRES CONDITIONS,
  71. DECLARATIONS ET GARANTIES EXPRESSES OU TACITES SONT FORMELLEMENT
  72. EXCLUES, DANS LA MESURE AUTORISEE PAR LA LOI APPLICABLE, Y COMPRIS
  73. NOTAMMENT TOUTE GARANTIE IMPLICITE RELATIVE A LA QUALITE MARCHANDE, A
  74. L'APTITUDE A UNE UTILISATION PARTICULIERE OU A L'ABSENCE DE
  75. CONTREFAC,ON.
  76. -->
  77. <!--
  78. This is the XML DTD for the J2EE 1.3 application client deployment
  79. descriptor.  All J2EE 1.3 application client deployment descriptors
  80. must include a DOCTYPE of the following form:
  81.  
  82.   <!DOCTYPE application-client PUBLIC
  83.     "-//Sun Microsystems, Inc.//DTD J2EE Application Client 1.3//EN"
  84.     "http://java.sun.com/dtd/application-client_1_3.dtd">
  85.  
  86. -->
  87. <!--
  88. The following conventions apply to all J2EE deployment descriptor
  89. elements unless indicated otherwise.
  90.  
  91. - In elements that contain PCDATA, leading and trailing whitespace
  92.   in the data may be ignored.
  93.  
  94. - In elements whose value is an "enumerated type", the value is
  95.   case sensitive.
  96.  
  97. - In elements that specify a pathname to a file within the same
  98.   JAR file, relative filenames (i.e., those not starting with "/")
  99.   are considered relative to the root of the JAR file's namespace.
  100.   Absolute filenames (i.e., those starting with "/") also specify
  101.   names in the root of the JAR file's namespace.  In general, relative
  102.   names are preferred.  The exception is .war files where absolute
  103.   names are preferred for consistency with the servlet API.
  104. -->
  105. <!--
  106. The application-client element is the root element of an application
  107. client deployment descriptor.  The application client deployment
  108. descriptor describes the EJB components and external resources
  109. referenced by the application client.
  110. -->
  111. <!ELEMENT application-client (icon?, display-name, description?, env-entry*, ejb-ref*, resource-ref*, resource-env-ref*, callback-handler?)>
  112. <!--
  113. The callback-handler element names a class provided by the
  114. application.  The class must have a no args constructor and must
  115. implement the javax.security.auth.callback.CallbackHandler interface.
  116. The class will be instantiated by the application client container and
  117. used by the container to collect authentication information from the
  118. user.
  119.  
  120. Used in: application-client
  121. -->
  122. <!ELEMENT callback-handler (#PCDATA)>
  123. <!--
  124. The description element is used to provide text describing the parent
  125. element.  The description element should include any information that
  126. the application client jar file producer wants to provide to the consumer of
  127. the application client jar file (i.e., to the Deployer). Typically, the tools
  128. used by the application client jar file consumer will display the description
  129. when processing the parent element that contains the description.
  130.  
  131. Used in: application-client, ejb-ref, env-entry, resource-env-ref,
  132. resource-ref
  133. -->
  134. <!ELEMENT description (#PCDATA)>
  135. <!--
  136. The display-name element contains a short name that is intended to be
  137. displayed by tools.  The display name need not be unique.
  138.  
  139. Used in: application-client
  140.  
  141. Example:
  142.  
  143. <display-name>Employee Self Service</display-name>
  144. -->
  145. <!ELEMENT display-name (#PCDATA)>
  146. <!--
  147. The ejb-link element is used in the ejb-ref element
  148. to specify that an EJB reference is linked to an
  149. enterprise bean.
  150.  
  151. The name in the ejb-link element is composed of a
  152. path name specifying the ejb-jar containing the referenced enterprise
  153. bean with the ejb-name of the target bean appended and separated from
  154. the path name by "#".  The path name is relative to the jar file
  155. containing the application client that is referencing the enterprise bean.
  156. This allows multiple enterprise beans with the same ejb-name to be
  157. uniquely identified.
  158.  
  159. Used in: ejb-ref
  160.  
  161. Examples:
  162.  
  163.     <ejb-link>EmployeeRecord</ejb-link>
  164.  
  165.     <ejb-link>../products/product.jar#ProductEJB</ejb-link>
  166.  
  167. -->
  168. <!ELEMENT ejb-link (#PCDATA)>
  169. <!--
  170. The ejb-ref element is used for the declaration of a reference to
  171. an enterprise bean's home. The declaration consists of:
  172.  
  173.     - an optional description
  174.     - the EJB reference name used in the code of
  175.       the application client that's referencing the enterprise bean
  176.     - the expected type of the referenced enterprise bean
  177.     - the expected home and remote interfaces of the referenced
  178.       enterprise bean
  179.     - optional ejb-link information, used to specify the referenced
  180.       enterprise bean
  181.  
  182. Used in: application-client
  183. -->
  184. <!ELEMENT ejb-ref (description?, ejb-ref-name, ejb-ref-type, home, remote, ejb-link?)>
  185. <!--
  186. The ejb-ref-name element contains the name of an EJB reference. The
  187. EJB reference is an entry in the application client's environment and is
  188. relative to the java:comp/env context.  The name must be unique
  189. within the application client.
  190.  
  191. It is recommended that name is prefixed with "ejb/".
  192.  
  193. Used in: ejb-ref
  194.  
  195. Example:
  196.  
  197. <ejb-ref-name>ejb/Payroll</ejb-ref-name>
  198. -->
  199. <!ELEMENT ejb-ref-name (#PCDATA)>
  200. <!--
  201. The ejb-ref-type element contains the expected type of the
  202. referenced enterprise bean.
  203.  
  204. The ejb-ref-type element must be one of the following:
  205.  
  206.     <ejb-ref-type>Entity</ejb-ref-type>
  207.     <ejb-ref-type>Session</ejb-ref-type>
  208.  
  209. Used in: ejb-ref
  210. -->
  211. <!ELEMENT ejb-ref-type (#PCDATA)>
  212. <!--
  213. The env-entry element contains the declaration of an application client's
  214. environment entry. The declaration consists of an optional
  215. description, the name of the environment entry, and an optional
  216. value.  If a value is not specified, one must be supplied
  217. during deployment.
  218.  
  219. Used in: application-client
  220. -->
  221. <!ELEMENT env-entry (description?, env-entry-name, env-entry-type, env-entry-value?)>
  222. <!--
  223. The env-entry-name element contains the name of an application client's
  224. environment entry.  The name is a JNDI name relative to the
  225. java:comp/env context.  The name must be unique within an application client.
  226.  
  227. Used in: env-entry
  228.  
  229. Example:
  230.  
  231. <env-entry-name>minAmount</env-entry-name>
  232. -->
  233. <!ELEMENT env-entry-name (#PCDATA)>
  234. <!--
  235. The env-entry-type element contains the fully-qualified Java type of
  236. the environment entry value that is expected by the application client's
  237. code.
  238.  
  239. The following are the legal values of env-entry-type:
  240.  
  241.     java.lang.Boolean
  242.     java.lang.Byte
  243.     java.lang.Character
  244.     java.lang.String
  245.     java.lang.Short
  246.     java.lang.Integer
  247.     java.lang.Long
  248.     java.lang.Float
  249.     java.lang.Double
  250.  
  251.  
  252. Used in: env-entry
  253.  
  254. Example:
  255.  
  256. <env-entry-type>java.lang.Boolean</env-entry-type>
  257. -->
  258. <!ELEMENT env-entry-type (#PCDATA)>
  259. <!--
  260. The env-entry-value element contains the value of an application client's
  261. environment entry. The value must be a String that is valid for the
  262. constructor of the specified type that takes a single String
  263. parameter, or for java.lang.Character, a single character.
  264.  
  265. Used in: env-entry
  266.  
  267. Example:
  268.  
  269. <env-entry-value>100.00</env-entry-value>
  270. -->
  271. <!ELEMENT env-entry-value (#PCDATA)>
  272. <!--
  273. The home element contains the fully-qualified name of the enterprise
  274. bean's home interface.
  275.  
  276. Used in: ejb-ref
  277.  
  278. Example:
  279.  
  280. <home>com.aardvark.payroll.PayrollHome</home>
  281. -->
  282. <!ELEMENT home (#PCDATA)>
  283. <!--
  284. The icon element contains small-icon and large-icon elements that
  285. specify the file names for small and a large GIF or JPEG icon images
  286. used to represent the parent element in a GUI tool.
  287.  
  288. Used in: application-client
  289. -->
  290. <!ELEMENT icon (small-icon?, large-icon?)>
  291. <!--
  292. The large-icon element contains the name of a file
  293. containing a large (32 x 32) icon image. The file
  294. name is a relative path within the application client's
  295. jar file.
  296.  
  297. The image may be either in the JPEG or GIF format.
  298. The icon can be used by tools.
  299.  
  300. Used in: icon
  301.  
  302. Example:
  303.  
  304. <large-icon>employee-service-icon32x32.jpg</large-icon>
  305. -->
  306. <!ELEMENT large-icon (#PCDATA)>
  307. <!--
  308. The remote element contains the fully-qualified name of the enterprise
  309. bean's remote interface.
  310.  
  311. Used in: ejb-ref
  312.  
  313. Example:
  314.  
  315. <remote>com.wombat.empl.EmployeeService</remote>
  316. -->
  317. <!ELEMENT remote (#PCDATA)>
  318. <!--
  319. The res-auth element specifies whether the application client code signs
  320. on programmatically to the resource manager, or whether the Container
  321. will sign on to the resource manager on behalf of the application client. In the
  322. latter case, the Container uses information that is supplied by the
  323. Deployer.
  324.  
  325. The value of this element must be one of the two following:
  326.  
  327.     <res-auth>Application</res-auth>
  328.     <res-auth>Container</res-auth>
  329.  
  330. Used in: resource-ref
  331. -->
  332. <!ELEMENT res-auth (#PCDATA)>
  333. <!--
  334. The res-ref-name element specifies the name of a resource manager
  335. connection factory reference.  The name is a JNDI name relative to the
  336. java:comp/env context.  The name must be unique within an application client.
  337.  
  338. Used in: resource-ref
  339. -->
  340. <!ELEMENT res-ref-name (#PCDATA)>
  341. <!--
  342. The res-sharing-scope element specifies whether connections obtained
  343. through the given resource manager connection factory reference can be
  344. shared. The value of this element, if specified, must be one of the
  345. two following:
  346.  
  347.     <res-sharing-scope>Shareable</res-sharing-scope>
  348.     <res-sharing-scope>Unshareable</res-sharing-scope>
  349.  
  350. The default value is Shareable.
  351.  
  352. Used in: resource-ref
  353. -->
  354. <!ELEMENT res-sharing-scope (#PCDATA)>
  355. <!--
  356. The res-type element specifies the type of the data source. The type
  357. is specified by the fully qualified Java language class or interface
  358. expected to be implemented by the data source.
  359.  
  360. Used in: resource-ref
  361. -->
  362. <!ELEMENT res-type (#PCDATA)>
  363. <!--
  364. The resource-env-ref element contains a declaration of an application client's
  365. reference to an administered object associated with a resource
  366. in the application client's environment.  It consists of an optional
  367. description, the resource environment reference name, and an
  368. indication of the resource environment reference type expected by
  369. the application client code.
  370.  
  371. Used in: application-client
  372.  
  373. Example:
  374.  
  375. <resource-env-ref>
  376.     <resource-env-ref-name>jms/StockQueue</resource-env-ref-name>
  377.     <resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
  378. </resource-env-ref>
  379. -->
  380. <!ELEMENT resource-env-ref (description?, resource-env-ref-name, resource-env-ref-type)>
  381. <!--
  382. The resource-env-ref-name element specifies the name of a resource
  383. environment reference; its value is the environment entry name used in
  384. the application client code.  The name is a JNDI name relative to the
  385. java:comp/env context and must be unique within an application client.
  386.  
  387. Used in: resource-env-ref
  388. -->
  389. <!ELEMENT resource-env-ref-name (#PCDATA)>
  390. <!--
  391. The resource-env-ref-type element specifies the type of a resource
  392. environment reference.  It is the fully qualified name of a Java
  393. language class or interface.
  394.  
  395. Used in: resource-env-ref
  396. -->
  397. <!ELEMENT resource-env-ref-type (#PCDATA)>
  398. <!--
  399. The resource-ref element contains a declaration of an application client's
  400. reference to an external resource. It consists of an optional
  401. description, the resource manager connection factory reference name,
  402. the indication of the resource manager connection factory type
  403. expected by the application client code, the type of authentication
  404. (Application or Container), and an optional specification of the
  405. shareability of connections obtained from the resource (Shareable or
  406. Unshareable).
  407.  
  408. Used in: application-client
  409.  
  410. Example:
  411.  
  412.     <resource-ref>
  413.     <res-ref-name>jdbc/EmployeeAppDB</res-ref-name>
  414.     <res-type>javax.sql.DataSource</res-type>
  415.     <res-auth>Container</res-auth>
  416.     <res-sharing-scope>Shareable</res-sharing-scope>
  417.     </resource-ref>
  418. -->
  419. <!ELEMENT resource-ref (description?, res-ref-name, res-type, res-auth, res-sharing-scope?)>
  420. <!--
  421. The small-icon element contains the name of a file
  422. containing a small (16 x 16) icon image. The file
  423. name is a relative path within the application client's
  424. jar file.
  425.  
  426. The image may be either in the JPEG or GIF format.
  427. The icon can be used by tools.
  428.  
  429. Used in: icon
  430.  
  431. Example:
  432.  
  433. <small-icon>employee-service-icon16x16.jpg</small-icon>
  434. -->
  435. <!ELEMENT small-icon (#PCDATA)>
  436. <!--
  437. The ID mechanism is to allow tools that produce additional deployment
  438. information (i.e., information beyond the standard deployment
  439. descriptor information) to store the non-standard information in a
  440. separate file, and easily refer from these tool-specific files to the
  441. information in the standard deployment descriptor.
  442.  
  443. Tools are not allowed to add the non-standard information into the
  444. standard deployment descriptor.
  445. -->
  446. <!ATTLIST application-client
  447.     id ID #IMPLIED
  448. >
  449. <!ATTLIST callback-handler
  450.     id ID #IMPLIED
  451. >
  452. <!ATTLIST description
  453.     id ID #IMPLIED
  454. >
  455. <!ATTLIST display-name
  456.     id ID #IMPLIED
  457. >
  458. <!ATTLIST ejb-link
  459.     id ID #IMPLIED
  460. >
  461. <!ATTLIST ejb-ref
  462.     id ID #IMPLIED
  463. >
  464. <!ATTLIST ejb-ref-name
  465.     id ID #IMPLIED
  466. >
  467. <!ATTLIST ejb-ref-type
  468.     id ID #IMPLIED
  469. >
  470. <!ATTLIST env-entry
  471.     id ID #IMPLIED
  472. >
  473. <!ATTLIST env-entry-name
  474.     id ID #IMPLIED
  475. >
  476. <!ATTLIST env-entry-type
  477.     id ID #IMPLIED
  478. >
  479. <!ATTLIST env-entry-value
  480.     id ID #IMPLIED
  481. >
  482. <!ATTLIST home
  483.     id ID #IMPLIED
  484. >
  485. <!ATTLIST icon
  486.     id ID #IMPLIED
  487. >
  488. <!ATTLIST large-icon
  489.     id ID #IMPLIED
  490. >
  491. <!ATTLIST remote
  492.     id ID #IMPLIED
  493. >
  494. <!ATTLIST res-auth
  495.     id ID #IMPLIED
  496. >
  497. <!ATTLIST res-ref-name
  498.     id ID #IMPLIED
  499. >
  500. <!ATTLIST res-sharing-scope
  501.     id ID #IMPLIED
  502. >
  503. <!ATTLIST res-type
  504.     id ID #IMPLIED
  505. >
  506. <!ATTLIST resource-env-ref
  507.     id ID #IMPLIED
  508. >
  509. <!ATTLIST resource-env-ref-name
  510.     id ID #IMPLIED
  511. >
  512. <!ATTLIST resource-env-ref-type
  513.     id ID #IMPLIED
  514. >
  515. <!ATTLIST resource-ref
  516.     id ID #IMPLIED
  517. >
  518. <!ATTLIST small-icon
  519.     id ID #IMPLIED
  520. >
  521.