The Spring Blog

Engineering
Releases
News and Events

This Week in Spring - July 17th, 2018

Hi Spring fans and welcome to another installment of This Week in Spring! Can you believe we’re already midway through the year?? Stunning.

This week I’m in San Francisco preparing for a video shoot next week and a joint presentatio with Google’s Ray Tsang at next week’s Google NEXT and tomorrow it’s off to Portland, OR, for the epic OSCON event where I’ll be doing a book signing at the O’Reilly booth on Wednesday and I’ll be doing a talk, Reactive Spring, on thursday. As usual, if you’re in the region and want to chat or grab a Voodoo doughnut, don’t hesitate to say hi!

Read more...

Spring Cloud Stream Elmhurst.SR1 Released

On behalf of the team, I am pleased to announce the availability of Spring Cloud Stream Elmhurst.SR1 release train. This is the first maintenance release on the Elmhurst line and includes several bug fixes and minor enhancements in core Spring Cloud Stream (2.0.1.RELEASE), Kafka binder (2.0.1.RELEASE), and the Rabbit binder (2.0.1.RELEASE). Please take a look at the release notes for more details. The release can be found in maven central. Detailed descriptions can be found in the reference documentation.

Read more...

This Week in Spring - July 10th, 2018

Hi Spring fans! Welcome to another installment of This Week in Spring! This week I’m in sunny (warm!) Los Angeles for the epic SpringOne Tour Los Angeles event and then it’s off to Boston for meetings. We’ve got a lot to cover, as usual, so let’s get to it!

Read more...

Spring Social End of Life Announcement

Today it is with an optimistic look to the future that I am announcing the end of life for Spring Social, a project that I have had the pleasure to work with over the past eight years.

With the release of Spring Security 5, much of the functionality offered by Spring Social’s connection framework—which I consider the most valuable piece of Spring Social—is now part of Spring Security. In fact, I shared how to use Spring Security’s new support for client-side OAuth2 in a blog article from back in March. And as Spring Security continues to evolve its client-side OAuth support, Spring Social’s connection framework will continue to become more unnecessary. It simply no longer makes sense to have Spring’s OAuth story spread across so many projects—it’s time for a single cohesive OAuth story for Spring developers.

Read more...

This Week in Spring - July 3rd, 2018

Hi Spring fans! Welcome to another installment of This Week in Spring! This week I’m fresh of the amazing Spring Connect São Paulo event and speaking with some customers, and now I’m in beautiful Rio de Janeiro soaking up the winter rays by he beach, connecting with people in the community, and delivering a (virtual!) 2 day live training course for O’Reilly on building cloud-native Java-based applications. In less than two days I’ll be home for the first time in almost a month to celebrate the 4th of July. If you’re in America, let me be the first to wish you a happy holiday. As usual, we’ve got a ton of things to dive into so I’ll leave you to it. Let’s get going.

Read more...

Spring Cloud Stream Fishtown.M1 /2.1.0.M1 Release Announcement

We are pleased to announce the first Milestone of the Spring Cloud Stream Fishtown release train - Fishtown.M1/2.1.0.M1.

Spring Cloud Stream Fishtown 2.1.0.M1 is available for use in the Spring Milestone repository. The release notes include relevant information about version compatibility with Spring Boot, Spring Cloud, Spring AMQP, and Spring for Apache Kafka.

The following section provides a brief summary of features and improvements included in this release.

Notable Features, Improvements & enhancements

Read more...

Hands on MongoDB 4.0 transactions with Spring Data

With MongoDB 4.0, ACID transactions have arrived in the Document store, enforcing all-or-nothing execution and maintaining data integrity. So, let’s get straight to it by looking at both the synchronous and the reactive execution models.

At the time of this writing, MongoDB multi-document transactions are supported across a single replica set and feel like the transactions you are probably familiar with from relational databases. Looking at the driver API, one feels immediately at home:

try (ClientSession session = client.startSession()) {

    session.startTransaction();

    try {

        collection.insertOne(session, documentOne);
        collection.insertOne(session, documentTwo);

        session.commitTransaction();

    } catch (Exception e) {
        session.abortTransaction();
    }
}
Read more...

This Week in Spring - June 26th, 2018

Hi Spring fans and welcome to another installment of This Week in Spring! This last week’s been fun! Since we last spoke, I have been in Amsterdam (customers), London (SpringOne Tour London); Paris, Fr (JHipster Conf); Krakow, Pl (Devoxx PL); and now Sao Paulo, Br (Spring Connect SP). It’s been a wild ride and it’s nice to conclude the journey here in Brazil with one of the largest Java communities on earth.

And, as a cherry on top, there is a ton of great stuff to look at in this week’s roundup so let’s get to it!

Read more...

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

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

Read more...

Spring Session for Apache Geode/Pivotal GemFire 2.0.3.RELEASE Released!

Greetings Spring & Apache Geode/Pivotal GemFire community.

It is my pleasure to announce the release of Spring Session for Apache Geode & Pivotal GemFire 2.0.3.RELEASE. This release aligns with Spring Session core 2.0.3.RELEASE and Spring Data Kay-SR7.

Of course, Spring Session core 2.0.4.RELEASE and Spring Data Kay-SR8 are already available and you can expect another release of Spring Session for Apache Geode/Pivotal GemFire in early July. This is an intermediate release with:

  • Upgrades to Gradle 4.8, using Spring Build Conventions Gradle Plugin 0.0.16.RELEASE.

  • Updated dependencies (as noted above).

  • Switched dependency management to Spring Boot’s Dependency BOM, based on Spring Boot 2.0.2.RELEASE to better align with the Spring ecosystem of projects and 3rd party dependencies.

Read more...