REST gateway example: Creating dynamic maps
You can use map templates to create maps as your application requires.
Dynamic map creation
The first operation to a map that matches the map template but has not yet been created results in the creation of a new dynamic map. As an example, to create a new dynamic map, you might use the following URI in a GET, DELETE, or POST operation:http://mydatagrid.ibm.com/resources/datacaches/MyDataGrid/MyMap1/a.key
In the previous example, the map
created dynamically is MyMap1
, where the map template name is
MyMap.*
, and the template
attribute in that map is set to
true
.