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.

Setting Properties<br />

Entity Properties<br />

These properties are for CMP 1.1 and above implementations:<br />

Table 16.1<br />

Entity properties<br />

Property Type Default Description<br />

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

maximum number of beans in the<br />

cache that holds on to beans<br />

associated with primary keys, but<br />

not transactions. This is relevant<br />

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

ejb.transactionCommitMode below).<br />

If the cache exceeds this limit,<br />

entities will be moved to the ready<br />

pool by calling ejbPassivate.<br />

ejb.maxBeansInPool java.lang.Integer 1000 The maximum number of beans<br />

in the ready pool. If the ready pool<br />

exceeds this limit, entities will be<br />

removed from the container by<br />

calling unsetEntityContext().<br />

Chapter 16: Using BES Properties for CMP 2.x 147

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

Saved successfully!

Ooh no, something went wrong!