Recommended Development Model

The Spring development environment provides several programming models that allow developers to create and configure Java applications that use GemFire caches and regions for high-performance data access. These models include using Spring dependency injection with the standard GemFire cache.xml file to configure GemFire; using the GemFireTemplate (similar to the Spring Data JDBCTemplate); and using the Spring XML Namespace to configure GemFire data access.

Pivotal recommends that developers use the Spring XML Namespace to configure their GemFire components and this chapter provides an overview of that model. For information on other programming models, see the Spring Data GemFire Reference Guide.

Using the Spring XML namespace provides the following advantages: