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.interop.marshal_handle_as_ior=true|<br />

false<br />

ejb.finder.no_custom_marshal=true|false<br />

ejb.collect.stats_gather_frequency=<br />

ejb.collect.display_statistics=true|<br />

false<br />

ejb.collect.statistics=true|false<br />

ejb.collect.display_detail_statistics=<br />

true|false<br />

ejb.mdb.threadMaxIdle=<br />

ejb.mdb.threadMax=<br />

ejb.mdb.threadMin=<br />

EJB container properties (continued)<br />

Property Description Default<br />

If set to true, each instance of<br />

javax.ejb.Handle is marshaled as a<br />

CORBA IOR. Otherwise, it is marshaled<br />

as a CORBA abstract interface. See<br />

CORBA IIOP spec for details.<br />

When a multi-object finder returns a<br />

collection of objects, by default the EJB<br />

container does the following:<br />

■ creates and returns a custom Vector<br />

implementation to the caller.<br />

■ creates IORs (from the primary keys)<br />

lazily as the caller of the finder<br />

browses/iterates over the Vector<br />

returned.<br />

■ compute IORs for the whole Vector,<br />

when result is to leave the JVM<br />

where it was created.<br />

If this property is set to true, the EJB<br />

container does not do any of the above.<br />

The time interval in seconds between<br />

printouts of container statistics. If set to<br />

zero, this disables stats gathering and<br />

no stats are displayed (since they are<br />

not collected). This means that a zero<br />

setting overrides whatever may be the<br />

value of ejb.collect.display_statistics,<br />

ejb.collect.statistics or<br />

ejb.collect.display_detail_statistics<br />

properties.<br />

This flag turns on timer diagnostics,<br />

which allow the user to see how the<br />

Container is using the CPU.<br />

Same as the<br />

ejb.collect.display_statistics property,<br />

except this property does not write the<br />

timer value to the log.<br />

This flag turns on the timer diagnostics,<br />

as ejb.collect.display_statistics option<br />

does. In addition, it prints out method<br />

level timing information. This allows the<br />

developer to see how different methods<br />

of the bean are using CPU. Please note,<br />

that the console output of this flag will<br />

require you to widen your terminal to<br />

avoid wrapping of long lines.<br />

There is a VM wide thread pool<br />

maintained by the EJB container for<br />

message-driven bean execution. This<br />

pool has the same configurability as the<br />

ORB dispatcher pool for handling RMI<br />

invocations. This particular property<br />

controls the maximum duration in<br />

seconds a thread can idle before being<br />

reaped out.<br />

Maximum number of threads allowed in<br />

the MDB thread pool.<br />

Minimum number of threads allowed in<br />

the MDB thread pool.<br />

false<br />

false<br />

5<br />

false<br />

false<br />

false<br />

300<br />

0 (no<br />

limit)<br />

0<br />

Chapter 31: EJB, JSS, and JTS Properties 335

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

Saved successfully!

Ooh no, something went wrong!