
<!ELEMENT description (#PCDATA)>
<!ELEMENT sbb (description?, lock-strategy?, attachment-lock-strategy?,
resource-ref*)>
<!--
The lock-strategy element specifies the locking strategy for the SBB EJB.
It specifies either pessimistic or optimistic. If not specified, it defaults
to optimistic.
Example:
<lock-strategy>pessimistic</lock-strategy>
-->
<!ELEMENT lock-strategy (#PCDATA)>
<!--
The attachment-lock-strategy element specifies the locking strategy for the EJBs
used to represent an SBB’s attachment to activity contexts. It specifies either
pessimistic or optimistic. If not specified, it defaults to the locking
strategy of the SBB EJB as specified by the lock-strategy element.
Example:
<attachment-lock-strategy>pessimistic</lock-strategy>
-->
<!ELEMENT attachment-lock-strategy (#PCDATA)>
<!-- Taken from http://java.sun.com/dtd/ejb-jar_2_0.dtd
The resource-ref element contains a declaration of an enterprise bean’s
reference to an external resource. It consists of an optional
description, the resource manager connection factory reference name,
the indication of the resource manager connection factory type
expected by the enterprise bean code, the type of authentication
(Application or Container), and an optional specification of the
shareability of connections obtained from the resource (Shareable or
Unshareable).
Example:
<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?, res-jndi
-name)>
<!--
The res-ref-name element specifies the name of a resource manager
connection factory reference. The name is a JNDI name relative to the
java:comp/env context. The name must be unique within an enterprise bean.
Used in: resource-ref
-->
<!ELEMENT res-ref-name (#PCDATA)>
Open Cloud Rhino 1.4.3 Administration Manual v1.1 108
Komentáře k této Příručce