in partitioned/src/main/java/org/apache/geode_examples/partitioned/Example.java [34:51]
public static void main(String[] args) {
// connect to the locator using default port 10334
ClientCache cache = new ClientCacheFactory().addPoolLocator("127.0.0.1", 10334)
.set("log-level", "WARN").create();
// create a local region that matches the server region
Region<EmployeeKey, EmployeeData> region =
cache.<EmployeeKey, EmployeeData>createClientRegionFactory(ClientRegionShortcut.PROXY)
.create("example-region");
Example example = new Example(region);
example.insertValues(new String[] {"Alex Able", "Bertie Bell", "Chris Call", "Dale Driver",
"Frankie Forth", "Jamie Jive", "Morgan Minnow", "Pat Pearson", "Ricky Reliable",
"Taylor Tack", "Zelda Zankowski"});
example.printValues(example.getValues());
cache.close();
}