close

Config file processing in Spring Boot 2.4

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.

Read more

Premiering: The RSocket Revolution

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
Read more

This Week in Spring - August 11, 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 Springxtravaganza! DO. NOT. MISS. THIS.

Read more

Spring Web Services Samples have been updated!

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.

Read more

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

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. This is presented as a step-by-step tutorial and we encourage you to follow the steps as you read.

Read more

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

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.

Read more

This Week in Spring - August 4th, 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.

Read more

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

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.

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 Stream sink application from this consumer.

Read more

This Week in Spring - July 28th, 2020

Hi, Spring fans! Welcome to another jam-packed installment of This Week in Spring. I’m technically on vacation so I’ll keep this pre-amble briefer than usual and get right into it.

Read more