Polish samples and associated docs.

This commit is contained in:
John Blum
2018-08-20 23:59:51 -07:00
parent 2888095aa9
commit 187237977a
6 changed files with 11 additions and 7 deletions

View File

@@ -150,7 +150,9 @@ the creation of a peer cache instance along with a `CacheServer` for cache clien
server-side `Region` (by default, "_ClusteredSpringSessions_") used to store the `HttpSessions` state. This step is
optional since the Session `Region` could be created manually, perhaps using external means.
Using `@EnableGemFireHttpSession` is convenient.
<3> Finally, we adjust the port that the `CacheServer` will use to listen for cache clients by declaring
<3> (Optional) We annotate the `Config` class with `@EnableManager` to start an embedded Apache Geode Manager
service to allow JMX clients (e.g. Apache Geode's _Gfsh_ shell tool) to connect and inspect the server.
<4> Finally, we adjust the port that the `CacheServer` will use to listen for cache clients by declaring
a `CacheServerConfigurer` bean to modify the SDG `CacheServerFactoryBean` using property placeholders.
The sample makes use of _Spring's_ `PropertySourcesPlaceholderConfigurer` in order to externalize the sample

View File

@@ -89,7 +89,7 @@ include::{samples-dir}javaconfig/gemfire-p2p/src/main/java/sample/Config.java[ta
the creation of a peer cache instance.
<2> Then, the `Config` class is annotated with `@EnableGemFireHttpSession` to create the necessary server-side `Region`
(by default, "_ClusteredSpringSessions_") used to store the `HttpSessions` state.
<3> (Optionally) Finally, we annotated the `Config` class with `@EnableManager` to start an embedded Apache Geode Manager
<3> (Optional) Finally, we annotated the `Config` class with `@EnableManager` to start an embedded Apache Geode Manager
service to allow JMX clients (e.g. Apache Geode's _Gfsh_ shell tool) to connect and inspect the server.
NOTE: For more information on configuring _Spring Data Geode, refer to the