Spring Team
John Blum

John Blum

Spring Data Team

Portland, OR

Blog Posts by John Blum

Spring Boot for Apache Geode & Pivotal GemFire 1.1.0.M1 Released!

I am pleased to announce the release of Spring Boot for Apache Geode & Pivotal GemFire/PCC (SBDG) 1.1.0.M1.

Bits (org.springframework.geode:spring-geode-starter:1.1.0.M1) are available in the Spring libs-milestone repository.

What’s New

The SBDG 1.1 Milestone 1 (M1) release includes:

  • Rebases SBDG on Spring Framework 5.1, Spring Boot 2.1, Spring Data Lovelace and Spring Session 2.1.

  • Rebases SBDG on Apache Geode 1.6.0 and Pivotal GemFire 9.5.3.

For a complete list of changes, see the changelog.

What’s Next

SBDG 1.1 M2 will include dedicated support for In-line Caching, the second caching pattern in our 3 separate caching patters [Look-Aside, Inline, Near].

As a friendly reminder, Spring’s Cache Abstraction already provides excellent support for the Look-Aside Caching pattern, and SBDG (by extension of SDG) provides first-class support for using either Apache Geode or Pivotal GemFire/PCC as a caching provider in Spring’s Cache Abstraction.

This was also covered nicely in the new Sample on Look-Aside Caching, containing both a Guide and Example Code.

Read more...

Spring Boot for Apache Geode & Pivotal GemFire 1.0.0.RELEASE Available!

At long last, it is my distinct pleasure to announce the release of Spring Boot for Apache Geode & Pivotal GemFire (SBDG) 1.0.0.RELEASE!

The list of people to thank is long.

First, to Dr. Mark Pollack for your feedback real early on in the beginning of the project.

To Mr. Josh Long for sitting with me for 2 hours after midnight during S1P-2018 to give me feedback on using Apache Geode with Spring Boot.

To Mr. Phil Webb, and the entire Spring Boot ream, for providing guidance.

To the few community members who contributed PRs.

Read more...

Spring Boot for Apache Geode & Pivotal GemFire 1.0.0.RC2 Released!

I am pleased to announce the release of Spring Boot for Apache Geode & Pivotal GemFire (SBDG) 1.0.0.RC2.

I would like to send a special shoutout to the Spring Boot team for providing invaluable feedback on this project. Indeed, without Spring Boot and the fine efforts of the Boot team, SBDG would not be possible. So, thank you Boot team!

After incorporating the feedback, I decided to postpone the final GA and introduce 1 more release candidate. Final 1.0 GA is (tentatively) scheduled for Monday, May 6th.

Read more...

Spring Boot for Apache Geode & Pivotal GemFire 1.0.0.RC1 Released!

I am pleased to announce the release of Spring Boot for Apache Geode and Pivotal GemFire (SBDG) 1.0.0.RC1.

This is another significant milestone and SBDG 1.0 is less than a week away from final GA.

The new bits, org.springframework.geode:spring-geode-starter:1.0.0.RC1, are available in the Spring libs-milestone repository, here.

What’s New

This release adds several new features with some significant improvements and important bug fixes:

  • Added auto-configuration support to automatically configure a GemfireTemplate for each GemFire/Geode Region defined in the GemFire/Geode cache. Read more

  • Added chapter on "Auto-configuration vs. Annotation-based configuration" to the reference guide. Read more

  • To compliment the chapter, added a new sample to explain and show Spring Boot’s auto-configuration support for GemFire/Geode in action. Read more

  • Fixed a bug in the HTTP client used to push cluster configuration from a client to a standalone GemFire/Geode cluster, or PCC environment, with Security (Auth) enabled. Read more

  • Switched Reference Docs to the HTML5 format. See here.

Read more...

Spring Session for Apache Geode & Pivotal GemFire 2.2.0.M1 Available

I am pleased to announce the release of Spring Session for Apache Geode & Pivotal GemFire (SSDG), 2.2.0.M1.

This release focuses on dependency updates to align with the rest of the Spring portfolio in their respective release lines, building on:

  • Spring Framework 5.2.0.M1

  • Spring Data Moore-M3

  • Spring Session 2.2.0.M1

  • And is targeted for use in Spring Boot 2.2.0.M1

SSDG 2.2.0.M1 bits are available in the Spring libs-milestone repository (here).

What’s Next

Some of the proposed and upcoming features in the SSDG 2.2 release line include:

  • Attached Sessions (option).

  • Stronger Consistency (option) using Map.replace(key, oldValue, newValue) for lightweight transactions supplanting the need for heavier, cache/local transactions.

  • Improvements in PDX Serialization support.

  • And much more…​

Read more...

Spring Session for Apache Geode & Pivotal GemFire 2.0.9.RELEASE & 2.1.3.RELEASE Available

I am pleased to announce the release of Spring Session for Apache Geode & Pivotal GemFire (SSDG), 2.0.9.RELEASE and 2.1.3.RELEASE.

Both of these releases focus on dependency updates to align with the rest of the Spring portfolio in their respective release lines.

