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.

EJB Container-level Properties<br />

Table 31.1<br />

ejb.no_sleep=true|false<br />

EJB container properties (continued)<br />

Property Description Default<br />

ejb.trace_container=true|false<br />

ejb.xml_validation=true|false<br />

ejb.xml_verification=true|false<br />

ejb.classload_policy=per_module|<br />

container|none<br />

ejb.module_preload=true|false<br />

ejb.system_classpath_first=true|false<br />

ejb.sfsb.keep_alive_timeout=<br />

Typically set from a main program that<br />

embeds a Container. Setting this<br />

property prevents the EJB container<br />

from blocking the current thread,<br />

thereby returning the control back to<br />

user code.<br />

Turns on useful debugging information<br />

that tells the user what the Container is<br />

doing. Installs debugging message<br />

interceptors.<br />

If set, the XML descriptors are validated<br />

against its DTD at deployment time.<br />

If set, J2EE archive is verified at<br />

deployment time.<br />

Defines class loading behavior of<br />

standalone EJB container. Not<br />

applicable to the Partition. If set to<br />

per_module, the container uses a new<br />

instance of custom class loader with<br />

each J2EE archive deployed. If set to<br />

none, the container uses the system<br />

class loader. Hot-deployment and<br />

deployment of EARs does not work in<br />

this mode. If set to container, container<br />

uses single custom class loader. This<br />

enables deployment of EARs, but<br />

disables hot-deployment feature.<br />

Loads the entire J2EE archive into<br />

memory at deployment time, so the<br />

archive can be overwritten or rebuilt.<br />

This option is required by JBuilder<br />

running a standalone ejb container.<br />

If set to true, the custom classloader will<br />

look at the system classpath first.<br />

Defines the default value of the<br />

element used in the ejbborland.xml<br />

descriptor. This property<br />

affects an EJB whose element<br />

is skipped or set to 0. The purpose of<br />

this property is to define a time interval<br />

in seconds how long to keep an inactive<br />

stateful session bean alive in the<br />

persistent storage (JSS) after it was<br />

passivated. After the time interval ends,<br />

JSS deletes the session's state from the<br />

persistent storage, so it becomes<br />

impossible to activate it later.<br />

false<br />

false<br />

true<br />

false<br />

per_modul<br />

e<br />

false<br />

false<br />

86400<br />

(=24<br />

hours)<br />

Chapter 31: EJB, JSS, and JTS Properties 333

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

Saved successfully!

Ooh no, something went wrong!