//set EE details
SimpleLocation location = new SimpleLocation(drer);
addExecutionEngine(name, location);
ResourceID[] resources =
server.listResources(ResourceType.DATA_RESOURCE);
for (ResourceID resourceID : resources)
{
String dataResourceName = name + "_" + resourceID;
//set data source mapping
addDataSourceMapping(dataResourceName, name);