12.11.2014 Views

web server - Borland Technical Publications

web server - Borland Technical Publications

web server - Borland Technical Publications

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Borland</strong> <strong>web</strong> container implementation<br />

Table 4.3<br />

Element<br />

ejb-ref<br />

ejb-local-ref<br />

<strong>Borland</strong> additional attributes on existing elements (continued)<br />

Additional<br />

Attribute Description DDEditor Pane<br />

(ejb-ref-name,<br />

jndi-name)<br />

(ejb-local-refname,<br />

jndi-name)<br />

This is the DTD for the <strong>web</strong>-borland.xml file:<br />

Specifies a JNDI name to<br />

associate with the EJB<br />

reference name. At runtime,<br />

when a servlet looks up the<br />

specified EJB reference<br />

name, the <strong>web</strong> application<br />

looks up the JNDI name in<br />

the JNDI. Note: The ejb-refname<br />

that the additional jndiname<br />

element modifies is<br />

required.<br />

Specifies a JNDI name to<br />

associate with the EJB local<br />

reference name. At runtime,<br />

when a servlet looks up the<br />

specified EJB local reference<br />

name, the <strong>web</strong> application<br />

looks up the JNDI name in<br />

the JNDI. Note: The ejblocal-ref-name<br />

that the<br />

additional jndi-name element<br />

modifies is required.<br />

EJB References<br />

EJB Local<br />

References<br />

Note<br />

Note<br />

“*” means you can specify more than one, “?” means you can only specify one.<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

Adding ENV variables for the <strong>web</strong> container<br />

You add <strong>web</strong> container ENV variables for a Partition the same way you set any ENV<br />

variables for any Partition service; you use the element and insert the xml<br />

code within the partition-process sub-element.<br />

When adding <strong>web</strong> container ENV variables, be sure to type space-separated, value<br />

pairs.<br />

36 BES Developer’s Guide

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!