bea.com | products | dev2dev | support | askBEA

Download Docs | Site Map | Glossary
Search

Administration Console Online Help

Stateful Session Cache --> Configuration

Tasks Additional Documentation Attributes

Overview

Use this tab to configure the caching options to be used for stateful session bean instances in WebLogic Server.

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. When max-bean -in-cache is reached, WebLogic Server passivates some EJBs that have not recently been used by a client. Attribute: MaxBeansInCache | Default: 1000 Configurable: yes Readable: yes Writable: yes
Idle Timeout Seconds | Specify the maximum length of time a stateful session EJB should remain in the cache. After this time has elapsed, WebLogic Server removes the bean instance if the number of beans in the cache approaches the limit of max-beans -in-cache. The removed bean instances are passivated. Attribute: IdleTimeoutSeconds | Default: 600 Configurable: yes Readable: yes Writable: yes
Cache Type | Specify the order in which enterprise beans are removed from the cache. Attribute: CacheType | Default: "NRU" Valid values: "NRU" "LRU" Readable: yes Writable: yes