SSDG 2.0.9.RELEASE builds on:

  • Spring Framework 5.0.13.RELEASE

  • Spring Data Kay-SR14

  • Spring Session 2.0.10.RELEASE (Apple-SR9)

  • And is targeted for use in Spring Boot 2.0.9.RELEASE.

SSDG 2.1.3.RELEASE builds on:

  • Spring Framework 5.1.6.RELESE

  • Spring Data Lovelace-SR6

  • Spring Session 2.1.5.RELEASE (Bean-SR4)

  • And is targeted for use in Spring Boot 2.1.4.RELEASE

Read more...

Spring Boot for Apache Geode & Pivotal GemFire 1.0.0.M4 Released!

On behalf of the Spring, Apache Geode and Pivotal GemFire communities, I am pleased to announce the release of Spring Boot for Apache Geode & Pivotal GemFire (SBDG) 1.0.0.M4.

Special appreciation goes out to @starbuxman for his invaluable feedback after SpringOne Platform 2018. And, if you have not seen Josh’s Spring Tip video on Apache, please check it out.

What’s New

Among a few minor updates, Milestone 4 adds the following new capabilities:

  • Externalized configuration support with Spring Boot’s Configuration Processor and SBDG provided @ConfigurationProperties classes (Read here for more details). Inside STS or IJ Enterprise addition, developers will have the added convenience of auto-completion and content assist.

  • GemFire/Geode nodes can now be named with the spring.application.name property.

  • The GemFire/Geode Spring Boot starters now include Spring Shell as a runtime dependency, which is convenient when enabling and using GemFire/Geode’s management services.

  • Provided a workaround to an issue in Spring Cloud Commons .

For complete list of changes, see the changelog.

You can acquire the bits from the Spring libs-milestone repository:

Maven
<repositories>
    <repository>
        <id>spring-libs-milestone</id>
        <name>Spring Milestone Maven Repository</name>
        <url>https://repo.spring.io/libs-milestone</url>
    </repository>
</repositories>

<dependencies>
    <dependency>
        <groupId>org.springframework.geode</groupId>
        <artifactId>spring-geode-starter</artifactId>
        <version>1.0.0.M4</version>
    </dependency>
</dependencies>
Gradle
repository {
  maven { url "https://repo.spring.io/libs-milestone" }
}

dependencies {
  compile 'org.springframework.geode:spring-geode-starter:1.0.0.M4'
}

To switch from Apache Geode to Pivotal GemFire simply, change the Spring Boot starter from spring-geode-starter to spring-gemfire-starter.

Read more...

Spring Session for Apache Geode/Pivotal GemFire 2.0.8.RELEASE Available!

I am pleased to announce Spring Session for Apache Geode & Pivotal GemFire (SSDG) 2.0.8.RELEASE.

SSDG builds on Spring Session 2.0.9.RELEASE, Spring Data Kay-SR13 and Spring Framework 5.0.12.RELEASE along with Apache Geode 1.2.1 and Pivotal GemFire 9.1.1. Additionally, SSDG 2.0.8.RELEASE is compatible with Spring Boot 2.0.x based applications.

This release pulls in many enhancements from the 2.1.x release branch along with a few minor fixes. Highlights include:

  1. Prevent saving non-dirty Sessions (Issue-12). This primarily protects against Apache Geode/Pivotal GemFire bug GEODE-6032.

  2. Standardize all logging on SLF4J (Issue-18).

  3. Fixed bug involving incorrect synchronization lock on Session attributes passed down from the Session object on creation.

  4. Fixed bug involving Data Serialization to properly identify when a user uses a custom DataSerializer to de/serialize the Session.

Read more...

Spring Session for Apache Geode/Pivotal GemFire 2.1.2.RELEASE Available!

It is my pleasure to announce Spring Session for Apache Geode and Pivotal GemFire (SSDG), 2.1.2.RELEASE (official project site).

In addition to several new features and improvements that follow, SSDG 2.1.2.RELEASE builds on:

  • Spring Framework 5.1.3.RELEASE.

  • Spring Data for Apache Geode & Pivotal GemFire Lovelace-SR3.

  • Spring Session 2.1.2.RELEASE.

These bits will be picked up in Spring Boot 2.1.2.RELEASE and are available in Maven Central now.

You can easily switch from Apache Geode to Pivotal GemFire simply by changing your application dependency from

Read more...

Spring Session for Apache Geode/Pivotal GemFire 2.0.6.RELEASE and 2.1.0.RELEASE Available!

Good things come in pairs, so I am happy to announce the availability of Spring Session for Apache Geode & Pivotal GemFire (SSDG) 2.0.6.RELEASE and 2.1.0.RELEASE.

SSDG 2.0.6.RELEASE, based on Spring Framework 5.0.10.RELEASE, Spring Data Kay-SR11 and Spring Session core 2.0.7.RELEASE mainly contains dependency updates.

SSDG 2.1.0.RELEASE, on the other hand, has been upgraded to Spring Framework 5.1.1.RELEASE, Spring Data Lovelace-SR1 and Spring Session core 2.1.0.RELEASE, and additionally includes support for custom Session expiration policies and rules.

Read more...