gedi-geode-extensions-core/src/main/java/gedi/solutions/geode/client/GemFireJmxClient.java
@SuppressWarnings("unchecked")
	public static <K,V> Region<K, V> getRegion(String regionName, JMX jmx)
	{
		Region<K, V>	region = getClientCache(jmx).getRegion(regionName);


		if (region == null)
		{
			//check if region exist on server
			
			if(isExistingRegionOnServer(regionName,jmx))
			{		// create it locally

				region = (Region<K, V>)clientCache.createClientRegionFactory(
					ClientRegionShortcut.PROXY).create(regionName);
			}
		}

		return region;

	}
@SuppressWarnings("unchecked")
	public static <K,V> Region<K, V> getRegion(String regionName, JMX jmx)
	{
		Region<K, V>	region = getClientCache(jmx).getRegion(regionName);


		if (region == null)
		{
			//check if region exist on server
			
			if(isExistingRegionOnServer(regionName,jmx))
			{		// create it locally

				region = (Region<K, V>)clientCache.createClientRegionFactory(
					ClientRegionShortcut.PROXY).create(regionName);
			}
		}

		return region;

	}
Get region based on a given name (create the region if it exists on the server, but not on the client).
@param regionName the region name the obtains
@param jmx the GemFire JMX connection
@param <K> the key type
@param <V> the value type
@return the created region