The Spring Blog

Engineering
Releases
News and Events

This Week in Spring - October 9th, 2018

Hi Spring fans! This week I’m in sunny San Francisco for the epic SpringOne Tour San Francisco event. I’m also heads down preparing for the rush of travel ahead of me. Starting on the 14th, I’ll start four weeks of travel, bringing the message far-and-wide to Toronto, St. Petersburg, Brussels, San Francisco, Hartford, Paris, Beijing, Tokyo, Singapore, Seoul, Hong Kong, and.. I forget.. but there’s more! I’m so looking forward to seeing you all at each and everyone of those places!

I also loved this tweet from Pivotal today for me:

Read more...

Spring Noticias en Español, 2 de octubre 2018

SNES logo

Bienvenidos a todos a la edición inaugural de Spring Noticias en Español!!

Primero, una introducción. El español es el segundo o cuarto idioma más hablado en el mundo, de acuerdo a las estadísticas…​y Spring es la marca más popular de Java en el mundo. Hasta ahora, no ha existido una manera consistente de compartir los proyectos (videos, artículos, etc.) entre la comunidad de Spring de hispanohablantes. Todos juntos, podemos cambiar eso!

Periódicamente, publicaré noticias de tus proyectos escritos o grabados en español aquí. Ayúdame a extender tu voz y compartir tus conocimientos por todo el mundo!

Read more...

This Week in Spring - Tuesday, October 2nd, 2018

Whew! What a week! I’m exhausted! I’ve been running around visting one customer after another this week and it’s only Tuesday! My brain is still a smoldering hole from the craziness of last week’s epic SpringOne Platform 2018 event in Washington DC, and needless to say there’s a ton of new things to investigate and tons of videos to be available to the audience soon. This week is a wee bit more tame, so without further ado, let’s get to it!

I don’t know where you are in the world as you read this but I hope you’ll join me 17:00 BST, for my appearance at the vJUG where I’ll be looking at Bootiful Testing - join us!

Read more...

The evolution of Spring Fu

I take the opportunity of a short stop between SpringOne platform where I gave the first talk about Spring Fu and Kotlinconf to give an overview of the evolution of this project, summarize the current status and share what could be the next steps.

Early June, I announced a new experimental project named Spring Fu, with the goal to experiment on a new kind of API to configure Spring applications using Kotlin DSL and functional configuration.

Read more...

What's new in Spring Data Lovelace?

With Spring Data Lovelace just released in its generally available version last week, it is time to have a brief walk through the new features we have added. The release train is pretty packed with features. In this blog post, I cover the more general ones. Advanced, store-specific news is covered in the following blog posts:

Read more...

What's new in Spring Data Lovelace for MongoDB?

The past year has seen a lot of enhancements brought to the NoSQL Store including a bunch of new features and extended capabilities. We collaborated closely with the driver team at MongoDB, so the release already ships with decent support for sessions, change streams, schema validation, and (of course) transactions.

The most interesting new feature is probably MongoDB 4.0’s support for Multi-Document Transactions. If you have followed this blog before, you have probably read our Hands on Guide that explains both ClientSessions (which are the main building block) and transactions themselves. In short, SpringData provides you with everything you need to leverage Spring managed transaction support in your project. To use it, declare MongoTransactionManager in your configuration, as the following example shows:

Read more...

The Reactive Revolution at SpringOne Platform 2018 (part 1/N)

Hi Spring fans! What a crazy week in Spring it’s been! I’m at SpringOne Platform 2018 soaking up all the exciting community events, interacting with people from around the planet who love Pivotal and love Spring! I just got asked to take a selfie with a woman from Vietnam while five miles from the show - at a local mall where I happened to be for a community dinner! It’s wonderful that the Pivotal brings people of so many disparate cultures and places together.

Today, Wednesday 26th, 2018, was a doozie! There are so many wonderful things happening this week, of course, but today was a very special one for me. Today saw us take the wraps off of the amazing work Pivotal is doing on two fronts. I wanted only to briefly touch on these topics in this post. You’ll no doubt hear more about this from us in the weeks to come!

Read more...

What's new in Spring Data Lovelace for Redis and Apache Cassandra?

This blog post explains the new and noteworthy in Spring Data Lovelace for Apache Cassandra and Redis. Make sure to also check out the blog post on What’s new in Spring Data Lovelace for MongoDB?.

With Spring Data Lovelace just released in its generally available version last week, it’s time to have a brief walk through the new feature’s we have added. The release train is pretty packed with features.

In this blog post, I’ll be covering Apache Cassandra and Redis.

Spring Data for Apache Cassandra

With this release, we refined data access with Cassandra-specific types, introduced support for lifecycle events, improved the programming experience for both Java and Kotlin usage and included various other refinements. Let us take a look at how this release can help improve your data access to Cassandra.

Read more...

This Week in Spring (SpringOne Platform 2018 edition) - September 25th, 2018

It’s been such a crazy SpringOne Platform 2018 and we literally just started! I don’t even know where to begin! The show represents the convergence of the best and the brightest in the ecosystem. It’s absolutely amazing all the people who want and love to be here.

From our friends in the ecosystem, we see people from all organizations. IBM, Amazon Web Services, Microsoft and Google are all here hoping to make their platform the most compelling place to run Pivotal Cloud Foundry and Spring-based workloads. It’s great to see my friends from all these organizations! Friends like my friends Erin Schnabel, Emma Tucker, Billy Korando and Pratik Patel from IBM…

Read more...

Spring Cloud Function 2.0 and Azure Functions

Spring Cloud Function has had support for Microsoft Azure Functions since version 1.0, but in the latest 2.0 releases (still in milestone phase) we decided to change the programming model a bit. This article describes what the changes mean for users, and provides a bit of background behind the shift. We in the Spring team had a lot of fun working on this and collaborating with the folks at Microsoft to get the best blend of the two technologies for our users.

Azure Functions for Java

Microsoft has had Java support in Azure Functions for a while, and it enables developers to easily write and deploy Java code that connects in a serverless way to a wide range of platform services (events, databases, storage, HTTP gateways, etc.) in Azure. It comes with an annotation-based programming model that puts the function implementations in Java methods. So you write a method and annotation it with @FunctionName, and it becomes an Azure Function. There is a rich set of tools based on a Maven plugin (currently) that drives the Azure command line and can be used to build a function, run and debug it locally and deploy it to the cloud. There is a Quickstart Guide on the Azure website which will help you get all the pre-requisites installed and working, and there is more detailed documentation about how Azure Functions works in the Developer’s Guide.

Read more...