Skip to content

spring-projects/spring-boot-data-geode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Spring Boot for Apache Geode

Spring Boot for Apache Geode extends Spring Boot with auto-configuration support as well as other convention & configuration features to simplify the development of Spring applications using Apache Geode in a Spring context.

Project Goals

This project adds Spring Boot auto-configuration and actuator support for Apache Geode.

Among other things, this project builds on Spring Boot as well as Spring Data for Apache Geode (SDG) and additionally offers…​

  1. Auto-configures an Apache Geode ClientCache instance automatically when Spring Data for Apache Geode (SDG) is on the application’s CLASSPATH.

  2. Auto-configures Apache Geode as a caching provider in Spring’s Cache Abstraction when Spring Data for Apache Geode (SDG) is on the application’s CLASSPATH to solve caching uses cases.

  3. Auto-configures Spring Data for Apache Geode (SDG) Repositories when Spring Data for Apache Geode (SDG) is on the application’s CLASSPATH and Spring Boot detects SDG Repositories in your Spring Boot application to solve persistent use cases.

  4. Auto-configures Apache Geode Functions when Spring Data for Apache Geode (SDG) is on the application’s CLASSPATH and Spring Boot auto-detects SDG Function implementations or executions to solve your distributed compute problems.

  5. Auto-configures Apache Geode CQ when Spring Data for Apache Geode (SDG) is on the application’s CLASSPATH and Spring Boot auto-detects SDG CQ query declarations on application components to solve real-time event stream processing use cases.

  6. Auto-configures Apache Geode as a HTTP Session state management provider when _Spring Session for Apache Geode (SSDG) is on the application’s CLASSPATH.

  7. Auto-configures Apache Geode Security, both Authentication & Authorization (Auth) as well as Transport Layer Security (TLS) using SSL.

  8. Provides additional support for Spring Boot and Spring Data for Apache Geode applications deployed to VMware Tanzu Application Service (TAS) using VMware Tanzu GemFire for VMs.

This, along with many other benefits, are provided by this project.

Documentation

Table 1. Example Apache Geode Applications using Spring Boot
Version Reference Documentation Javadoc Samples

current

Ref Docs

Javadoc

Samples

1.0.1.RELEASE

Ref Docs

Javadoc

Samples

1.0.2.BUILD-SNAPSHOT

Ref Docs

Javadoc

Samples

1.1.11.RELEASE

Ref Docs

Javadoc

Samples

1.1.12.BUILD-SNAPSHOT

Ref Docs

Javadoc

Samples

1.2.13.RELEASE

Ref Docs

Javadoc

Samples

1.2.14.BUILD-SNAPSHOT

Ref Docs

Javadoc

Samples

1.3.12.RELEASE

Ref Docs

Javadoc

Samples

1.3.13.BUILD-SNAPSHOT

Ref Docs

Javadoc

Samples

1.4.12

Ref Docs

Javadoc

Samples

1.4.13-SNAPSHOT

Ref Docs

Javadoc

Samples

Examples

The single, most relevant "source of truth" on how to get started quickly and effectively, using Spring Boot for Apache Geode (SBDG) to solve problems, is to start with the Samples. There, you will find different examples with documentation and code showing you how to use SBDG to appropriately handle specific application concerns, like Caching.

You can find an example of using SBDG in the Pivotal Cloud Cache (PCC) Pizza Store GitHub repository, which is a Spring Boot, Apache Geode ClientCache application that connects to PCC when the app is deployed to PCF.

The boot-example found in the Contacts Application Reference Implementation for Spring Data for Apache Geode (SDG) uses SBDG to manage Books in a System of Record Use Case.

Then, there is a series of examples that walks a user through a series of steps starting by building a simple, Spring Boot client application using the Apache Geode API only. Next, the app is rebuilt using Spring Data for Apache Geode (SDG) to show the simplifications that SDG affords you as a developer. Finally, the app is rebuilt once more using SBDG to demonstrate the power of Apache Geode when combined with Spring Boot. The example can be found in the PCCDemo GitHub repository. Each app can be deployed to PCF and bound to a Pivotal Cloud Cache (PCC) service instance. With SBDG, little to no code or configuration changes are necessary to run the app locally and then later deploy the same app to a managed environment like PCF. It just works!

Finally, the Temperature Service example is an Internet of Things (IoT) and Event Stream Processing (ESP) Use Case that manages Temperature Sensors and Monitors and uses SBDG to make the application configuration and implementation as simple as can be.

Overtime, we will be adding even more relevant and practical examples, so please keep checking back.

Spring Boot Project Site

You can find the documentation, issue management, support, samples, and guides for using Spring Boot at https://projects.spring.io/spring-boot/

Code of Conduct

Please see our code of conduct

Reporting Security Vulnerabilities

Please see our Security policy.

License

Spring Boot and Spring Boot for Apache Geode is Open Source Software released under the Apache 2.0 license.