Chapter 8 Creating J2EE Applications for BEA WebLogic


Read-Write Cache Strategy

In contrast, the read-write strategy defines the default caching behavior for entity EJBs in WebLogic Server.

For read-write EJBs, WebLogic Server loads EJB data into the cache at the beginning of each transaction, or as described in Using db-is-shared to Limit Calls to ejbLoad(). WebLogic Server calls ejbStore() at the successful commit of a transaction, or as described under Using is-modified-method-name to Limit Calls to ejbStore().

 


Copyright (C) 2005. Sybase Inc. All rights reserved.