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.
This project builds on Spring Boot along with Spring Data for Apache Geode (SDG), Spring Session for Apache Geode (SSDG) and Spring Test for Apache Geode (STDG).
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…
-
Auto-configures an Apache Geode ClientCache instance automatically when Spring Data for Apache Geode (SDG) is on the application’s CLASSPATH.
-
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.
-
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.
-
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.
-
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.
-
Auto-configures Apache Geode as a HTTP Session state management provider when _Spring Session for Apache Geode (SSDG) is on the application’s CLASSPATH.
-
Auto-configures Apache Geode Security, both Authentication & Authorization (Auth) as well as Transport Layer Security (TLS) using SSL.
-
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.
Version | Reference Documentation | Javadoc | Samples |
---|---|---|---|
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
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.
You can find the documentation, issue management, support, samples, and guides for using Spring Boot at https://projects.spring.io/spring-boot/
Please see our code of conduct
Please see our Security policy.
Spring Boot and Spring Boot for Apache Geode is Open Source Software released under the Apache 2.0 license.