Configuring cacheable objects

To configure cacheable objects, update the cachespec.xml file.

Procedure

  1. Open the cachespec.xml file in the web application archive (WAR) WEB-INF or enterprise bean WEB-INF directory.
  2. Specify the cache entry for command caching and add the following section to the cachespec.xml file:
    <cache-entry>
      <class>command</class>
      <name>
    name</name>
      ...
    </cache-entry>
    

    Where name is the complete path to the command class, for example, com.ibm.commerce.dynacache.commands.MemberGroupsCacheCmdImpl.

    For more information, see Command caching for marketing.

    Note: Specify command cache entries in the cachespec.xml file in the Transaction server Stores.war file.