用java连接apache geode

4400阅读 0评论2017-09-27 yifangyou
分类:NOSQL

昨天研究了半天apache geode,通过gfsh命令查询和操作比较简单,但是如何通过程序查询因为资历太少,没有搞懂,试验了半天才明白

1.创建测试region

create region --name=user --type=REPLICATE_PERSISTENT


2.用eclipse创建maven工程

修改pom.xml,需要引入gemfire-8.2.0.jar,这个在


  4.0.0

  io.proinsight
  hellogeode
  0.0.1-SNAPSHOT
  jar

  hellogeode
  

  
    UTF-8