Caching in Entity Beans
Another aspect of caching is to cache the persistent data between transactions. Caching can be enabled by setting the cache-between-transactions element in the weblogic-ejb-jar.xml to either true or false to enable or disable long-term caching of data, respectively. This feature is available if the concurrency strategy is set to exclusive, readonly, or optimistic.
Caching Between Transactions with Exclusive Concurrency— This feature is available only when running on a single server. It enables caching when the EJB container has exclusive update access to the data store.
Caching Between Transactions with ReadOnly Concurrency— The EJB container always performs caching of data between transactions when using readonly concurrency. ...
Get BEA WebLogic Server™ 8.1 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.