The Spring Blog

Engineering
Releases
News and Events

This Week in Spring - May 15th, 2018

Hi Spring fans and welcome to another installment of This Week in Spring! I just returned from a month of travel on Saturday, and on Sunday I was off to Denver, CO, for the epic SpringOne Tour Denver show. Now, I’m off to begin a 10 day tour of Kyiv, Ukraine (JEEConf); Dublin, Ireland and Belfast, Northern Ireland; and Barcelona, Spain (Spring I/O). I hope to see you around! (@starbuxman)

We’ve got a ton of good stuff to look at today so let’s get to it!

Read more...

New tutorial about Spring Boot and Kotlin

For 2 years, we have introduced Kotlin support in Spring projects (Framework, Boot, Data) and published various blog posts, sample projects, slides and documentation. Today, we are publishing an opinionated tutorial intended to summarize in a single place how to build a Spring Boot web application in Kotlin leveraging these features and following best practices:
https://spring.io/guides/tutorials/spring-boot-kotlin/

Topics covered are:

  • How to create a Spring Boot 2 project in Kotlin
  • Understanding the build configuration
  • Testing with JUnit 5: integration tests, @WebMvcTest + mocking
  • Persistence with JPA and data classes
  • Creating your own extensions
  • Rendering web pages with Mustache
  • HTTP API with @RestController
  • Configuration properties
Read more...

Spring Project Vulnerability Reports Published

The following CVEs have been published today:

Please, review the information in the CVE reports and upgrade immediately.

Spring Boot Users: Spring Boot 2.0.2 and 1.5.13, released earlier today, contain the fixes for the above vulnerabilities.

Read more...

This Week in Spring - May 8th, 2018

Hi Spring fans! Welcome to another installment of This Week in Spring! This week I’m in Manchester, UK, for an appearance at the Manchester JUG and then it’s off to London, UK, for some customer visits and the epic Devoxx UK event. This time next week I’ll be in Denver, USA, for the SpringOne Tour event. If you’re in any of these places, as usual, don’t hesitate to reach out and say hi (@starbuxman)

Read more...

This Week in Spring - May 1st, 2018

Hi Spring fans! Welcome to another installment of This Week in Spring! In the last week I went from Germany (for JAXON) to Linz, Austria (for DevOne) and Vienna, Austria (for a meetup) and now I’m in Melbourne, Australia (after a 10 hour stopover in Bangkok, Thailand), for the VOXXED Melbourne event. As usual, if you’re around I’d love to hear from you!

Without further ado, we’ve got a lot to cover so let’s get to it!

Read more...

This Week in Spring - April 24th, 2018

Hi Spring fans! Welcome to another incredible installment of all that’s fit to tweet, blog, record and print about Spring! It’s been an insane week! Since our last installment I was in Paris, FR, for the epic Devoxx FR conference where I spoke at a meetup hosted by ZenikaIT, gave a workshop on Reactive Cloud Native Java and co-presented a talk on Reactive Spring with the one-and-only Juergen Hoeller. I jumped off stage and ran to the airport to board a flight leaving 150 minutes later headed back to the US!

Read more...

Kafka Streams and Spring Cloud Stream

On the heels of the recently announced Spring Cloud Stream Elmhurst.RELEASE, we are pleased to present another blog installment dedicated to Spring Cloud Stream’s native integration with the Apache Kafka Streams library. Let’s review the new improvements.

MessageChannel Binders

Spring Cloud Stream framework enables application developers to write event-driven applications that use the strong foundations of Spring Boot and Spring Integration. The underpinning of all these is the binder implementation, which is responsible for communication between the application and the message broker. These binders are MessageChannel-based implementations.

Read more...