diff --git a/docs/src/docbkx/reference/bootstrap.xml b/docs/src/docbkx/reference/bootstrap.xml index 8590ec93..055d4aa8 100644 --- a/docs/src/docbkx/reference/bootstrap.xml +++ b/docs/src/docbkx/reference/bootstrap.xml @@ -184,6 +184,48 @@ if the cache needs to be created, there is no opened cache in existence otherwise the existing cache will be used and the configuration will simply be discarded. + +
+ Configuring a GemFire <literal>CacheServer</literal> + + In Spring GemFire 1.1 dedicated support for configuring a + CacheServer was added through + the org.springframework.data.gemfire.server package allowing complete configuration through the Spring container: + + + + + + + + + + + + + +]]> + + The configuration above shows the dedicated namespace support (through the cache-server element) and the pleothera of options available. Note that rather + then just hard-coding the port, this config uses Spring util namespace + to read it from a properties file and then replace it at runtime allowing administrators to change it without having to touch the main application config. Through Spring's property placeholder + support, + SpEL and the environment abstraction one + can externalize environment specific properties from the main code base easing the deployment across multiple machines. +
diff --git a/docs/src/docbkx/reference/data.xml b/docs/src/docbkx/reference/data.xml index 1e87683e..94c59da8 100644 --- a/docs/src/docbkx/reference/data.xml +++ b/docs/src/docbkx/reference/data.xml @@ -31,7 +31,7 @@ translator which is automatically detected by the Spring infrastructure and used accordingly.
- +
<classname>GemfireTemplate</classname> @@ -66,8 +66,40 @@ return region.query("length < 5"); } }); + + For accessing the full power of the GemFire query language, one can use the find and findUnique which, as oppose to the + query method, can execute queries inside across multiple regions, execute projections just to name a few features. find method should be + used when the query selects multiple items (through SelectResults) and the latter, findUnique, as the name suggests when only one object is returned. +
+
+ Support for Spring Cache Abstraction + + Since 1.1, Spring GemFire provides an implementation for Spring 3.1 + cache abstraction through the +org.springframework.data.gemfire.support package. To use GemFire + as a backing implementation, simply add GemfireCacheManager to your configuration: + + + + + + + + +]]> + + +
+ +
Transaction Management