bea.com | products | dev2dev | support | askBEA

Download Docs | Site Map | Glossary
Search

Administration Console Online Help

Entity Cache --> Configuration

Tasks Additional Documentation Attributes

Overview

Use this tab to specify caching options for the entity bean including a cache that contains instances of a single entity bean deployment.

Tasks

Using the EJB Deployment Descriptor Editor

Additional Documentation

(Requires an Internet connection.)

Attributes

Attribute Label | Description | Value Constraints
--- | --- | ---
Max Beans In Cache | Specify the maximum number of objects of this class that are allowed in memory. Objects are kept in an LRU chain, and the ones dropped from the end of the chain are passivated. Attribute: MaxBeansInCache | Default: 1000 Configurable: yes Readable: yes Writable: yes
Idle Timeout Seconds | Specify the maximum length of time a stateful EJB should remain in the cache. After this time has elapsed, WebLogic Server removes the instance if the number of beans in cache approaches the limit of max-beans-in-cache. Removed EJBs are passivated. Attribute: IdleTimeoutSeconds | Default: 600 Configurable: yes Readable: yes Writable: yes
Read Timeout Seconds | Specify the number of seconds between ejbLoad() calls on a Read-Only entity bean. Attribute: ReadTimeoutSeconds | Default: 600 Configurable: yes Readable: yes Writable: yes
Concurrency Strategy | Specify how the container should manage concurrent access to an entity bean. Attribute: ConcurrencyStrategy | Default: "Database" Valid values: "Exclusive" "Database" "ReadOnly" "Optimistic" Configurable: yes Readable: yes Writable: yes
Cache Between Transactions | Specify whether the EJB container should cache the entity bean's persistent data across (between) transactions. Attribute: CacheBetweenTransactions | Default: false Configurable: yes Readable: yes Writable: yes