This Week in Spring - May 30th, 2023

Engineering | Josh Long | May 30, 2023 | ...

Hi, Spring fans! Welcome to another installment of This Week in Spring! This installment I write on the day of my daughter's High School graduation, an auspicious day indeed! There's a lot to get through this week, though, and I have a graduation to get to, so let's dive right in!

Spring Authorization Server is on Spring Initializr!

Engineering | Steve Riesenberg | May 24, 2023 | ...

Today, I'm excited to announce that you have a new superpower: creating applications with Spring Authorization Server on Spring Initializr!

That's right, it's time to begin your OAuth2 journey and become the hero you always knew you could be! In this post, I'll explain how you can get the most from your new superpower and where to go to learn more.

What is Spring Authorization Server?

Spring Authorization Server is an open-source framework built on top of Spring Security that allows you to create your own standards-based OAuth2 Authorization Server or OpenID Connect Provider. It implements…

Unleash Spring apps in a flex environment with Azure Spring Apps Consumption and Dedicated plans

Engineering | Josh Long | May 23, 2023 | ...

In March, we introduced the Consumption pricing plan for Azure Spring Apps allowing you to start from zero and scale to zero vCPU. Today, we are thrilled to announce the public preview of the Standard Dedicated plan! The Standard Dedicated plan provides a fully managed, dedicated environment for running Spring applications on Azure. This plan offers you customizable compute options (including memory-optimized), single tenancy, and high availability to help you achieve price predictability, cost savings, and performance for running Spring applications at scale.

In 2019, Microsoft and Pivotal (now VMware) announced Azure Spring Apps, a fully managed service for Spring apps. We set out to solve many of the common challenges enterprise developers face when running Spring apps at scale. The service manages dynamic scaling, security patching, out-of-the-box instrumentation for monitoring, and more so developers can focus on their apps. Since then, we’ve worked with many customers including Bosch, Digital Realty, FedEx, Kroger, Liantis, Morgan Stanley, National Life, Raley's, and Swiss Re

This Week in Spring - May 23rd, 2023

Engineering | Josh Long | May 23, 2023 | ...

Hi, Spring fans! Welcome to another installment of This Week in Spring! It's May 23rd and, famously, nothing major has happened in the last week OH WAIT WE RELEASED SPRING BOOT 3.1! Have you checked it out yet? It's dope. I did a Spring Tips installment looking at some of its features here that you might like.

Friends, we've got a ton of stuff to get into this week, so let's dive right into it!

This Week in Spring - May 16th 2023

Engineering | Josh Long | May 16, 2023 | ...

My friends, Spring Boot 3.1 is nearly upon us! It drops on 18 May, in just a few short days! There are a ton of amazing features in this new release and I hope you're already trying it out (you know where). Here are some of my favorite features:

  • Built in Docker Compose support - Have a docker-compose.yml in your project root? Add spring-boot-docker-compose as developmentOnly scope in Gradle or optinal in Maven and Spring Boot will automatically run it for you on startup and shut it down on application shutdown. Here's an example
  • Built in Testcontainers support - You know Spring Boot has first class support for Testcontainers in our unit testing framework. Perhaps you've used the @DynamicPropertySource mechanism to configure the environment based on Testcontainer containers? - but this new release makes things even better. Define a test-code only main(String []) method and then forward it to your production code main(String [] args) methods. You can point that test-code only main class to new @Configuration classes, which may in turn have Testcontainer connections defined. Run that test-code only main

Spring Framework Reference Documentation Update

Engineering | Rossen Stoyanchev | May 11, 2023 | ...

Starting with version 6.0.9, the Spring Framework reference documentation site is generated with Antora. This is a big change that brings many improvements. This blog post provides context around that.

Overview

For a long time the Spring Framework reference documentation had two versions, one single page, and one multipage. The single page was very large but often preferred for the ability to search with Ctrl+F. The multipage provided structure, but it was difficult to navigate and search. See for example the single and multiple versions from 4.3.x.

In 5.0 we switched to a single version that split the documentation into several high-level sections as a kind of middle ground between the single and the multipage versions. You could still use Ctrl+F within a section, while the content one any one of those pages wasn't as large as the full documentation. In this version we also added left-hand side navigation to make it easy to navigate the content. See example

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