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
- Coordinate with application developers to determine the requirements.
- Define or select a store to contain one or more maps.
- Define the endpoint in the application.
See Stores Grid.
- Associate the endpoint with a persistence store.
- 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.
- Associate the endpoint with that template.
- Ensure that the persistence services are running.
ResultPrograms can use the template to dynamically create any number of maps, each with a different map name.