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.

Complete Index of EJB Properties<br />

Complete Index of EJB Properties<br />

Properties common for any kind of EJB<br />

Property Type Description Default<br />

ejb.default_transac<br />

tion_attribute<br />

Enumeration<br />

(NotSupported,<br />

Supports, Required,<br />

RequiresNew,<br />

Mandatory, Never)<br />

This property specifies a transaction<br />

attribute value for the methods which<br />

have no trans-attribute defined in the<br />

standard deployment descriptor.<br />

Note, that if this property is not<br />

specified, the EJB container does<br />

not assume any default transaction<br />

attribute. Thus, specifying this<br />

property, may simplify porting J2EE<br />

applications created with other<br />

app<strong>server</strong>s which assume some<br />

default transaction attribute.<br />

None<br />

Entity Bean Properties (applicable to all types of entities - BMP,<br />

CMP 1.1 and CMP 2)<br />

Table 31.2<br />

Entity Bean properties<br />

Property Type Description Default<br />

ejb.maxBeansInPool Integer This option specifies the<br />

maximum number of<br />

beans in the ready pool. If<br />

the ready pool exceeds<br />

this limit, entities will be<br />

removed from the<br />

container by calling<br />

unsetEntityContext.<br />

ejb.maxBeansInCache Integer This option specifies the<br />

maximum number of<br />

beans in the cache that<br />

holds on to beans<br />

associated with primary<br />

keys, but not transactions.<br />

This is relevant for Option<br />

“A” and “B” (see<br />

ejb.transactionCommitMode<br />

below). If the cache<br />

exceeds this limit, entities<br />

will be moved to the ready<br />

pool by calling<br />

ejbPassivate.<br />

1000<br />

1000<br />

338 BES Developer’s Guide

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

Saved successfully!

Ooh no, something went wrong!