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.M3 Released!

On behalf of the Spring, Apache Geode and Pivotal communities, I am pleased to announce the release of Spring Boot for Apache Geode & Pivotal GemFire 1.1.0.M3.

What’s New

The main theme of this release was to add support for hybrid cloud deployments.

For instance, perhaps you want to push and run your Spring Boot, Apache Geode or Pivotal GemFire applications on Pivotal CloudFoundry (PCF), but connect those applications to an externally managed, standalone Apache Geode or Pivotal GemFire cluster. Now, SBDG allows you to do just that.

Technically, SBDG takes advantage of a feature in PCF called CUPS, or Create User-Provided Service. By defining your own service descriptor you can connect your Spring Boot applications to externally managed services, like databases, message queues and even In-Memory Data Grids & Caches like Apache Geode or Pivotal GemFire.

By following a prescribed service descriptor format, it makes it simple to switch to a platform managed service like Pivotal Cloud Cache when you need it.

Indeed, we believe this is an important stepping stone for users making their way to a Cloud-Native platform, like PCF, where they still have much invested in their legacy architectures.

We do highly recommend using a managed service like Pivotal Cloud Cache for your application and Microservices caching needs, but we also realize that making this switch is not as easy as flipping the switch.

We want to help you get there. After all, Cloud-Native (Data) Patterns are crucial to the modern application architecture, particularly when talking about things like high availability and resiliency as well as making effective use of your computing resources.

You can learn more about this new support in the Reference Documentation.

In addition to hybrid cloud support, we also added:

  • Auto-configuration for logging.

  • Support to target specific Pivotal Cloud Cache (PCC) service instances when multiple instances are bound to your Spring Boot app.

  • Upgrades to Spring Boot 2.1.6.RELEASE.

  • Upgrade to Spring Test for Apache Geode & Pivotal GemFire (STDG) 0.0.5.RELEASE.

See the changelog for more details.

Read more...

Spring Boot for Apache Geode & Pivotal GemFire 1.0.1.RELEASE & 1.1.0.M2 Available

On behalf of the Spring and Apache Geode communities, it is my pleasure to announce the release of Spring Boot for Apache Geode & Pivotal GemFire (SBDG) 1.0.1.RELEASE and 1.1.0.M2.

New in SBDG 1.0.1.RELEASE

SBDG 1.0.1.RELEASE builds on:

  • Spring Framework 5.0.14.RELEASE

  • Spring Boot 2.0.9.RELEASE

  • Spring Data Kay-SR14

  • Spring Session for Apache Geode & Pivotal GemFire 2.0.9.RELEASE

Additionally, SBDG now supports the ability configure and bootstrap a Locator process, which disables the auto-configuration supplying a ClientCache instance, by default.

See the complete changelog for further details.

Read more...

Spring Session for Apache Geode & Pivotal GemFire 2.1.4.RELEASE & 2.2.0.M2 Available

On behalf of the Spring and Apache Geode communities, it is my pleasure to announce the release of Spring Session for Apache Geode and Pivotal GemFire (SSDG) 2.1.4.RELEASE and 2.2.0.M2 releases.

Both SSDG 2.1.4.RELEASE and 2.2.0.M2 now support the ability to turn off client subscriptions. No longer does SSDG require client subscriptions to be enabled to use either Apache Geode or Pivotal GemFire to manage your HTTP Session state. However, if client subscriptions are not explicitly enabled, then the client will no longer receive notifications of Session events that may have originated from other clients accessing the same (HTTP) Session. This is entirely possible in a load balanced, non-sticky Session, environment.

Read more...

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...