Creating Efficient Docker Images with Spring Boot 2.3

Engineering | Madhura Bhave | August 14, 2020 | ...

This is an update to the original blog post about creating docker images with Spring Boot 2.3. There were a few things related to image creation that changed between the first milestone of Spring Boot 2.3 and the GA release.

The two new features introduced in Spring Boot 2.3 to help improve image creation techniques were: layered jars and buildpack support.

Layered Jars

The layered jar feature evolved quite a bit as we started adding support for custom layers. While the need to express layers that the jar should be split into for image creation was evident, changing the format of the jar to do so no longer seemed necessary. Spring Boot 2.3 includes support for layering a jar using a layers.idx file. The layers index file provides a list of layers and the parts of the jar that should be…

Config file processing in Spring Boot 2.4

Engineering | Phil Webb | August 14, 2020 | ...

Spring Boot 2.4.0.M2 has just been released, and it brings with it some interesting changes to the way that application.properties and application.yml files are loaded.

If your applications use the fairly typical setup of only using a single application.properties or application.yml file, then you’ll probably not notice any difference. If, however, you have applications that use more complex setups (such as profile specific properties), you might want to read on to learn about what we’ve changed and why.

Why We’re Making These Changes

With recent versions of Spring Boot we’ve been working hard…

A Bootiful Podcast: RSocket everywhere and Maciej Walkowiak on Spring Cloud AWS

Engineering | Josh Long | August 14, 2020 | ...

Hi, Spring fans! In this installment Josh Long (@starbuxman) has RSocket on the brain with his latest talk, RSocket Revolution, the new RSocket chapter in his book Reactive Spring, and the work he's doing on Spring Retrosocket, a declarative Feign-like RSocket client. Then, Josh talks to Spring ecosystem luminary Maciej Walkowiak (@maciejwalkowiak) about what he's doing at the helm of Spring Cloud AWS.

Premiering: The RSocket Revolution

Engineering | Josh Long | August 13, 2020 | ...

Hi, Spring fans! I have been developing a new talk and I finally got a chance to do a pre-recorded version of it for a keynote for a conference (in China) recently, and want to share the content with you all, so I'm premiering it here, too. This talk, The RSocket Revolution, is about 38 minutes and looks at:

  • some of the new features in Spring Boot 2.3x including GraalVM-capable native images
  • the basics of RSocket
  • fundamentals with RSocket @Controllers in Spring Framework
  • Toshiaki Maki's fantastic rsc RSocket client
  • Declarative, Feign-like clients with Spring Retrosocket
  • The RSocketRequester to support making requests of RSocket services on the JVM
  • Spring Integration's reactive and RSocket support
  • Bidirectional communication - where both client and service separately initiate the communication - using RSocket
  • Securing RSocket endpoints with Spring Security and RSocket metadata

This Week in Spring - August 11, 2020

Engineering | Josh Long | August 12, 2020 | ...

Hi, Spring fans!

How's things? I am super happy to talk to you! How's things? Me, I'm alright. Just published a new edition of the Reactive Spring book with a whopping 70+ page on RSocket. And speaking of RSocket, I just finished recording a talk that'll go live next week on the Spring YouTube channel very soon! I hope you enjoy it. And, of course, I am doing a 2-day long training for YOW! conference starting Thursday (PST)/Friday (in Australia). It's never too late to register for that!.

And, of course, we're ramping up to SpringOne 2020, our all-free, all-virtual tentpole conference…

Case Study: Build and Run a Streaming Application Using an HTTP Source and a JDBC Sink

Engineering | David Turanski | August 10, 2020 | ...

Introduction

So far in this series we have introduced the new stream applications based on Java functions, and function composition. We have also provided detailed examples of how to build a source from a supplier and a sink from a consumer. Here we continue the journey with the first of several case studies to follow. Each case study demonstrates how to use one or more of the available pre-packaged Spring Boot stream applications, in various scenarios, to build data streaming pipelines.

Today we will showcase two of the most commonly used applications, the HTTP source and the JDBC sink. We will use them to build a simple service that accepts HTTP POST requests and saves the contents to a database table. We will first run these as standalone Spring Cloud Stream applications, and then show how to orchestrate the same pipeline with Spring Cloud Data Flow

Spring Web Services Samples have been updated!

Engineering | Greg L. Turnquist | August 10, 2020 | ...

Dear Spring community,

Spring Web Services Samples (spring-ws-samples) has been upgraded!

You might have known this, but many parts of this collection of samples goes all the way back to 2006. Today, I am happy to report it has been updated in a multitude of ways.

  • Introduction to Spring Boot

  • Introduction to Spring Data

  • Removal of outdated technologies

  • Removal of redundant samples

This was a hard-won task that took me several weeks, but based on the incredible persistence of SOAP, it was something that had to be done to serve the Spring community.

Introduction to Spring Boot

One of…

A Bootiful Podcast: JFrog's Baruch Sadogursky on continuous delivery, DevOps, Java artifact management and more

Engineering | Josh Long | August 07, 2020 | ...

Hi, Spring fans! In this installment Josh Long (@starbuxman) talks about ten years on the Spring team, reactive support, and RSocket support in Spring Integration, his upcoming appearances at SpringOne and his upcoming YOW! workshop on Cloud Native Java, and then talks to JFrog's Baruch Sadogursky (@jbaruch) about continuous delivery, DevOps, Java artifact management Artifactory, and more.

This Week in Spring - August 4th, 2020

Engineering | Josh Long | August 05, 2020 | ...

Hi, Spring fans! Welcome to another installment of This Week in Spring!

How're you all doing? Me? I'm doing swell! I was so happy to celebrate my tenth anniversary on the Spring team on the 2nd of August, 2020. It has been an amazing run so far and I am so excited about the continued adventure! A huge part of the reason I love this job is because of you, dear community. Thank you. You can learn more about the story so far in this blog.

Creating a function for consuming data and generating Spring Cloud Stream Sink applications

Engineering | Soby Chacko | August 03, 2020 | ...

This is part 4 of the blog series in which we are introducing java functions for Spring Cloud Stream applications.

Other parts in the series.

Part 1 - General Introduction

Part 2 - Function Composition

Part 3 - Supplier function and Source application

In the last blog in this series, we saw how we can use a java.util.function.Supplier to generate a Spring Cloud Stream source. In this new edition, we will see how a consuming function can be developed and tested using java.util.function.Consumer and java.util.function.Function. Later on, we will briefly explain the generation of a Spring Cloud…

Get the Spring newsletter

Stay connected with the Spring newsletter

Subscribe

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all