Hi Spring fans! Welcome to another installment of This Week in Spring! This week I’ve just flown back from Canada and Russia where I was at the amazing Joker conference in St. Petersburg. I’m now in San Francisco (where I live!) for a couple of days to soak up the amazing atmosphere around Oracle CodeOne, reunited with the Java community and longtime friends. I’m so excited about the presentation that fellow Java Champion Trisha Gee and I are doing tomorrow at 11:30 am that introduces an end-to-end reactive and Spring-based application from JavaFX client to service. Do not miss this!
The Spring Blog
Spring Cloud Function has a couple of new features in 2.0 (still in milestone phase), and possibly the most dramatic is the ability to go "fully functional". This is made possible by changes in Spring Boot 2.1 together with Spring Framework 5.1, and it means a different way of thinking about bean definitions in Spring applications, but also significant improvements in startup performance.
It’s always good to start with a picture, especially if it tells a story. Here’s a graph that shows the improvement in Spring Cloud Function 2.0 over 1.0, comparing the cost of cold starts in AWS:
The x-axis is memory in MB, and the y-axis is cost of a cold start in GBsec. The most dramatic effect is for low memory containers, where the cost is almost 4 times lower. The origin of the improvement is in dramatically shorter startup times, which in turn come from using the functional form of bean definitions in the application. Josh made a video about functional bean registration a while ago if you need an introduction (it’s on YouTube). Now let’s have a closer look at how it works in Spring Cloud Function.
How Welcoming is the Spring Community for Apprentice Developers? A Recent Survey Says We Can Do Better.
Just starting your dev career? Check out this last report on the JVM ecosystem. Simon Maple, Andrew Binstock, and many others have done developers of all skill levels a great service with this data.
<@snyksec>Mirror mirror on the wall, which is the most popular Java web framework of them all?— Simon Maple (@sjmaple) October 19, 2018
<Mirror> We live in a Spring-world. In fact, the average application is more likely to use Spring than not! 54% of apps use Spring Boot/Spring MVC/JHipster.https://t.co/2dkjt6xauK pic.twitter.com/KcMYWew6Jk
Hi Spring fans! Welcome to another installment of This Week in Spring! This week I’m in Toronto, Canada, where I’ve been speaking to customers and at a meetup, then it’s off to St. Petersburg, Russia for the epic Joker conf 2018. As usual, we’ve got a ton to cover so let’s get to it!
- Check out this new version of the legendary Spring Petclinic, based on the new Spring Data JDBC
- Spring Security OAuth 2.3.4, 2.2.3, 2.1.3, 2.0.16 Released
- Rossen Stoyanchev has just announced the publication, and resolution for, two CVEs affecting Spring - READ THIS!
- Spring Boot 2.0.6
- Spring Session Apple SR6 Released
- Spring Security 5.1.1, 5.0.9, and 4.2.9 Released
- Spring Boot 1.5.17
- Some nice posts here for the Spanish-language readers
- Spring Data Lovelace SR1, Kay SR11, and Ingalls SR16 released
- Spring Framework 5.1.1, 5.0.10 and 4.3.20 available now
- Juergen Hoeller, Pivotal—Current and Future State of Java, SpringOne Platform 2018
- Nice whitepaper by Uli Homann, Distinguished Architect, Microsoft and Josh McKenty, Vice President & Field CTO, Pivotal on cloud flexibility
- Jakub Pilimon put together a nice look at how Spring supports CQRS
- Wow! The Spring Boot project has almost 500 contributors!
- I love Richard Seroter’s recent series on all the things you may not have been aware that Cloud Foundry could run
- Thymeleaf Spring Security integration 3.0.3 (with Spring Security 5 + WebFlux support)
- Are you interested in presenting? Bruno Souza, a legend in his own right, and I had a discussion on how to help people present. It’s a bit meta. I hope it’s useful. I would love to be made irrelevant :) The more people out there helping disseminate good, sound technology practice, the better! Want to give a talk? Do it! You know I’m always happy to support such initiatives, right? My DM’s are open!
- Want to build upon the stack being used to power one of the largest e-commerce engines on the planet, Alibaba? They’re using Spring Cloud! They’ve even adapted and open-sourced their proprietary infrastructure into a project called Nacos, which they introduce here
- There’s also some really compelling new stuff in store for Flyway in the new Spring Boot! Check it out!
- Whew! Some good stuff coming to Spring Cloud Contract via this massive PR to Rest Assured submitted by the Spring Cloud Contract ninja Olga Maciaszek-Sharma
- Nice Spanish-language post on building CRUD and REST applications with Kotlin and Spring Boot
- I did an interview that has been translated into Russian - check it out!
- There is a ton of Spring-related content to come out of this Microsoft Ignite 2018 event - check it out!
- The Livelessons videos that Spring Security lead Rob Winch and I put together are coming soon! Check this page on Oct 25, 2018.
- Christoph Nahr has put together a nice post that, while not strictly speaking about Spring, will certainly serve the Spring user quite well: it looks at what’s been removed in Java 11 (which, of course, you are already using, right?)
- The Okta Developer blog features a new post on build a mobile app with React Native and Spring Boot - check it out!
- This isn’t, strictly speaking, a Spring related post but it’s interesting: how to build Java runtime for non-modular applications using
jlinkin Java 9+.
- This post - on projections with Spring Data JPA - is quite handy / thoughtful. Check it out!
- Want to learn about reactive programming? Check out the code and slides to Rob Winch’s epic Intro to Reactive Programming
The following CVEs have been published today:
- CVE-2018-15756 for Spring Framework 5.1.1, 5.0.10, and 4.3.20.
- CVE-2018-15758 for Spring Security OAuth 2.3.4, 2.2.3, 2.1.3, and 2.0.16.
Please, review the information, including affected project versions, in the CVE reports and upgrade immediately.
Bienvenidos a todos a la segunda edición de Spring Noticias en Español!!
Para esta edición, aquí tienes unos artículos muy interesantes:
Este artículo (en dos partes!) combina dos amores míos: Spring Boot y Kotlin! Otra tutorial excelente por Profesor P sobre crear una aplicación CRUD con REST en Kotlin y Spring Boot:
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:
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!
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!
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.
Today, I am proud to announce a new experimental project: Spring Fu. It is a @Kotlin micro-framework that makes it easy to create lightweight Spring-powered applications with functional APIs instead of annotations. We are looking for feedback. https://t.co/R15wJ1gD8K pic.twitter.com/ScljoPZ8rW— Sébastien Deleuze (@sdeleuze) June 8, 2018