user manual
Chapter 4: Web components 35
Borland web container implementation
This is the DTD for the web-borland.xml file:
Note "*" means you can specify more than one, "?" means you can only specify
one.
<!ELEMENT web-app(context-root?, resource-env-ref*, resource-ref*,
ejb-ref*, ejb-local-ref*, property*, web-deploy-path*,
authorization-domain?, security-role*)>
<!ELEMENT ejb-ref (ejb-ref-name, jndi-name)>
<!ELEMENT ejb-local-ref (ejb-ref-name, jndi-name?)>
<!ELEMENT resource-ref (res-ref-name, jndi-name)>
<!ELEMENT resource-env-ref (resource-env-ref-name, jndi-name)>
<!ELEMENT web-deploy-path (service, engine, host)>
<!ELEMENT context-root (#PCDATA)>
<!ELEMENT prop-name (#PCDATA)>
<!ELEMENT prop-type (#PCDATA)>
<!ELEMENT prop-value (#PCDATA)>
<!ELEMENT ejb-ref-name (#PCDATA)>
<!ELEMENT jndi-name (#PCDATA)>
<!ELEMENT res-ref-name (#PCDATA)>
<!ELEMENT resource-env-ref-name (#PCDATA)>
<!ELEMENT service (#PCDATA)>
ejb-ref (ejb-ref-name,
jndi-name)
Specifies a JNDI name
to associate with the
EJB reference name. At
runtime, when a servlet
looks up the specified
EJB reference name,
the web application
looks up the JNDI name
in the JNDI. Note: The
ejb-ref-name that the
additional jndi-name
element modifies is
required.
EJB
References
ejb-local-ref (ejb-local-ref-
name, jndi-name)
Specifies a JNDI name
to associate with the
EJB local reference
name. At runtime, when
a servlet looks up the
specified EJB local
reference name, the
web application looks
up the JNDI name in
the JNDI. Note: The
ejb-local-ref-name that
the additional jndi-name
element modifies is
required.
EJB Local
References
Table 4.3 Borland additional attributes on existing elements
Element
Additional
Attribute
Description DDEditor Pane










