A registry is normally used to cache relatively static information that is stored in the database. During the initialization of the RequestServlet, the registry manager will initialize all registries that are defined through the Configuration Manager as well as WebSphere Commerce's internally defined registries. Database information is cached in a registry for performance improvement.
To register or add a new registry class with the Registry Manager, you can use the registry creation wizard. This tool is launched by right-clicking on Registries and selecting Create Registry. Complete the fields as follows:
- Registry Name
- Enter the name that you want to assign to the registry that you are registering.
- Registry Class Name
- Enter the name of the class that you want associated with the new registry. Note that this registry class must preexist. Normally, a WebSphere Commerce developer creates this class programmatically using WebSphere Commerce Studio.
When you have completed both fields, click Finish.