Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreGreetings Spring & Apache Geode/Pivotal GemFire communities-
I am happy to announce the first milestone release of Spring Boot for Apache Geode & Pivotal GemFire, version 1.0.0.M1.
This is a great new project building on the work started in Spring Data for Apache Geode/Pivotal GemFire nearly 2 years ago, when we introduced annotation-based configuration.
With Spring Boot’s "convention over configuration" approach using auto-configuration, this project takes configuration and development of Spring Boot, Apache Geode & Pivotal GemFire applications to the next level, whether building and running applications in a stand-alone or a managed environment like Pivotal CloudFoundry (PCF), when using Pivotal Cloud Cache (PCC).
This project includes auto-configuration support for the following features:
System of Record (SOR) using Spring Data Repositories and Spring Transaction Management
Distributed Compute using Function Implementation & Executions
Event Stream Processing (ESP) using Continuous Query
Domain Object Versioning/Serialization using PDX
Security
TLS using SSL.
Milestone 2 will add auto-configuration support for Spring Session, using Apache Geode or Pivotal GemFire to manage your (HTTP) Session state.
In Milestone 3, we will begin to explore custom Spring Boot Health Indicators along with support for Spring Boot Actuator, which is powered by Micrometer.
For additional insight into the direction and progress of this project, have a look at the Issues.
The Spring Boot for Apache Geode/Pivotal GemFire Reference Guide can be found by clicking the link.
There are already a couple of examples available showcasing the use of Spring Boot for Apache Geode & Pivotal GemFire now.
The first example is the Pizza Store, Spring Boot application meant to show off the capabilities of Pivotal Cloud Cache (PCC) when pushing/deploying Spring Boot, Pivotal GemFire ClientCache
applications to Pivotal CloudFoundry (PCF).
The next example (boot-example) is from the Contacts Application Reference Implementation demonstrating Spring Data for Apache Geode/Pivotal GemFire.
Artifacts are available from the Spring libs-milestone
Maven Repository:
Maven
<repositories>
<repository>
<id>spring-milestone</id>
<url>https://repo.spring.io/libs-milestone</url>
</repository>
</repositories>
Gradle
repositories {
maven { url: 'https://repo.spring.io/libs-milestone' }
}
Include either the spring-geode-starter
dependency for developing Spring Boot, Apache Geode applications or the spring-gemfire-starter
dependency when developing Spring Boot, Pivotal GemFire applications. These dependencies are interchangeable.
Maven
<dependencies>
<dependency>
<groupId>org.springframework.geode</groupId>
<artifactId>spring-geode-starter</artifactId>
<version>1.0.0.M1</version>
</dependency>
</dependencies
Gradle
dependencies {
compile 'org.springframework.geode:spring-geode-starter:1.0.0.M1'
}
Feedback and contributions are always highly appreciated and welcomed.
GitHub Page | Issues | Pull Requests
Thank you.