The Enterprise Java Beans (EJB) page opens.
This field specifies the directory where passivated stateful session beans and persisted SFSB checkpoint states are stored on the file system. The default value is ${com.sun.aas.instanceRoot}/session-store.
Passivated beans are stateful session beans that have had their state written to a file on the file system. Passivated beans typically have been idle for a certain period of time, and are not currently being accessed by clients. Similarly, persisted SFSB checkpoint states are individual SFSBs that have had their state written to a file on the file system.
This setting is applicable to SFSB checkpoint states only if EJB container availability is disabled. To disable availability, see To Configure Availability Settings for the EJB Container.
The Commit Option specifies how the container caches passivated bean instances between transactions.
The default value is 0.
The default value is 32.
The value must be at least 0 and less than the Maximum Pool Size value. The default value is 8.
After this amount of time, the bean is destroyed. A value of 0 means that a bean can remain idle indefinitely. The default value is 600.
Increase the maximum number of beans to cache to eliminate the overhead of bean creation and destruction. However, if the cache is increased, the server consumes more memory and resources. Be sure your operating environment is sufficient for your cache settings. A value of 0 indicates an unbounded cache. The default value is 512.
When the maximum number of cached beans is reached, the container removes a number of passivated beans from the backup store. This value also specifies the number of beans to be created if a request arrives when the pool has no available beans. The value must be greater than 1 and less than the Max Cache Size value. The default value is 32.
A value of 0 specifies that the container does not remove inactive beans automatically. If the Removal Timeout value is less than or equal to the Cache Idle Timeout value, beans are removed immediately without being passivated. The default value is 5400.
The choices are as follows:
(Default) Removes a bean that hasn’t been used recently.
Removes the oldest bean in the cache.
Removes the least recently accessed bean.
After this amount of time, the container can passivate this bean. A value of 0 specifies that beans never become candidates for passivation. The default value is 600.
The GlassFish Server does not define any additional properties for the EJB container.
Tip - To return to the default settings, click the Load Defaults button, then click Save.
See Also
Copyright © 2005, 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices