Hello,

I'm trying to bootstrap my application with prefabricated geode (gemfire)
cache for simple tests.

Basically what is necessary is to create a couple of regions, populate them
and run some queries  (including CQ)  on the top of existing data, perhaps
also validate transaction functionality.

Ideally one should be able to re-create regions (recycle cache) multiple
times. This also, has to run independently (no external process
dependencies) as part of existing build

 I can't find an easy way to do so for the following reasons (please
correct me if I'm wrong) :

1) Client and Server caches can't coexists on the same JVM. Does it mean
one has to start a separate process for server ?

2) It seems that CQs can't be executed on server cache.

3) No easy way to create (non-local) regions programmatically on a remote
server cache (see (1)). They should be visible for queries / CQs.
Preferably avoiding starting a locator (another process)  ?

Please point me to some examples if they exist.

Current version of product is gemfire v7 but looking at the code of geode
concepts remained the same.

Thanks,
Andrei.

Reply via email to