[ https://issues.apache.org/jira/browse/GEODE-2721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fred Krone updated GEODE-2721: ------------------------------ Issue Type: Sub-task (was: Improvement) Parent: GEODE-1887 > Create on-server regions from the client > ---------------------------------------- > > Key: GEODE-2721 > URL: https://issues.apache.org/jira/browse/GEODE-2721 > Project: Geode > Issue Type: Sub-task > Reporter: Fred Krone > > Client's should be enabled to create server-side regions. Currently, regions > must be created either via gfsh or cache.xml, then you must PROXY into these > existing regions. We're assuming here that the developer knows about the > existing region already, or can create it via gfsh or cache.xml. If the > Region does exist, fine. But if it doesn't it seems redundant to ask a > developer to go create it elsewhere-- why not just create/get a new one it > programmatically at that point? > ACCEPTANCE: > Server side region created from client. > Current way (gets a handle to a client): > ClientCache cache = new ClientCacheFactory().addPoolLocator("localhost", > 10334).create(); > Region clientRegion = > cache.createClientRegionFactory(ClientRegionShortcut.PROXY).create("region1"); > New way (creating the server side region programmatically): > ClientCache cache = new ClientCacheFactory().addPoolLocator("localhost", > 10334).create(); > Region region = cache.createRegion("region1"); -- This message was sent by Atlassian JIRA (v6.3.15#6346)