You can use map templates to create maps as your application requires.
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.