Enabling Key/Value Maps

By defining a dynamic durable template, administrators enable application programs to use the map API without further administrative action. Programs can use the map API to access a persistence store as if it were a simple database, mapping from keys to values.

Procedure

  1. Coordinate with application developers to determine the requirements.
  2. Define or select a store to contain one or more maps.
  3. Define the endpoint in the application.
  4. Associate the endpoint with a persistence store.
  5. Select or define a dynamic durable template.
    Select the built-in template named ftl.map.template, with its default parameter values.

    Alternatively, define your own template with durable type Dynamic/Last-Value and set its parameter values.

  6. Associate the endpoint with that template.
  7. Ensure that the persistence services are running.

Result

Programs can use the template to dynamically create any number of maps, each with a different map name.