Per aggiungere ulteriori parametri alle chiavi della cache, procedere come segue:
Personalizzare il file SampleCacheCommandImpl.java.
Questo esempio illustra come aggiungere userType, userState e userRole all'insieme di chiavi della cache.
Il file di esempio si trova nella seguente directory: unitą:\WebSphere\CommerceServer\samples\cache unitą:\Program Files\WebSphere\CommerceServer\samples\cache /usr/WebSphere/CommerceServer/samples/cache /opt/WebSphere/CommerceServer/samples/cache /QIBM/ProdData/WebCommerce/samples/cache
Compilare il file di classe.
Copiare il file di classe nella seguente directory:unitą:\WebSphere\AppServer\installedApps\WC_Enterprise_App_instancename.ear\lib unitą:\Program Files\WebSphere\AppServer\installedApps\WC_Enterprise_App_instancename.ear\lib
/usr/WebSphere/AppServer/installedApps/WC_Enterprise_App_instancename.ear\lib /opt/WebSphere/AppServer/installedApps/WC_Enterprise_App_instancename.ear\lib /QIBM/UserData/WebASAdv4/WASinstancename/installedApps/WC_Enterprise_App_instancename.ear\lib