xml/HelloWorld.xml file is the declarative XML configuration for the Pivotal
GemFire cache. Use this file to set up general cache facilities and behavior
and to create and initialize cached data regions.
Although it can have any name, this file is generally referred to as
- XML version and DOCTYPE
element. Highest level element for peer and server caches. These are peer
caches. (Client caches are defined by <client-cache>.)
element. Defines the data region
used for the example and specifies all non-default region configuration
- This region is
configured as a replicate, meaning that any data either application writes into
it is sent automatically to the other application's cache.
- The region also has a
listener installed named SimpleCacheListener.
<!DOCTYPE cache PUBLIC
"-//GemStone Systems, Inc.//GemFire Declarative Caching 6.5//EN"
<region name="exampleRegion" refid="REPLICATE">
Note: The tutorial's sample XML files reference a cache DTD file from an
earlier GemFire version. All GemFire schemas from previous GemFire versions and
the current GemFire version are included with the product.