Skip to content

MonPower/dbmi-inmemory-query

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dbmi-inmemory-query

Apache Geode

You could refer to http://geode.docs.pivotal.io/docs/rest_apps/setup_config.html for specific meaning of the configuration

You could refer to http://geode.docs.pivotal.io/docs/getting_started/15_minute_quickstart_gfsh.html for normal commands of gfsh Start the gfsh and locator:

$ gfsh
gfsh>start locator --name=locator1

Configure locator as follows

gfsh>configure pdx --read-serialized=true
gfsh>configure pdx --disk-store

Start the server

gfsh>start server --name=server1 --J=-Dgemfire.start-dev-rest-api=true \
--J=-Dgemfire.http-service-port=8080 --J=-Dgemfire.http-service-bind-address=localhost

Create a replicated, persistent region:

create region --name=regionA --type=REPLICATE_PERSISTENT

Restful Application

Write your Java program, you could refer to this sample code and sample operation: http://geode.docs.pivotal.io/docs/rest_apps/setup_config.html

Deploy application

#to make your restful application, you need to deploy jar one the server
$ gfsh>deploy --dir=libs/group1-libs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published