GemFire put and get data in my local system

I am learning GemFire and as part of that, I downloaded the package and started GemFire locator and server through GFSH

Now I am trying to test it by writing a sample Java code which will connect to GemFire and put and get the data

But I don't know how to do it. Also all the materials in internet shows only sample code to start the cache and listen to cache

No material available to PUT / GET data. Help please

Answers


Have a look at https://github.com/spring-projects/spring-gemfire-examples and specifically https://github.com/spring-projects/spring-gemfire-examples/tree/master/basic/replicated-cs is a good starting point.


Need Your Help

Regex for dd-mmm-yy date format in ColdFusion

regex coldfusion coldfusion-9

I want to ensure that the user uploaded csv have date in the format dd-mmm-yy (10-Feb-14). I have did my research and I could see that none of the ColdFusion date functions help me to resolve this....

Struts2 textfield display length

java jsp struts2

I would like to make Struts2 textfield can display only 10 words but accept 20 words. See sample;