Creating a new MDEX State Manager

This topic describes the steps required to create an MDEX State Manager.

To create a new MDEX State Manager project:

  1. In a terminal, change your directory to endeca-extensions within the Component SDK's root directory (normally called components).
  2. Run one of the following commands:
    • On Windows: .\create-mdexstatemanager.bat <your-state-manager-name>
    • On Linux: ./create-mdexstatemanager.sh <your-state-manager-name>
    This command creates a your-state-manager-name directory under endeca-extensions. This directory is an Eclipse project that can be imported directly into Eclipse if you use that as your IDE.
    Note: This directory also contains a sample implementation, which is essentially identical to the default implementation of the State Manager used by the Discovery Framework. You can use this sample implementation to help you understand how the State Manager can be used.